X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/281de223c80ffa6cd448cbb253b56969cbabb6dc..a81c3c2383f9096ef5e96b708a0f1c1ffe7cc6a8:/contrib/include/wx/gizmos/dynamicsash.h diff --git a/contrib/include/wx/gizmos/dynamicsash.h b/contrib/include/wx/gizmos/dynamicsash.h index c2ae82eb28..a3b2f22363 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) {} @@ -129,10 +136,13 @@ private: DECLARE_DYNAMIC_CLASS(wxDynamicSashUnifyEvent); }; +typedef void (wxEvtHandler::*wxDynamicSashSplitEventFunction)(wxDynamicSashSplitEvent&); +typedef void (wxEvtHandler::*wxDynamicSashUnifyEventFunction)(wxDynamicSashSplitEvent&); + /* wxDynamicSashWindow. See above. */ -class wxDynamicSashWindow : public wxWindow { +class GIZMODLLEXPORT wxDynamicSashWindow : public wxWindow { public: wxDynamicSashWindow(); wxDynamicSashWindow(wxWindow *parent, wxWindowID id,