xh_auinotbk.h 943 B

1234567891011121314151617181920212223242526272829303132333435
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/xrc/xh_auinotbk.h
  3. // Purpose: XML resource handler for wxAuiNotebook
  4. // Author: Steve Lamerton
  5. // Created: 2009-06-12
  6. // Copyright: (c) 2009 Steve Lamerton
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_XRC_XH_AUINOTEBOOK_H_
  10. #define _WX_XRC_XH_AUINOTEBOOK_H_
  11. #include "wx/xrc/xmlres.h"
  12. class WXDLLIMPEXP_FWD_AUI wxAuiNotebook;
  13. #if wxUSE_XRC && wxUSE_AUI
  14. class WXDLLIMPEXP_AUI wxAuiNotebookXmlHandler : public wxXmlResourceHandler
  15. {
  16. public:
  17. wxAuiNotebookXmlHandler();
  18. virtual wxObject *DoCreateResource();
  19. virtual bool CanHandle(wxXmlNode *node);
  20. private:
  21. bool m_isInside;
  22. wxAuiNotebook *m_notebook;
  23. wxDECLARE_DYNAMIC_CLASS(wxAuiNotebookXmlHandler);
  24. };
  25. #endif // wxUSE_XRC && wxUSE_AUI
  26. #endif // _WX_XRC_XH_AUINOTEBOOK_H_