X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4438caf41af49f00f3c8137ac801871f59cce386..5836c9080be6e3748580755dc9bd371e17e1018c:/include/wx/msw/gauge95.h diff --git a/include/wx/msw/gauge95.h b/include/wx/msw/gauge95.h index 11e77bc685..c1ab4ab1d0 100644 --- a/include/wx/msw/gauge95.h +++ b/include/wx/msw/gauge95.h @@ -6,7 +6,7 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _GAUGE95_H_ @@ -16,6 +16,8 @@ #pragma interface "gauge95.h" #endif +#if wxUSE_SLIDER + #include "wx/control.h" WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr; @@ -60,6 +62,9 @@ public: bool SetForegroundColour(const wxColour& col); bool SetBackgroundColour(const wxColour& col); + // overriden base class virtuals + virtual bool AcceptsFocus() const { return FALSE; } + // Backward compatibility #if WXWIN_COMPATIBILITY void SetButtonColour(const wxColour& col) { SetForegroundColour(col); } @@ -72,5 +77,7 @@ protected: int m_gaugePos; }; +#endif // wxUSE_GAUGE + #endif // _GAUGEMSW_H_