]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/private/preferences.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/private/preferences.h
3 // Purpose: wxPreferencesEditorImpl declaration.
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2013 Vaclav Slavik <vslavik@fastmail.fm>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_PRIVATE_PREFERENCES_H_
12 #define _WX_PRIVATE_PREFERENCES_H_
14 #include "wx/preferences.h"
16 #if wxUSE_TOOLBAR && defined(__WXOSX_COCOA__) && wxOSX_USE_NATIVE_TOOLBAR
17 #define wxHAS_PREF_EDITOR_NATIVE
20 // ----------------------------------------------------------------------------
21 // wxPreferencesEditorImpl: defines wxPreferencesEditor implementation.
22 // ----------------------------------------------------------------------------
24 class wxPreferencesEditorImpl
27 // This is implemented in a platform-specific way.
28 static wxPreferencesEditorImpl
* Create(const wxString
& title
);
30 // These methods simply mirror the public wxPreferencesEditor ones.
31 virtual void AddPage(wxPreferencesPage
* page
) = 0;
32 virtual void Show(wxWindow
* parent
) = 0;
33 virtual void Dismiss() = 0;
35 virtual ~wxPreferencesEditorImpl() {}
38 wxPreferencesEditorImpl() {}
41 #endif // _WX_PRIVATE_PREFERENCES_H_