// Purpose: wxPreferencesEditor implementation common to all platforms.
// Author: Vaclav Slavik
// Created: 2013-02-19
-// RCS-ID: $Id$
// Copyright: (c) 2013 Vaclav Slavik <vslavik@fastmail.fm>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#pragma hdrstop
#endif
+#if wxUSE_PREFERENCES_EDITOR
+
#include "wx/private/preferences.h"
#include "wx/intl.h"
return wxString(); // silence compiler warning
}
-wxPreferencesEditor::wxPreferencesEditor()
- : m_impl(wxPreferencesEditorImpl::Create())
+wxPreferencesEditor::wxPreferencesEditor(const wxString& title)
+ : m_impl(wxPreferencesEditorImpl::Create(title))
{
}
{
m_impl->Dismiss();
}
+
+#endif // wxUSE_PREFERENCES_EDITOR