]> git.saurik.com Git - wxWidgets.git/blame - include/wx/private/preferences.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / private / preferences.h
CommitLineData
2aab96f5
VS
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/private/preferences.h
3// Purpose: wxPreferencesEditorImpl declaration.
4// Author: Vaclav Slavik
5// Created: 2013-02-19
2aab96f5
VS
6// Copyright: (c) 2013 Vaclav Slavik <vslavik@fastmail.fm>
7// Licence: wxWindows licence
8///////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_PRIVATE_PREFERENCES_H_
11#define _WX_PRIVATE_PREFERENCES_H_
12
13#include "wx/preferences.h"
14
15#if wxUSE_TOOLBAR && defined(__WXOSX_COCOA__) && wxOSX_USE_NATIVE_TOOLBAR
16 #define wxHAS_PREF_EDITOR_NATIVE
17#endif
18
2aab96f5
VS
19// ----------------------------------------------------------------------------
20// wxPreferencesEditorImpl: defines wxPreferencesEditor implementation.
21// ----------------------------------------------------------------------------
22
23class wxPreferencesEditorImpl
24{
25public:
26 // This is implemented in a platform-specific way.
654c4b7b 27 static wxPreferencesEditorImpl* Create(const wxString& title);
2aab96f5
VS
28
29 // These methods simply mirror the public wxPreferencesEditor ones.
30 virtual void AddPage(wxPreferencesPage* page) = 0;
31 virtual void Show(wxWindow* parent) = 0;
32 virtual void Dismiss() = 0;
33
34 virtual ~wxPreferencesEditorImpl() {}
35
36protected:
37 wxPreferencesEditorImpl() {}
38};
39
40#endif // _WX_PRIVATE_PREFERENCES_H_