X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4fec5b41e2109e2c4822d3015aa0e442754bfbb..bd044e27b3c7f9b6d56e75b9e1b789be3545cd5e:/src/osx/carbon/gauge.cpp diff --git a/src/osx/carbon/gauge.cpp b/src/osx/carbon/gauge.cpp index 9cf0d8a620..9a74a41a7c 100644 --- a/src/osx/carbon/gauge.cpp +++ b/src/osx/carbon/gauge.cpp @@ -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( 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 );