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 ),
32 m_contentPanel( nullptr )
43 auto mainSizer =
new wxBoxSizer( wxVERTICAL );
44 SetSizer( mainSizer );
47 mainSizer->Add(
m_infoBar, 0, wxEXPAND, 0 );
49 mainSizer->Add(
m_contentPanel, 1, wxEXPAND|wxLEFT|wxTOP|wxRIGHT, 5 );
52 auto sdbSizer =
new wxStdDialogButtonSizer();
53 auto sdbSizerOK =
new wxButton(
this, wxID_OK );
54 sdbSizer->AddButton( sdbSizerOK );
55 auto sdbSizerCancel =
new wxButton(
this, wxID_CANCEL );
56 sdbSizer->AddButton( sdbSizerCancel );
59 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: