X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..ec2df34e27ba41f202ecbf096cdfed082a9ddb8f:/src/osx/carbon/gauge.cpp diff --git a/src/osx/carbon/gauge.cpp b/src/osx/carbon/gauge.cpp index 5a63c43507..423cbc226b 100644 --- a/src/osx/carbon/gauge.cpp +++ b/src/osx/carbon/gauge.cpp @@ -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( 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, - const wxPoint& pos, + const wxPoint& pos, const wxSize& size, - long style, - long extraStyle) + long WXUNUSED(style), + long WXUNUSED(extraStyle)) { Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size ); wxMacGaugeCarbonControl* peer = new wxMacGaugeCarbonControl( wxpeer );