X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57f4f9255e3d70e219e6eabd68c3990c0f471f81..48f7ffbe93ab587c54643e2476b0e3b0c74e1386:/include/wx/msw/spinctrl.h?ds=inline diff --git a/include/wx/msw/spinctrl.h b/include/wx/msw/spinctrl.h index e5687d075c..bd13d0e305 100644 --- a/include/wx/msw/spinctrl.h +++ b/include/wx/msw/spinctrl.h @@ -18,6 +18,8 @@ #include "wx/spinbutt.h" // the base class +#if wxUSE_SPINCTRL + #include "wx/dynarray.h" class WXDLLEXPORT wxSpinCtrl; @@ -94,6 +96,9 @@ protected: virtual void DoMoveWindow(int x, int y, int width, int height); virtual wxSize DoGetBestSize() const; virtual void DoGetSize(int *width, int *height) const; +#if wxUSE_TOOLTIPS + virtual void DoSetToolTip( wxToolTip *tip ); +#endif // wxUSE_TOOLTIPS // the handler for wxSpinButton events void OnSpinChange(wxSpinEvent& event); @@ -116,6 +121,8 @@ private: DECLARE_NO_COPY_CLASS(wxSpinCtrl) }; +#endif // wxUSE_SPINCTRL + #endif // _WX_MSW_SPINCTRL_H_