27 const wxString& aTitle ) :
28 DIALOG_SHIM( aParent, wxID_ANY, aTitle, wxDefaultPosition, wxDefaultSize,
29 wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER ),
30 m_GlobalTableChanged( false ),
31 m_ProjectTableChanged( false ),
33 m_contentPanel( nullptr )
44 auto mainSizer =
new wxBoxSizer( wxVERTICAL );
45 SetSizer( mainSizer );
48 mainSizer->Add(
m_infoBar, 0, wxEXPAND, 0 );
50 mainSizer->Add(
m_contentPanel, 1, wxEXPAND|wxLEFT|wxTOP|wxRIGHT, 5 );
53 auto sdbSizer =
new wxStdDialogButtonSizer();
54 auto sdbSizerOK =
new wxButton(
this, wxID_OK );
55 sdbSizer->AddButton( sdbSizerOK );
56 auto sdbSizerCancel =
new wxButton(
this, wxID_CANCEL );
57 sdbSizer->AddButton( sdbSizerCancel );
60 mainSizer->Add( sdbSizer, 0, wxALL|wxEXPAND, 5 );
DIALOG_EDIT_LIBRARY_TABLES(wxWindow *aParent, const wxString &aTitle)
bool TransferDataToWindow() override
void InstallPanel(wxPanel *aPanel)
bool TransferDataFromWindow() override
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
A modified version of the wxInfoBar class that allows us to: