]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/gauge.cpp
Fix crash in wxDC::GetMultiLineTextExtent() after last commit.
[wxWidgets.git] / src / osx / carbon / gauge.cpp
index 9cf0d8a62027159e6172e06678341acb8852076e..423cbc226bb3de5f6c995fdc5339a01d0acd660c 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        gauge.cpp
+// Name:        src/osx/carbon/gauge.cpp
 // Purpose:     wxGauge class
 // Author:      Stefan Csomor
 // Modified by:
@@ -23,7 +23,7 @@ public :
     wxMacGaugeCarbonControl( wxWindowMac* peer ) : wxMacControl( peer )
     {
     }
-    
+
     void SetMaximum(wxInt32 v)
     {
         // switch back to determinate mode if not there already
@@ -34,7 +34,7 @@ public :
 
         wxMacControl::SetMaximum( v ) ;
     }
-    
+
     void SetValue(wxInt32 v)
     {
         // switch back to determinate mode if not there already
@@ -54,7 +54,7 @@ public :
                 SetNeedsDisplay(NULL) ;
         }
     }
-    
+
     void PulseGauge()
     {
         if ( GetData<Boolean>( kControlNoPart, kControlProgressBarIndeterminateTag ) != true )
@@ -70,15 +70,15 @@ public :
 };
 
 
-wxWidgetImplType* wxWidgetImpl::CreateGauge( wxWindowMac* wxpeer, 
-                                    wxWindowMac* parent, 
-                                    wxWindowID WXUNUSED(id), 
+wxWidgetImplType* wxWidgetImpl::CreateGauge( wxWindowMac* wxpeer,
+                                    wxWindowMac* parent,
+                                    wxWindowID WXUNUSED(id),
                                     wxInt32 value,
                                     wxInt32 minimum,
                                     wxInt32 maximum,
-                                    const wxPoint& pos, 
+                                    const wxPoint& pos,
                                     const wxSize& size,
-                                    long WXUNUSED(style), 
+                                    long WXUNUSED(style),
                                     long WXUNUSED(extraStyle))
 {
     Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );