You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.6 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version Oct 26 2018)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #include "dialog_constraints_reporter_base.h"
  8. ///////////////////////////////////////////////////////////////////////////
  9. DIALOG_CONSTRAINTS_REPORTER_BASE::DIALOG_CONSTRAINTS_REPORTER_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
  10. {
  11. this->SetSizeHints( wxDefaultSize, wxDefaultSize );
  12. wxBoxSizer* bMainSizer;
  13. bMainSizer = new wxBoxSizer( wxVERTICAL );
  14. m_notebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), 0 );
  15. m_notebook->SetMinSize( wxSize( 550,480 ) );
  16. bMainSizer->Add( m_notebook, 1, wxEXPAND|wxRIGHT|wxLEFT, 10 );
  17. m_sdbSizer = new wxStdDialogButtonSizer();
  18. m_sdbSizerOK = new wxButton( this, wxID_OK );
  19. m_sdbSizer->AddButton( m_sdbSizerOK );
  20. m_sdbSizer->Realize();
  21. bMainSizer->Add( m_sdbSizer, 0, wxEXPAND|wxALL, 5 );
  22. this->SetSizer( bMainSizer );
  23. this->Layout();
  24. bMainSizer->Fit( this );
  25. this->Centre( wxBOTH );
  26. // Connect Events
  27. m_sdbSizerOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_CONSTRAINTS_REPORTER_BASE::OnOK ), NULL, this );
  28. }
  29. DIALOG_CONSTRAINTS_REPORTER_BASE::~DIALOG_CONSTRAINTS_REPORTER_BASE()
  30. {
  31. // Disconnect Events
  32. m_sdbSizerOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_CONSTRAINTS_REPORTER_BASE::OnOK ), NULL, this );
  33. }