diff --git a/contrib/include/wx/gizmos/dynamicsash.h b/contrib/include/wx/gizmos/dynamicsash.h index c2ae82eb28..1d1a355cbb 100644 --- a/contrib/include/wx/gizmos/dynamicsash.h +++ b/contrib/include/wx/gizmos/dynamicsash.h @@ -13,6 +13,13 @@ #ifndef _WX_DYNAMICSASH_H_ #define _WX_DYNAMICSASH_H_ +#ifdef GIZMOISDLL +#define GIZMODLLEXPORT WXDLLEXPORT +#else +#define GIZMODLLEXPORT +#endif + + /* wxDynamicSashWindow @@ -95,7 +102,7 @@ class wxScrollBar; a child of the wxDynamicSashWindow. wxDynamicSashWindow will automatically reparent it to the proper place in its window hierarchy. */ -class wxDynamicSashSplitEvent : public wxCommandEvent { +class GIZMODLLEXPORT wxDynamicSashSplitEvent : public wxCommandEvent { public: wxDynamicSashSplitEvent(); wxDynamicSashSplitEvent(const wxDynamicSashSplitEvent& event): wxCommandEvent(event) { } @@ -117,7 +124,7 @@ private: the scrollbars' event handlers connected to your view's event handler class. */ -class wxDynamicSashUnifyEvent : public wxCommandEvent { +class GIZMODLLEXPORT wxDynamicSashUnifyEvent : public wxCommandEvent { public: wxDynamicSashUnifyEvent(); wxDynamicSashUnifyEvent(const wxDynamicSashUnifyEvent& event): wxCommandEvent(event) {} @@ -132,7 +139,7 @@ private: /* wxDynamicSashWindow. See above. */ -class wxDynamicSashWindow : public wxWindow { +class GIZMODLLEXPORT wxDynamicSashWindow : public wxWindow { public: wxDynamicSashWindow(); wxDynamicSashWindow(wxWindow *parent, wxWindowID id, diff --git a/contrib/include/wx/gizmos/editlbox.h b/contrib/include/wx/gizmos/editlbox.h index 62b44f29f5..43e339d8d7 100644 --- a/contrib/include/wx/gizmos/editlbox.h +++ b/contrib/include/wx/gizmos/editlbox.h @@ -17,15 +17,21 @@ #include "wx/panel.h" +#ifdef GIZMOISDLL +#define GIZMODLLEXPORT WXDLLEXPORT +#else +#define GIZMODLLEXPORT +#endif + class WXDLLEXPORT wxBitmapButton; class WXDLLEXPORT wxListCtrl; class WXDLLEXPORT wxListEvent; - + // This class provides a composite control that lets the // user easily enter list of strings -class WXDLLEXPORT wxEditableListBox : public wxPanel +class GIZMODLLEXPORT wxEditableListBox : public wxPanel { DECLARE_CLASS(wxEditableListBox); diff --git a/contrib/include/wx/gizmos/multicell.h b/contrib/include/wx/gizmos/multicell.h index b200c05155..6c279a817a 100644 --- a/contrib/include/wx/gizmos/multicell.h +++ b/contrib/include/wx/gizmos/multicell.h @@ -19,6 +19,14 @@ #pragma interface "multicell.h" #endif + +#ifdef GIZMOISDLL +#define GIZMODLLEXPORT WXDLLEXPORT +#else +#define GIZMODLLEXPORT +#endif + + // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -45,7 +53,7 @@ enum wxResizable // wxMultiCellItemHandle //--------------------------------------------------------------------------- -class WXDLLEXPORT wxMultiCellItemHandle: public wxObject +class GIZMODLLEXPORT wxMultiCellItemHandle: public wxObject { DECLARE_CLASS(wxMultiCellItemHandle); protected: @@ -81,7 +89,7 @@ private: // wxMultiCellSizer //--------------------------------------------------------------------------- -class WXDLLEXPORT wxMultiCellSizer : virtual public wxSizer +class GIZMODLLEXPORT wxMultiCellSizer : virtual public wxSizer { DECLARE_CLASS(wxMultiCellSizer); @@ -131,7 +139,7 @@ class wxCell; // wxMultiCellCanvas //--------------------------------------------------------------------------- -class wxMultiCellCanvas : public wxFlexGridSizer +class GIZMODLLEXPORT wxMultiCellCanvas : public wxFlexGridSizer { public: wxMultiCellCanvas(wxWindow *parent, int numRows = 2, int numCols = 2); diff --git a/contrib/include/wx/gizmos/splittree.h b/contrib/include/wx/gizmos/splittree.h index 4be4386cda..1b5f543796 100644 --- a/contrib/include/wx/gizmos/splittree.h +++ b/contrib/include/wx/gizmos/splittree.h @@ -18,6 +18,12 @@ #pragma interface "splittree.h" #endif +#ifdef GIZMOISDLL +#define GIZMODLLEXPORT WXDLLEXPORT +#else +#define GIZMODLLEXPORT +#endif + // Set this to 1 to use generic tree control (doesn't yet work properly) #define USE_GENERIC_TREECTRL 0 @@ -46,7 +52,7 @@ class wxSplitterScrolledWindow; * It also updates the scrolled window vertical scrollbar as appropriate. */ -class wxRemotelyScrolledTreeCtrl: public wxTreeCtrl +class GIZMODLLEXPORT wxRemotelyScrolledTreeCtrl: public wxTreeCtrl { DECLARE_CLASS(wxRemotelyScrolledTreeCtrl) public: @@ -118,7 +124,7 @@ protected: * A window displaying values associated with tree control items. */ -class wxTreeCompanionWindow: public wxWindow +class GIZMODLLEXPORT wxTreeCompanionWindow: public wxWindow { public: DECLARE_CLASS(wxTreeCompanionWindow) @@ -132,7 +138,7 @@ public: virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect); //// Events - void OnPaint(wxPaintEvent& event); + void OnPaint(wxPaintEvent& event); void OnScroll(wxScrollWinEvent& event); void OnExpand(wxTreeEvent& event); @@ -157,7 +163,7 @@ protected: * than the usual one. */ -class wxThinSplitterWindow: public wxSplitterWindow +class GIZMODLLEXPORT wxThinSplitterWindow: public wxSplitterWindow { public: DECLARE_DYNAMIC_CLASS(wxThinSplitterWindow) @@ -176,7 +182,7 @@ public: void DrawSash(wxDC& dc); //// Events - + void OnSize(wxSizeEvent& event); //// Operations @@ -197,7 +203,7 @@ protected: * scroll appropriately. */ -class wxSplitterScrolledWindow: public wxScrolledWindow +class GIZMODLLEXPORT wxSplitterScrolledWindow: public wxScrolledWindow { public: DECLARE_DYNAMIC_CLASS(wxSplitterScrolledWindow) @@ -210,7 +216,7 @@ public: //// Overrides //// Events - + void OnScroll(wxScrollWinEvent& event); void OnSize(wxSizeEvent& event);