X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9317fd47263a9521466156d7bf0f7988000bf15..1412634be86c223f742fac14ca88e5a587066419:/include/wx/msw/gauge95.h?ds=sidebyside diff --git a/include/wx/msw/gauge95.h b/include/wx/msw/gauge95.h index 3cb7379a65..2681094ee9 100644 --- a/include/wx/msw/gauge95.h +++ b/include/wx/msw/gauge95.h @@ -6,7 +6,7 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _GAUGE95_H_ @@ -16,6 +16,8 @@ #pragma interface "gauge95.h" #endif +#if wxUSE_SLIDER + #include "wx/control.h" WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr; @@ -23,8 +25,6 @@ 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; } @@ -73,7 +73,12 @@ public: protected: int m_rangeMax; int m_gaugePos; + + + DECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge95) }; +#endif // wxUSE_GAUGE + #endif // _GAUGEMSW_H_