]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/radiobut_osx.cpp
make it explicitly clear that the len parameter of SetData() is in bytes
[wxWidgets.git] / src / osx / radiobut_osx.cpp
index 1ffcc72750547a63c1cb26c1cf65883f9288d9d6..65ef802052683ed4907447b8473cd2a4449e560d 100644 (file)
@@ -97,7 +97,7 @@ void wxRadioButton::SetValue(bool val)
 
 bool wxRadioButton::GetValue() const
 {
-    return m_peer->GetValue();
+    return m_peer->GetValue() != 0;
 }
 
 void wxRadioButton::Command(wxCommandEvent& event)
@@ -106,7 +106,7 @@ void wxRadioButton::Command(wxCommandEvent& event)
     ProcessCommand( event );
 }
 
-bool wxRadioButton::OSXHandleClicked( double timestampsec )
+bool wxRadioButton::OSXHandleClicked( double WXUNUSED(timestampsec) )
 {
     if ( !m_peer->ButtonClickDidStateChange() )
     {