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.5 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #include "dialog_book_reporter_base.h"
  8. ///////////////////////////////////////////////////////////////////////////
  9. DIALOG_BOOK_REPORTER_BASE::DIALOG_BOOK_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|wxALL, 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. this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_BOOK_REPORTER_BASE::OnClose ) );
  28. }
  29. DIALOG_BOOK_REPORTER_BASE::~DIALOG_BOOK_REPORTER_BASE()
  30. {
  31. // Disconnect Events
  32. this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_BOOK_REPORTER_BASE::OnClose ) );
  33. }