X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfc6fde4b1dd5bfd8ae22839ff9a69cf24eb9120..e81a301cbdc8729b0a71fa5dfd7124bf59368673:/include/wx/msw/gaugemsw.h diff --git a/include/wx/msw/gaugemsw.h b/include/wx/msw/gaugemsw.h index 45774569ba..78cf35fc14 100644 --- a/include/wx/msw/gaugemsw.h +++ b/include/wx/msw/gaugemsw.h @@ -18,7 +18,7 @@ #include "wx/control.h" -WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr; // Group box class WXDLLEXPORT wxGaugeMSW: public wxControl @@ -57,8 +57,11 @@ public: int GetRange(void) const ; int GetValue(void) const ; - void SetForegroundColour(const wxColour& col); - void SetBackgroundColour(const wxColour& col); + 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 @@ -70,10 +73,6 @@ public: protected: int m_rangeMax; int m_gaugePos; - - virtual void DoSetSize(int x, int y, - int width, int height, - int sizeFlags = wxSIZE_AUTO); }; #endif