a better compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-30 22:23:22 +00:00
parent 14f4cead9d
commit d34ad9ea89
3 changed files with 12 additions and 9 deletions

View 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 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_