Allow to specify the title used by wxPreferencesEditor window.

Customize the title is useful for "Settings"-style windows which are used for
editing the properties of the given object, that should be identified in the
window title, as opposed to the global program preferences.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-05-16 14:42:56 +00:00
parent f3c0bcfab0
commit 654c4b7b14
6 changed files with 60 additions and 20 deletions

View File

@@ -38,8 +38,13 @@ public:
Constructor.
Creates an empty editor, use AddPage() to add controls to it.
@param title The title overriding the default title of the top level
window used by the editor. It is recommended to not specify this
parameter to use the native convention for the preferences dialogs
instead.
*/
wxPreferencesEditor();
wxPreferencesEditor(const wxString& title = wxString());
/**
Destructor.