#include "wx/control.h"
-WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
// Group box
class WXDLLEXPORT wxGaugeMSW: public wxControl
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
protected:
int m_rangeMax;
int m_gaugePos;
-
- virtual void DoSetSize(int x, int y,
- int width, int height,
- int sizeFlags = wxSIZE_AUTO);
};
#endif