]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/gauge.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / cocoa / gauge.h
index dd5228059ba160084297b8c7d8a30ae373052c3a..eddd47eafccac8bf837e676418a7e8dd45920f5a 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/07/15
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
 // Created:     2003/07/15
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_GAUGE_H__
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __WX_COCOA_GAUGE_H__
@@ -42,7 +42,7 @@ public:
     bool Create(wxWindow *parent, wxWindowID winid, int range,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
     bool Create(wxWindow *parent, wxWindowID winid, int range,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,
-            long style = wxSL_HORIZONTAL,
+            long style = wxGA_HORIZONTAL,
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxGaugeNameStr);
     virtual ~wxGauge();
             const wxValidator& validator = wxDefaultValidator,
             const wxString& name = wxGaugeNameStr);
     virtual ~wxGauge();
@@ -70,4 +70,5 @@ protected:
     virtual wxSize DoGetBestSize() const;
 };
 
     virtual wxSize DoGetBestSize() const;
 };
 
-#endif // __WX_COCOA_GAUGE_H__
+#endif
+    // __WX_COCOA_GAUGE_H__