1
1
// /////////////////////////////////////////////////////////////////////////
2
- // C++ code generated with wxFormBuilder (version Apr 1 2019)
2
+ // C++ code generated with wxFormBuilder (version Mar 28 2019)
3
3
// http://www.wxformbuilder.org/
4
4
//
5
5
// PLEASE DO *NOT* EDIT THIS FILE!
@@ -743,6 +743,26 @@ InternetRetrievalDialogBase::InternetRetrievalDialogBase( wxWindow* parent, wxWi
743
743
wxStaticBoxSizer* sbSizer121;
744
744
sbSizer121 = new wxStaticBoxSizer ( new wxStaticBox ( m_panel8, wxID_ANY, _ (" Regions" ) ), wxVERTICAL );
745
745
746
+ wxFlexGridSizer* fgSizer69;
747
+ fgSizer69 = new wxFlexGridSizer ( 0 , 1 , 0 , 0 );
748
+ fgSizer69->AddGrowableCol ( 0 );
749
+ fgSizer69->AddGrowableRow ( 0 );
750
+ fgSizer69->SetFlexibleDirection ( wxBOTH );
751
+ fgSizer69->SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED );
752
+
753
+ wxFlexGridSizer* fgSizer281;
754
+ fgSizer281 = new wxFlexGridSizer ( 0 , 1 , 0 , 0 );
755
+ fgSizer281->AddGrowableCol ( 0 );
756
+ fgSizer281->AddGrowableRow ( 0 );
757
+ fgSizer281->SetFlexibleDirection ( wxBOTH );
758
+ fgSizer281->SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED );
759
+
760
+ fgSizer281->SetMinSize ( wxSize ( -1 ,0 ) );
761
+ m_lRegions = new wxListBox ( sbSizer121->GetStaticBox (), wxID_ANY, wxDefaultPosition, wxSize ( -1 ,-1 ), 0 , NULL , wxLB_EXTENDED );
762
+ m_lRegions->SetMinSize ( wxSize ( -1 ,0 ) );
763
+
764
+ fgSizer281->Add ( m_lRegions, 0 , wxALL|wxEXPAND, 5 );
765
+
746
766
wxFlexGridSizer* fgSizer291;
747
767
fgSizer291 = new wxFlexGridSizer ( 0 , 2 , 0 , 0 );
748
768
fgSizer291->SetFlexibleDirection ( wxBOTH );
@@ -755,20 +775,18 @@ InternetRetrievalDialogBase::InternetRetrievalDialogBase( wxWindow* parent, wxWi
755
775
fgSizer291->Add ( m_bNoRegions, 0 , wxALL, 5 );
756
776
757
777
758
- sbSizer121 ->Add ( fgSizer291, 1 , 0 , 5 );
778
+ fgSizer281 ->Add ( fgSizer291, 1 , 0 , 5 );
759
779
760
- wxFlexGridSizer* fgSizer281;
761
- fgSizer281 = new wxFlexGridSizer ( 0 , 1 , 0 , 0 );
762
- fgSizer281->AddGrowableCol ( 0 );
763
- fgSizer281->AddGrowableRow ( 0 );
764
- fgSizer281->SetFlexibleDirection ( wxBOTH );
765
- fgSizer281->SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED );
766
780
767
- m_lRegions = new wxListBox ( sbSizer121->GetStaticBox (), wxID_ANY, wxDefaultPosition, wxSize ( -1 ,-1 ), 0 , NULL , wxLB_EXTENDED );
768
- fgSizer281->Add ( m_lRegions, 0 , wxALL|wxEXPAND, 5 );
781
+ fgSizer69->Add ( fgSizer281, 2 , wxEXPAND, 5 );
769
782
783
+ m_bClose = new wxButton ( sbSizer121->GetStaticBox (), wxID_ANY, _ (" Close" ), wxDefaultPosition, wxSize ( -1 ,-1 ), 0 );
784
+ m_bClose->SetMinSize ( wxSize ( -1 ,30 ) );
770
785
771
- sbSizer121->Add ( fgSizer281, 2 , wxEXPAND, 5 );
786
+ fgSizer69->Add ( m_bClose, 0 , wxALIGN_RIGHT|wxALL, 5 );
787
+
788
+
789
+ sbSizer121->Add ( fgSizer69, 1 , wxEXPAND, 5 );
772
790
773
791
774
792
fgSizer42->Add ( sbSizer121, 1 , wxEXPAND, 5 );
@@ -803,9 +821,10 @@ InternetRetrievalDialogBase::InternetRetrievalDialogBase( wxWindow* parent, wxWi
803
821
m_bAllServers->Connect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnAllServers ), NULL , this );
804
822
m_bNoServers->Connect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnNoServers ), NULL , this );
805
823
m_lServers->Connect ( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnFilterServers ), NULL , this );
824
+ m_lRegions->Connect ( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnFilterRegions ), NULL , this );
806
825
m_bAllRegions->Connect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnAllRegions ), NULL , this );
807
826
m_bNoRegions->Connect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnNoRegions ), NULL , this );
808
- m_lRegions ->Connect ( wxEVT_COMMAND_LISTBOX_SELECTED , wxCommandEventHandler ( InternetRetrievalDialogBase::OnFilterRegions ), NULL , this );
827
+ m_bClose ->Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( InternetRetrievalDialogBase::OnClose ), NULL , this );
809
828
}
810
829
811
830
InternetRetrievalDialogBase::~InternetRetrievalDialogBase ()
@@ -826,9 +845,10 @@ InternetRetrievalDialogBase::~InternetRetrievalDialogBase()
826
845
m_bAllServers->Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnAllServers ), NULL , this );
827
846
m_bNoServers->Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnNoServers ), NULL , this );
828
847
m_lServers->Disconnect ( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnFilterServers ), NULL , this );
848
+ m_lRegions->Disconnect ( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnFilterRegions ), NULL , this );
829
849
m_bAllRegions->Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnAllRegions ), NULL , this );
830
850
m_bNoRegions->Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler ( InternetRetrievalDialogBase::OnNoRegions ), NULL , this );
831
- m_lRegions ->Disconnect ( wxEVT_COMMAND_LISTBOX_SELECTED , wxCommandEventHandler ( InternetRetrievalDialogBase::OnFilterRegions ), NULL , this );
851
+ m_bClose ->Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( InternetRetrievalDialogBase::OnClose ), NULL , this );
832
852
833
853
}
834
854
0 commit comments