xh_propdlg.h 935 B

1234567891011121314151617181920212223242526272829303132333435
  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. // Copyright: (c) 2007 Sander Berents
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_XH_PROPDLG_H_
  10. #define _WX_XH_PROPDLG_H_
  11. #include "wx/xrc/xmlres.h"
  12. #if wxUSE_XRC
  13. class WXDLLIMPEXP_FWD_ADV wxPropertySheetDialog;
  14. class WXDLLIMPEXP_XRC wxPropertySheetDialogXmlHandler : public wxXmlResourceHandler
  15. {
  16. DECLARE_DYNAMIC_CLASS(wxPropertySheetDialogXmlHandler)
  17. public:
  18. wxPropertySheetDialogXmlHandler();
  19. virtual wxObject *DoCreateResource();
  20. virtual bool CanHandle(wxXmlNode *node);
  21. private:
  22. bool m_isInside;
  23. wxPropertySheetDialog *m_dialog;
  24. };
  25. #endif // wxUSE_XRC
  26. #endif // _WX_XH_PROPDLG_H_