X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de8113d9a3b19159fe06e1f3321c799085c8d47d..e3e717ecc5add075cd53a04cf24fe27e24170944:/include/wx/gtk/spinbutt.h diff --git a/include/wx/gtk/spinbutt.h b/include/wx/gtk/spinbutt.h index 88161fd770..517d463b55 100644 --- a/include/wx/gtk/spinbutt.h +++ b/include/wx/gtk/spinbutt.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#ifdef wxUSE_SPINBTN + #include "wx/object.h" #include "wx/control.h" @@ -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__