]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/collpaneg.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / generic / collpaneg.h
index 6f3cd078520ecb7f47948fc99a4f061746d05fc2..9249aec213f67b788f9f0f1ec2cd5f5ec58f65df 100644 (file)
 #ifndef _WX_COLLAPSABLE_PANE_H_GENERIC_
 #define _WX_COLLAPSABLE_PANE_H_GENERIC_
 
-#if wxUSE_BUTTON && wxUSE_STATLINE
-
 // forward declared
-class WXDLLEXPORT wxButton;
-class WXDLLEXPORT wxStaticLine;
+class WXDLLIMPEXP_FWD_CORE wxButton;
+class WXDLLIMPEXP_FWD_CORE wxStaticLine;
 
 // class name
 extern WXDLLIMPEXP_DATA_CORE(const wxChar) wxCollapsiblePaneNameStr[];
@@ -104,5 +102,4 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
-#endif // wxUSE_BUTTON && wxUSE_STATLINE
 #endif // _WX_COLLAPSABLE_PANE_H_GENERIC_