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

@@ -88,7 +88,7 @@ class WXDLLIMPEXP_CORE wxPreferencesEditor
{
public:
// Ctor creates an empty editor, use AddPage() to add controls to it.
wxPreferencesEditor();
wxPreferencesEditor(const wxString& title = wxString());
~wxPreferencesEditor();
// Add a new page to the editor. The editor takes ownership of the page