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:
parent
dc5d118e65
commit
eaa6958861
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ public:
|
|||
// 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
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ public:
|
|||
@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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue