]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gauge95.h
wxUSE_NEW_GRID is no longer used
[wxWidgets.git] / include / wx / msw / gauge95.h
index ca96b5f0103b15136f73804a664ef0517a1b0afb..2681094ee9b4debcd34f3baed739f7b58e8bbd03 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _GAUGE95_H_
 #pragma interface "gauge95.h"
 #endif
 
+#if wxUSE_SLIDER
+
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const char*) wxGaugeNameStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
 
 // Group box
 class WXDLLEXPORT wxGauge95 : public wxControl
 {
-    DECLARE_DYNAMIC_CLASS(wxGauge95)
-
 public:
     wxGauge95(void) { m_rangeMax = 0; m_gaugePos = 0; }
 
@@ -60,6 +60,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); }
@@ -71,10 +74,11 @@ protected:
     int      m_rangeMax;
     int      m_gaugePos;
 
-    virtual void DoSetSize(int x, int y,
-                           int width, int height,
-                           int sizeFlags = wxSIZE_AUTO);
+
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge95)
 };
 
+#endif // wxUSE_GAUGE
+
 #endif
     // _GAUGEMSW_H_