X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcf924a345ea8ffbc1cf6b40b5f75c6005e504c0..bdc8dd3c890c05da2b9998f758c06dece118f91f:/include/wx/gtk/gauge.h diff --git a/include/wx/gtk/gauge.h b/include/wx/gtk/gauge.h index 479d1d510d..4d3df31ff4 100644 --- a/include/wx/gtk/gauge.h +++ b/include/wx/gtk/gauge.h @@ -33,7 +33,7 @@ class wxGauge; // global data //----------------------------------------------------------------------------- -extern const char* wxGaugeNameStr; +extern const wxChar* wxGaugeNameStr; //----------------------------------------------------------------------------- // wxGaugeBox @@ -41,9 +41,7 @@ extern const char* wxGaugeNameStr; class wxGauge: public wxControl { - DECLARE_DYNAMIC_CLASS(wxGauge) - - public: +public: inline wxGauge() { m_rangeMax = 0; m_gaugePos = 0; m_useProgressBar = TRUE; } inline wxGauge( wxWindow *parent, wxWindowID id, int range, @@ -73,13 +71,16 @@ class wxGauge: public wxControl // Are we a Win95/GTK progress bar, or a normal gauge? inline bool GetProgressBar() const { return m_useProgressBar; } - // implementation + // implementation + // ------------- void ApplyWidgetStyle(); - - int m_rangeMax; - int m_gaugePos; - bool m_useProgressBar; + int m_rangeMax; + int m_gaugePos; + bool m_useProgressBar; + +private: + DECLARE_DYNAMIC_CLASS(wxGauge) }; #endif