]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/gauge.h
optimized wxHtmlContainerCell - now proceeds layouting only when neccessary (will...
[wxWidgets.git] / include / wx / gtk1 / gauge.h
index 479d1d510de7a136d8f09a4cf9a5d0636c4c0021..ee018c01a17be90db5e34217160dba695477a002 100644 (file)
@@ -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