]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/xrc/xh_propdlg.h
Allow wxPreferencesEditor::Dismiss() to work when using modal dialogs too.
[wxWidgets.git] / include / wx / xrc / xh_propdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/xrc/xh_propdlg.h
3// Purpose: XML resource handler for wxPropertySheetDialog
4// Author: Sander Berents
5// Created: 2007/07/12
6// RCS-ID: $Id$
7// Copyright: (c) 2007 Sander Berents
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_XH_PROPDLG_H_
12#define _WX_XH_PROPDLG_H_
13
14#include "wx/xrc/xmlres.h"
15
16#if wxUSE_XRC
17
18class WXDLLIMPEXP_FWD_ADV wxPropertySheetDialog;
19
20class WXDLLIMPEXP_XRC wxPropertySheetDialogXmlHandler : public wxXmlResourceHandler
21{
22 DECLARE_DYNAMIC_CLASS(wxPropertySheetDialogXmlHandler)
23
24public:
25 wxPropertySheetDialogXmlHandler();
26 virtual wxObject *DoCreateResource();
27 virtual bool CanHandle(wxXmlNode *node);
28
29private:
30 bool m_isInside;
31 wxPropertySheetDialog *m_dialog;
32};
33
34#endif // wxUSE_XRC
35
36#endif // _WX_XH_PROPDLG_H_