Added XRC handler for wxPropertySheetDialog (Sander Berents)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,5 +67,8 @@
|
||||
#include "wx/xrc/xh_bmpcbox.h"
|
||||
#include "wx/xrc/xh_animatctrl.h"
|
||||
#include "wx/xrc/xh_collpane.h"
|
||||
#if wxABI_VERSION >= 20805
|
||||
#include "wx/xrc/xh_propdlg.h"
|
||||
#endif
|
||||
|
||||
#endif // _WX_XH_ALL_H_
|
||||
|
36
include/wx/xrc/xh_propdlg.h
Normal file
36
include/wx/xrc/xh_propdlg.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/xrc/xh_propdlg.h
|
||||
// Purpose: XML resource handler for wxPropertySheetDialog
|
||||
// Author: Sander Berents
|
||||
// Created: 2007/07/12
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2007 Sander Berents
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_XH_PROPDLG_H_
|
||||
#define _WX_XH_PROPDLG_H_
|
||||
|
||||
#include "wx/xrc/xmlres.h"
|
||||
|
||||
#if wxUSE_XRC
|
||||
|
||||
class WXDLLEXPORT wxPropertySheetDialog;
|
||||
|
||||
class WXDLLIMPEXP_XRC wxPropertySheetDialogXmlHandler : public wxXmlResourceHandler
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxPropertySheetDialogXmlHandler)
|
||||
|
||||
public:
|
||||
wxPropertySheetDialogXmlHandler();
|
||||
virtual wxObject *DoCreateResource();
|
||||
virtual bool CanHandle(wxXmlNode *node);
|
||||
|
||||
private:
|
||||
bool m_isInside;
|
||||
wxPropertySheetDialog *m_dialog;
|
||||
};
|
||||
|
||||
#endif // wxUSE_XRC
|
||||
|
||||
#endif // _WX_XH_PROPDLG_H_
|
Reference in New Issue
Block a user