00001
00002
00003
00004
00005
00007
00008 #include "rviz_generated.h"
00009
00011
00012 DisplaysPanelGenerated::DisplaysPanelGenerated( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
00013 {
00014 wxBoxSizer* bSizer8;
00015 bSizer8 = new wxBoxSizer( wxVERTICAL );
00016
00017 properties_panel_ = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
00018 properties_panel_sizer_ = new wxBoxSizer( wxVERTICAL );
00019
00020 properties_panel_->SetSizer( properties_panel_sizer_ );
00021 properties_panel_->Layout();
00022 properties_panel_sizer_->Fit( properties_panel_ );
00023 bSizer8->Add( properties_panel_, 1, wxEXPAND, 5 );
00024
00025 wxStaticBoxSizer* sbSizer3;
00026 sbSizer3 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxEmptyString ), wxVERTICAL );
00027
00028 help_html_ = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
00029 help_html_->SetBackgroundColour( wxColour( 239, 235, 231 ) );
00030 help_html_->SetMinSize( wxSize( -1,100 ) );
00031
00032 sbSizer3->Add( help_html_, 1, wxALL|wxEXPAND, 5 );
00033
00034 bSizer8->Add( sbSizer3, 0, wxEXPAND, 5 );
00035
00036 wxBoxSizer* bSizer7;
00037 bSizer7 = new wxBoxSizer( wxHORIZONTAL );
00038
00039 new_display_ = new wxButton( this, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
00040 new_display_->SetToolTip( wxT("Add a new display") );
00041
00042 bSizer7->Add( new_display_, 0, wxALL, 5 );
00043
00044 delete_display_ = new wxButton( this, wxID_ANY, wxT("Remove"), wxDefaultPosition, wxDefaultSize, 0 );
00045 delete_display_->SetToolTip( wxT("Remove the selected display") );
00046
00047 bSizer7->Add( delete_display_, 0, wxALL, 5 );
00048
00049 manage_ = new wxButton( this, wxID_ANY, wxT("Manage..."), wxDefaultPosition, wxDefaultSize, 0 );
00050 bSizer7->Add( manage_, 0, wxALL, 5 );
00051
00052 bSizer8->Add( bSizer7, 0, wxEXPAND, 5 );
00053
00054 this->SetSizer( bSizer8 );
00055 this->Layout();
00056
00057
00058 new_display_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DisplaysPanelGenerated::onNewDisplay ), NULL, this );
00059 delete_display_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DisplaysPanelGenerated::onDeleteDisplay ), NULL, this );
00060 manage_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DisplaysPanelGenerated::onManage ), NULL, this );
00061 }
00062
00063 DisplaysPanelGenerated::~DisplaysPanelGenerated()
00064 {
00065
00066 new_display_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DisplaysPanelGenerated::onNewDisplay ), NULL, this );
00067 delete_display_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DisplaysPanelGenerated::onDeleteDisplay ), NULL, this );
00068 manage_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DisplaysPanelGenerated::onManage ), NULL, this );
00069
00070 }
00071
00072 NewDisplayDialogGenerated::NewDisplayDialogGenerated( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
00073 {
00074 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
00075
00076 wxBoxSizer* bSizer8;
00077 bSizer8 = new wxBoxSizer( wxVERTICAL );
00078
00079 wxStaticBoxSizer* sbSizer1;
00080 sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Display Type") ), wxVERTICAL );
00081
00082 types_ = new wxTreeCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxTR_HIDE_ROOT|wxTR_SINGLE );
00083 sbSizer1->Add( types_, 1, wxALL|wxEXPAND, 5 );
00084
00085 m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Description:"), wxDefaultPosition, wxDefaultSize, 0 );
00086 m_staticText2->Wrap( -1 );
00087 sbSizer1->Add( m_staticText2, 0, wxALL, 5 );
00088
00089 type_description_ = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
00090 type_description_->SetMinSize( wxSize( -1,100 ) );
00091
00092 sbSizer1->Add( type_description_, 0, wxALL|wxEXPAND, 5 );
00093
00094 bSizer8->Add( sbSizer1, 1, wxEXPAND, 5 );
00095
00096 wxStaticBoxSizer* sbSizer2;
00097 sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, wxT("Display Name") ), wxVERTICAL );
00098
00099 name_ = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
00100 sbSizer2->Add( name_, 0, wxALL|wxEXPAND, 5 );
00101
00102 bSizer8->Add( sbSizer2, 0, wxEXPAND, 5 );
00103
00104 m_sdbSizer1 = new wxStdDialogButtonSizer();
00105 m_sdbSizer1OK = new wxButton( this, wxID_OK );
00106 m_sdbSizer1->AddButton( m_sdbSizer1OK );
00107 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
00108 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
00109 m_sdbSizer1->Realize();
00110 bSizer8->Add( m_sdbSizer1, 0, wxEXPAND, 5 );
00111
00112 this->SetSizer( bSizer8 );
00113 this->Layout();
00114
00115
00116 types_->Connect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( NewDisplayDialogGenerated::onDisplayDClick ), NULL, this );
00117 types_->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( NewDisplayDialogGenerated::onDisplaySelected ), NULL, this );
00118 name_->Connect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( NewDisplayDialogGenerated::onNameEnter ), NULL, this );
00119 m_sdbSizer1Cancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewDisplayDialogGenerated::onCancel ), NULL, this );
00120 m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewDisplayDialogGenerated::onOK ), NULL, this );
00121 }
00122
00123 NewDisplayDialogGenerated::~NewDisplayDialogGenerated()
00124 {
00125
00126 types_->Disconnect( wxEVT_LEFT_DCLICK, wxMouseEventHandler( NewDisplayDialogGenerated::onDisplayDClick ), NULL, this );
00127 types_->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( NewDisplayDialogGenerated::onDisplaySelected ), NULL, this );
00128 name_->Disconnect( wxEVT_COMMAND_TEXT_ENTER, wxCommandEventHandler( NewDisplayDialogGenerated::onNameEnter ), NULL, this );
00129 m_sdbSizer1Cancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewDisplayDialogGenerated::onCancel ), NULL, this );
00130 m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( NewDisplayDialogGenerated::onOK ), NULL, this );
00131
00132 }
00133
00134 ViewsPanelGenerated::ViewsPanelGenerated( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
00135 {
00136 wxBoxSizer* bSizer8;
00137 bSizer8 = new wxBoxSizer( wxVERTICAL );
00138
00139 wxArrayString camera_types_Choices;
00140 camera_types_ = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, camera_types_Choices, 0 );
00141 camera_types_->SetSelection( 0 );
00142 camera_types_->SetMinSize( wxSize( 150,-1 ) );
00143
00144 bSizer8->Add( camera_types_, 0, wxALL|wxEXPAND, 5 );
00145
00146 views_list_ = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_SINGLE );
00147 bSizer8->Add( views_list_, 1, wxALL|wxEXPAND, 5 );
00148
00149 wxBoxSizer* bSizer9;
00150 bSizer9 = new wxBoxSizer( wxHORIZONTAL );
00151
00152 save_button_ = new wxButton( this, wxID_ANY, wxT("Save Current"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
00153 bSizer9->Add( save_button_, 0, wxALL, 5 );
00154
00155 load_button_ = new wxButton( this, wxID_ANY, wxT("Load"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
00156 bSizer9->Add( load_button_, 0, wxALL, 5 );
00157
00158 delete_button_ = new wxButton( this, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
00159 bSizer9->Add( delete_button_, 0, wxALL, 5 );
00160
00161 bSizer8->Add( bSizer9, 0, wxEXPAND, 5 );
00162
00163 this->SetSizer( bSizer8 );
00164 this->Layout();
00165
00166
00167 camera_types_->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ViewsPanelGenerated::onCameraTypeSelected ), NULL, this );
00168 views_list_->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( ViewsPanelGenerated::onViewsClicked ), NULL, this );
00169 views_list_->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( ViewsPanelGenerated::onViewsDClicked ), NULL, this );
00170 save_button_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ViewsPanelGenerated::onSaveClicked ), NULL, this );
00171 load_button_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ViewsPanelGenerated::onLoadClicked ), NULL, this );
00172 delete_button_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ViewsPanelGenerated::onDeleteClicked ), NULL, this );
00173 }
00174
00175 ViewsPanelGenerated::~ViewsPanelGenerated()
00176 {
00177
00178 camera_types_->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( ViewsPanelGenerated::onCameraTypeSelected ), NULL, this );
00179 views_list_->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( ViewsPanelGenerated::onViewsClicked ), NULL, this );
00180 views_list_->Disconnect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( ViewsPanelGenerated::onViewsDClicked ), NULL, this );
00181 save_button_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ViewsPanelGenerated::onSaveClicked ), NULL, this );
00182 load_button_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ViewsPanelGenerated::onLoadClicked ), NULL, this );
00183 delete_button_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ViewsPanelGenerated::onDeleteClicked ), NULL, this );
00184
00185 }
00186
00187 TimePanelGenerated::TimePanelGenerated( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
00188 {
00189 wxBoxSizer* bSizer7;
00190 bSizer7 = new wxBoxSizer( wxHORIZONTAL );
00191
00192 wxBoxSizer* bSizer8;
00193 bSizer8 = new wxBoxSizer( wxHORIZONTAL );
00194
00195 m_staticText2 = new wxStaticText( this, wxID_ANY, wxT("Wall Time:"), wxDefaultPosition, wxDefaultSize, 0 );
00196 m_staticText2->Wrap( -1 );
00197 bSizer8->Add( m_staticText2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00198
00199 wall_time_ = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
00200 bSizer8->Add( wall_time_, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00201
00202 bSizer7->Add( bSizer8, 1, wxEXPAND, 5 );
00203
00204 wxBoxSizer* bSizer81;
00205 bSizer81 = new wxBoxSizer( wxHORIZONTAL );
00206
00207 m_staticText21 = new wxStaticText( this, wxID_ANY, wxT("Wall Elapsed:"), wxDefaultPosition, wxDefaultSize, 0 );
00208 m_staticText21->Wrap( -1 );
00209 bSizer81->Add( m_staticText21, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00210
00211 wall_elapsed_ = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
00212 bSizer81->Add( wall_elapsed_, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00213
00214 bSizer7->Add( bSizer81, 1, wxEXPAND, 5 );
00215
00216 wxBoxSizer* bSizer82;
00217 bSizer82 = new wxBoxSizer( wxHORIZONTAL );
00218
00219 m_staticText22 = new wxStaticText( this, wxID_ANY, wxT("ROS Time:"), wxDefaultPosition, wxDefaultSize, 0 );
00220 m_staticText22->Wrap( -1 );
00221 bSizer82->Add( m_staticText22, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00222
00223 ros_time_ = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
00224 bSizer82->Add( ros_time_, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00225
00226 bSizer7->Add( bSizer82, 1, wxEXPAND, 5 );
00227
00228 wxBoxSizer* bSizer83;
00229 bSizer83 = new wxBoxSizer( wxHORIZONTAL );
00230
00231 m_staticText23 = new wxStaticText( this, wxID_ANY, wxT("ROS Elapsed:"), wxDefaultPosition, wxDefaultSize, 0 );
00232 m_staticText23->Wrap( -1 );
00233 bSizer83->Add( m_staticText23, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00234
00235 ros_elapsed_ = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
00236 bSizer83->Add( ros_elapsed_, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00237
00238 bSizer7->Add( bSizer83, 1, wxEXPAND, 5 );
00239
00240 reset_button_ = new wxButton( this, wxID_ANY, wxT("Reset"), wxDefaultPosition, wxDefaultSize, 0 );
00241 reset_button_->SetToolTip( wxT("Reset Visualization Time (clears all data)") );
00242
00243 bSizer7->Add( reset_button_, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00244
00245 this->SetSizer( bSizer7 );
00246 this->Layout();
00247
00248
00249 reset_button_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TimePanelGenerated::onReset ), NULL, this );
00250 }
00251
00252 TimePanelGenerated::~TimePanelGenerated()
00253 {
00254
00255 reset_button_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( TimePanelGenerated::onReset ), NULL, this );
00256
00257 }
00258
00259 PluginManagerDialogGenerated::PluginManagerDialogGenerated( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
00260 {
00261 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
00262
00263 wxBoxSizer* bSizer12;
00264 bSizer12 = new wxBoxSizer( wxVERTICAL );
00265
00266 m_staticText9 = new wxStaticText( this, wxID_ANY, wxT("Plugins"), wxDefaultPosition, wxDefaultSize, 0 );
00267 m_staticText9->Wrap( -1 );
00268 m_staticText9->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), 70, 90, 92, false, wxEmptyString ) );
00269
00270 bSizer12->Add( m_staticText9, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
00271
00272 scrolled_window_ = new wxScrolledWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHSCROLL|wxVSCROLL );
00273 scrolled_window_->SetScrollRate( 5, 5 );
00274 wxBoxSizer* bSizer17;
00275 bSizer17 = new wxBoxSizer( wxVERTICAL );
00276
00277 plugins_sizer_ = new wxBoxSizer( wxVERTICAL );
00278
00279 bSizer17->Add( plugins_sizer_, 1, wxEXPAND, 5 );
00280
00281 scrolled_window_->SetSizer( bSizer17 );
00282 scrolled_window_->Layout();
00283 bSizer17->Fit( scrolled_window_ );
00284 bSizer12->Add( scrolled_window_, 1, wxEXPAND | wxALL, 5 );
00285
00286 m_sdbSizer2 = new wxStdDialogButtonSizer();
00287 m_sdbSizer2OK = new wxButton( this, wxID_OK );
00288 m_sdbSizer2->AddButton( m_sdbSizer2OK );
00289 m_sdbSizer2->Realize();
00290 bSizer12->Add( m_sdbSizer2, 0, wxEXPAND, 5 );
00291
00292 this->SetSizer( bSizer12 );
00293 this->Layout();
00294 }
00295
00296 PluginManagerDialogGenerated::~PluginManagerDialogGenerated()
00297 {
00298 }
00299
00300 WaitForMasterDialogGenerated::WaitForMasterDialogGenerated( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
00301 {
00302 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
00303
00304 wxBoxSizer* bSizer15;
00305 bSizer15 = new wxBoxSizer( wxVERTICAL );
00306
00307 text_ = new wxStaticText( this, wxID_ANY, wxT("Could not contact ROS master at [localhost:11311], trying again..."), wxDefaultPosition, wxDefaultSize, 0 );
00308 text_->Wrap( -1 );
00309 bSizer15->Add( text_, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
00310
00311 cancel_button_ = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
00312 cancel_button_->SetDefault();
00313 bSizer15->Add( cancel_button_, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
00314
00315 this->SetSizer( bSizer15 );
00316 this->Layout();
00317
00318 this->Centre( wxBOTH );
00319
00320
00321 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( WaitForMasterDialogGenerated::onClose ) );
00322 cancel_button_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WaitForMasterDialogGenerated::onCancel ), NULL, this );
00323 }
00324
00325 WaitForMasterDialogGenerated::~WaitForMasterDialogGenerated()
00326 {
00327
00328 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( WaitForMasterDialogGenerated::onClose ) );
00329 cancel_button_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( WaitForMasterDialogGenerated::onCancel ), NULL, this );
00330
00331 }
00332
00333 ManageDisplaysDialogGenerated::ManageDisplaysDialogGenerated( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
00334 {
00335 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
00336
00337 wxBoxSizer* bSizer16;
00338 bSizer16 = new wxBoxSizer( wxVERTICAL );
00339
00340 listbox_ = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
00341 bSizer16->Add( listbox_, 1, wxALL|wxEXPAND, 5 );
00342
00343 wxBoxSizer* bSizer18;
00344 bSizer18 = new wxBoxSizer( wxHORIZONTAL );
00345
00346 wxBoxSizer* bSizer17;
00347 bSizer17 = new wxBoxSizer( wxHORIZONTAL );
00348
00349 move_down_ = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
00350 bSizer17->Add( move_down_, 0, wxALL, 5 );
00351
00352 move_up_ = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW );
00353 bSizer17->Add( move_up_, 0, wxALL, 5 );
00354
00355 remove_ = new wxButton( this, wxID_ANY, wxT("Remove"), wxDefaultPosition, wxDefaultSize, 0 );
00356 bSizer17->Add( remove_, 0, wxALL, 5 );
00357
00358 remove_all_ = new wxButton( this, wxID_ANY, wxT("Remove All"), wxDefaultPosition, wxDefaultSize, 0 );
00359 bSizer17->Add( remove_all_, 0, wxALL, 5 );
00360
00361 rename_ = new wxButton( this, wxID_ANY, wxT("Rename..."), wxDefaultPosition, wxDefaultSize, 0 );
00362 bSizer17->Add( rename_, 0, wxALL, 5 );
00363
00364 bSizer18->Add( bSizer17, 0, wxEXPAND, 5 );
00365
00366 wxBoxSizer* bSizer19;
00367 bSizer19 = new wxBoxSizer( wxVERTICAL );
00368
00369 ok_ = new wxButton( this, wxID_ANY, wxT("OK"), wxDefaultPosition, wxDefaultSize, 0 );
00370 bSizer19->Add( ok_, 0, wxALL|wxALIGN_RIGHT, 5 );
00371
00372 bSizer18->Add( bSizer19, 1, wxEXPAND, 5 );
00373
00374 bSizer16->Add( bSizer18, 0, wxEXPAND, 5 );
00375
00376 this->SetSizer( bSizer16 );
00377 this->Layout();
00378
00379 this->Centre( wxBOTH );
00380
00381
00382 move_down_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onMoveDown ), NULL, this );
00383 move_up_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onMoveUp ), NULL, this );
00384 remove_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onRemove ), NULL, this );
00385 remove_all_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onRemoveAll ), NULL, this );
00386 rename_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onRename ), NULL, this );
00387 ok_->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onOK ), NULL, this );
00388 }
00389
00390 ManageDisplaysDialogGenerated::~ManageDisplaysDialogGenerated()
00391 {
00392
00393 move_down_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onMoveDown ), NULL, this );
00394 move_up_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onMoveUp ), NULL, this );
00395 remove_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onRemove ), NULL, this );
00396 remove_all_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onRemoveAll ), NULL, this );
00397 rename_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onRename ), NULL, this );
00398 ok_->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( ManageDisplaysDialogGenerated::onOK ), NULL, this );
00399
00400 }