/////////////////////////////////////////////////////////////////////////////
-// Name: gauge.cpp
+// Name: src/osx/carbon/gauge.cpp
// Purpose: wxGauge class
// Author: Stefan Csomor
// Modified by:
wxMacGaugeCarbonControl( wxWindowMac* peer ) : wxMacControl( peer )
{
}
-
+
void SetMaximum(wxInt32 v)
{
// switch back to determinate mode if not there already
wxMacControl::SetMaximum( v ) ;
}
-
+
void SetValue(wxInt32 v)
{
// switch back to determinate mode if not there already
SetNeedsDisplay(NULL) ;
}
}
-
+
void PulseGauge()
{
if ( GetData<Boolean>( kControlNoPart, kControlProgressBarIndeterminateTag ) != true )
};
-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 );