#else
#include "wx/generic/collpaneg.h"
- // use a typedef and not a #define to avoid problems with XRC forward declarations
- typedef wxGenericCollapsiblePane wxCollapsiblePane;
+ // use #define and not a typedef to allow forward declaring the class
+ #define wxCollapsiblePane wxGenericCollapsiblePane
#endif
-#endif // wxUSE_COLLPANE
+#endif // wxUSE_COLLPANE
-#endif
- // _WX_COLLAPSABLE_PANE_H_BASE_
+#endif // _WX_COLLAPSABLE_PANE_H_BASE_
#if wxUSE_XRC && wxUSE_COLLPANE
-#include "wx/collpane.h"
+class WXDLLIMPEXP_ADV wxCollapsiblePane;
class WXDLLIMPEXP_XRC wxCollapsiblePaneXmlHandler : public wxXmlResourceHandler
{
- DECLARE_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler)
-
public:
wxCollapsiblePaneXmlHandler();
virtual wxObject *DoCreateResource();
private:
bool m_isInside;
wxCollapsiblePane *m_collpane;
+
+ DECLARE_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler)
};
#endif // wxUSE_XRC && wxUSE_COLLPANE
#if wxUSE_XRC && wxUSE_COLLPANE
+#ifndef WX_PRECOMP
+ #include "wx/log.h"
+#endif
+
+#include "wx/collpane.h"
#include "wx/xrc/xh_collpane.h"
-#include "wx/log.h"
IMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler, wxXmlResourceHandler)