]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/gauge.cpp
Add support for gradient stops to wxGraphicsContext.
[wxWidgets.git] / src / osx / carbon / gauge.cpp
index 5a63c43507e946f395738fbc05eb365868500cdf..9a74a41a7c29ed5ec8284e1ee46949b70a185d0a 100644 (file)
@@ -23,7 +23,7 @@ public :
     wxMacGaugeCarbonControl( wxWindowMac* peer ) : wxMacControl( peer )
     {
     }
     wxMacGaugeCarbonControl( wxWindowMac* peer ) : wxMacControl( peer )
     {
     }
-    
+
     void SetMaximum(wxInt32 v)
     {
         // switch back to determinate mode if not there already
     void SetMaximum(wxInt32 v)
     {
         // switch back to determinate mode if not there already
@@ -34,7 +34,7 @@ public :
 
         wxMacControl::SetMaximum( v ) ;
     }
 
         wxMacControl::SetMaximum( v ) ;
     }
-    
+
     void SetValue(wxInt32 v)
     {
         // switch back to determinate mode if not there already
     void SetValue(wxInt32 v)
     {
         // switch back to determinate mode if not there already
@@ -54,7 +54,7 @@ public :
                 SetNeedsDisplay(NULL) ;
         }
     }
                 SetNeedsDisplay(NULL) ;
         }
     }
-    
+
     void PulseGauge()
     {
         if ( GetData<Boolean>( kControlNoPart, kControlProgressBarIndeterminateTag ) != true )
     void PulseGauge()
     {
         if ( GetData<Boolean>( kControlNoPart, kControlProgressBarIndeterminateTag ) != true )
@@ -70,16 +70,16 @@ public :
 };
 
 
 };
 
 
-wxWidgetImplType* wxWidgetImpl::CreateGauge( wxWindowMac* wxpeer, 
-                                    wxWindowMac* parent, 
-                                    wxWindowID id, 
+wxWidgetImplType* wxWidgetImpl::CreateGauge( wxWindowMac* wxpeer,
+                                    wxWindowMac* parent,
+                                    wxWindowID WXUNUSED(id),
                                     wxInt32 value,
                                     wxInt32 minimum,
                                     wxInt32 maximum,
                                     wxInt32 value,
                                     wxInt32 minimum,
                                     wxInt32 maximum,
-                                    const wxPoint& pos, 
+                                    const wxPoint& pos,
                                     const wxSize& size,
                                     const wxSize& size,
-                                    long style, 
-                                    long extraStyle)
+                                    long WXUNUSED(style),
+                                    long WXUNUSED(extraStyle))
 {
     Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );
     wxMacGaugeCarbonControl* peer = new wxMacGaugeCarbonControl( wxpeer );
 {
     Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );
     wxMacGaugeCarbonControl* peer = new wxMacGaugeCarbonControl( wxpeer );