Make wxPreferencesEditor::Show() virtual.
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
This commit is contained in:
@@ -98,7 +98,7 @@ public:
|
|||||||
// Show the preferences dialog or bring it to the top if it's already
|
// 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
|
// 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.
|
// 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
|
// Hide the currently shown dialog, if any. This doesn't do anything on the
|
||||||
// platforms using modal preferences dialogs but should be called to
|
// platforms using modal preferences dialogs but should be called to
|
||||||
|
@@ -77,7 +77,7 @@ public:
|
|||||||
@param parent The window that invokes the preferences.
|
@param parent The window that invokes the preferences.
|
||||||
Call Dismiss() before it's destroyed.
|
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.
|
||||||
|
Reference in New Issue
Block a user