]>
git.saurik.com Git - wxWidgets.git/blob - src/common/preferencescmn.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/preferencescmn.cpp
3 // Purpose: wxPreferencesEditor implementation common to all platforms.
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2013 Vaclav Slavik <vslavik@fastmail.fm>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 // ============================================================================
13 // ============================================================================
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
19 // for compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
26 #include "wx/private/preferences.h"
29 // ============================================================================
31 // ============================================================================
33 wxString
wxStockPreferencesPage::GetName() const
42 return wxString(); // silence compiler warning
45 wxPreferencesEditor::wxPreferencesEditor()
46 : m_impl(wxPreferencesEditorImpl::Create())
50 wxPreferencesEditor::~wxPreferencesEditor()
55 void wxPreferencesEditor::AddPage(wxPreferencesPage
* page
)
57 wxCHECK_RET( page
, "can't set NULL page" );
58 m_impl
->AddPage(page
);
61 void wxPreferencesEditor::Show(wxWindow
* parent
)
66 void wxPreferencesEditor::Dismiss()