]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/collpaneg.h
SetTextColour is gone
[wxWidgets.git] / include / wx / generic / collpaneg.h
index 841f2187f6f4a781fe0991cdbdf456a958a68aa7..c8466c690d58d2481042cc336ac6effe0d9a2dce 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 name
-extern WXDLLEXPORT_DATA(const wxChar) wxGenericCollapsiblePaneNameStr[];
+extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxGenericCollapsiblePaneNameStr[];
 
 
 // ----------------------------------------------------------------------------
 // wxGenericCollapsiblePane
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericCollapsiblePane : public wxCollapsiblePaneBase
+class WXDLLIMPEXP_ADV wxGenericCollapsiblePane : public wxCollapsiblePaneBase
 {
 public:
     wxGenericCollapsiblePane() { Init(); }
@@ -75,7 +77,7 @@ public:
     // implementation only, don't use
     void OnStateChange(const wxSize& sizeNew);
 
-protected: 
+protected:
     // overridden methods
     virtual wxSize DoGetBestSize() const;
 
@@ -102,6 +104,7 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
+#endif // wxUSE_BUTTON && wxUSE_STATLINE
 
-#endif // _WX_COLLAPSABLE_PANE_H_GENERIC_
 
+#endif // _WX_COLLAPSABLE_PANE_H_GENERIC_