X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f4cead9d14d84f4e6e96c73dae90a7f252d432..9bb3f212e26b4685f0c6ed7281d50b658ecc1491:/include/wx/xrc/xh_collpane.h?ds=sidebyside

diff --git a/include/wx/xrc/xh_collpane.h b/include/wx/xrc/xh_collpane.h
index b08b36821f..2837ea3dfd 100644
--- a/include/wx/xrc/xh_collpane.h
+++ b/include/wx/xrc/xh_collpane.h
@@ -15,12 +15,10 @@
 
 #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();
@@ -29,6 +27,8 @@ public:
 private:
     bool m_isInside;
     wxCollapsiblePane *m_collpane;
+
+    DECLARE_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler)
 };
 
 #endif // wxUSE_XRC && wxUSE_COLLPANE