// 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 wxChar*) wxGaugeNameStr;
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); }
protected:
int m_rangeMax;
int m_gaugePos;
-
- virtual void DoSetSize(int x, int y,
- int width, int height,
- int sizeFlags = wxSIZE_AUTO);
};
+#endif // wxUSE_GAUGE
+
#endif
// _GAUGEMSW_H_