This allows derived classes to override it to do something before/after
showing the dialog, which can be useful on the platforms where modal dialogs
are used for wxPreferencesEditor implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74008
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Show the preferences dialog or bring it to the top if it's already
// shown. Notice that this method may or may not block depending on the
// platform, i.e. depending on whether the dialog is modal or not.
// Show the preferences dialog or bring it to the top if it's already
// shown. Notice that this method may or may not block depending on the
// platform, i.e. depending on whether the dialog is modal or not.
- void Show(wxWindow* parent);
+ virtual void Show(wxWindow* parent);
// Hide the currently shown dialog, if any. This doesn't do anything on the
// platforms using modal preferences dialogs but should be called to
// Hide the currently shown dialog, if any. This doesn't do anything on the
// platforms using modal preferences dialogs but should be called to
@param parent The window that invokes the preferences.
Call Dismiss() before it's destroyed.
*/
@param parent The window that invokes the preferences.
Call Dismiss() before it's destroyed.
*/
- void Show(wxWindow* parent);
+ virtual void Show(wxWindow* parent);
/**
Hide the currently shown dialog, if any.
/**
Hide the currently shown dialog, if any.