6 #ifndef CONFIGURATIONPANEL_H 7 #define CONFIGURATIONPANEL_H 26 virtual wxString GetTitle()
const = 0;
28 virtual wxString GetBitmapBaseName()
const = 0;
30 virtual void OnApply() = 0;
32 virtual void OnCancel() = 0;
37 m_parentDialog = dialog;
42 return m_parentDialog;
74 #endif // CONFIGURATIONPANEL_H A simple dialog that wraps a cbConfigurationPanel.
wxWindow * SetParentDialog()
Gets the panel's parent dialog.
void EndModal(int retCode)
cbConfigurationPanel * m_pPanel
~cbConfigurationPanel() override
wxWindow * m_parentDialog
Base class for plugin configuration panels.
int cbMessageBox(const wxString &message, const wxString &caption=wxEmptyString, int style=wxOK, wxWindow *parent=NULL, int x=-1, int y=-1)
Call global cbMessageBox with m_parentDialog as parent window when no parent window specified...
void SetParentDialog(wxWindow *dialog)
Sets the panel's parent dialog.
DLLIMPORT int cbMessageBox(const wxString &message, const wxString &caption=wxEmptyString, int style=wxOK, wxWindow *parent=NULL, int x=-1, int y=-1)
wxMessageBox wrapper.