]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_collpane.h
allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be...
[wxWidgets.git] / include / wx / xrc / xh_collpane.h
index b08b36821f009381032e3c6a3b1c9110e94802d2..be4b49f9959121cebf4619418d0187d7eb08e9bc 100644 (file)
 
 #if wxUSE_XRC && wxUSE_COLLPANE
 
-#include "wx/collpane.h"
+class WXDLLIMPEXP_FWD_CORE wxCollapsiblePane;
 
 class WXDLLIMPEXP_XRC wxCollapsiblePaneXmlHandler : public wxXmlResourceHandler
 {
-    DECLARE_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler)
-
 public:
     wxCollapsiblePaneXmlHandler();
     virtual wxObject *DoCreateResource();
@@ -29,6 +27,8 @@ public:
 private:
     bool m_isInside;
     wxCollapsiblePane *m_collpane;
+
+    DECLARE_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler)
 };
 
 #endif // wxUSE_XRC && wxUSE_COLLPANE