]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/collpane.h
Initialise all variables
[wxWidgets.git] / include / wx / collpane.h
index 7a227db32c3260a6170dd7230b6502722c812d72..ca8f6881bb80fe92a824d9c95cb67e099214f197 100644 (file)
@@ -95,11 +95,10 @@ typedef void (wxEvtHandler::*wxCollapsiblePaneEventFunction)(wxCollapsiblePaneEv
 #else
     #include "wx/generic/collpaneg.h"
 
-    // use a typedef and not a #define to avoid problems with XRC forward declarations
-    typedef wxCollapsiblePane wxGenericCollapsiblePane
+    // 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_