X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/912c39325bfc8e9625d79d9114f67eb8d68326ce..c746b747074dba438ac1c06b612184aaad7c7dc6:/include/wx/collpane.h diff --git a/include/wx/collpane.h b/include/wx/collpane.h index 7a227db32c..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 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_