- // 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