X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34424e1e7f118176d3b4d84193e6598d86ead73e..d8f2f99ff72b7aa656765799936f0a1038cf3a8b:/include/wx/collpane.h diff --git a/include/wx/collpane.h b/include/wx/collpane.h index a52383bd6c..ca8f6881bb 100644 --- a/include/wx/collpane.h +++ b/include/wx/collpane.h @@ -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 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_