X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92b87be5188118209d22ec2f578203877e57e6be..917afc7b81c6f806ea3d50b455f7c4e320ecd68f:/include/wx/msw/gaugemsw.h?ds=sidebyside

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