27 const wxString& aTitle ) :
28 DIALOG_SHIM( aParent, wxID_ANY, aTitle, wxDefaultPosition, wxDefaultSize,
29 wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER ),
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 );
bool m_ProjectTableChanged
DIALOG_EDIT_LIBRARY_TABLES(wxWindow *aParent, const wxString &aTitle)
bool TransferDataToWindow() override
void InstallPanel(wxPanel *aPanel)
bool TransferDataFromWindow() override
bool m_GlobalTableChanged
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...
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
A modified version of the wxInfoBar class that allows us to: