X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e18907799c4b338607b4d57861f97266431b01d..da175b2ce4dc35cc4c0baa8bbdc16bf4de6c7684:/include/wx/gtk1/spinbutt.h?ds=sidebyside diff --git a/include/wx/gtk1/spinbutt.h b/include/wx/gtk1/spinbutt.h index 4192465863..517d463b55 100644 --- a/include/wx/gtk1/spinbutt.h +++ b/include/wx/gtk1/spinbutt.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#ifdef wxUSE_SPINBTN + #include "wx/object.h" #include "wx/control.h" @@ -63,7 +66,7 @@ public: GtkAdjustment *m_adjust; float m_oldPos; - DECLARE_EVENT_TABLE(); + DECLARE_EVENT_TABLE() }; //----------------------------------------------------------------------------- @@ -94,5 +97,7 @@ typedef void (wxEvtHandler::*wxSpinEventFunction)(wxSpinEvent&); { wxEVT_SCROLL_PAGEDOWN, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxSpinEventFunction) & func },\ { wxEVT_SCROLL_THUMBTRACK, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxSpinEventFunction) & func }, +#endif + #endif // __GTKSPINBUTTH__