]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_notbk.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_notbk.h
CommitLineData
56d2f750 1/////////////////////////////////////////////////////////////////////////////
e8a793f0 2// Name: wx/xrc/xh_notbk.h
56d2f750
VS
3// Purpose: XML resource handler for wxNotebook
4// Author: Vaclav Slavik
56d2f750
VS
5// Copyright: (c) 2000 Vaclav Slavik
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9#ifndef _WX_XH_NOTBK_H_
10#define _WX_XH_NOTBK_H_
11
999d9a9f 12#include "wx/xrc/xmlres.h"
56d2f750 13
dd47af27 14#if wxUSE_XRC && wxUSE_NOTEBOOK
56d2f750 15
b5dbe15d 16class WXDLLIMPEXP_FWD_CORE wxNotebook;
56d2f750 17
30dc3455 18class WXDLLIMPEXP_XRC wxNotebookXmlHandler : public wxXmlResourceHandler
56d2f750 19{
dd47af27
VZ
20 DECLARE_DYNAMIC_CLASS(wxNotebookXmlHandler)
21
eb8671f2
VS
22public:
23 wxNotebookXmlHandler();
24 virtual wxObject *DoCreateResource();
25 virtual bool CanHandle(wxXmlNode *node);
26
27private:
28 bool m_isInside;
29 wxNotebook *m_notebook;
56d2f750
VS
30};
31
dd47af27 32#endif // wxUSE_XRC && wxUSE_NOTEBOOK
56d2f750
VS
33
34#endif // _WX_XH_NOTBK_H_