]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/tglbtn_osx.cpp
test whether wxHAS_EVENT_BIND is supported in wx/features.h itself, not wx/chkconf...
[wxWidgets.git] / src / osx / tglbtn_osx.cpp
index 05d94f6ea5e09ef2ec0a859cd0054b45101872dc..64997c2d738e49b8f60784f6936b1127d1b986b2 100644 (file)
@@ -89,7 +89,7 @@ void wxToggleButton::Command(wxCommandEvent & event)
    ProcessCommand(event);
 }
 
-bool wxToggleButton::OSXHandleClicked( double timestampsec ) 
+bool wxToggleButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) 
 {
     wxCommandEvent event(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, m_windowId);
     event.SetInt(GetValue());
@@ -156,7 +156,7 @@ void wxBitmapToggleButton::Command(wxCommandEvent & event)
    ProcessCommand(event);
 }
 
-bool wxBitmapToggleButton::OSXHandleClicked( double timestampsec ) 
+bool wxBitmapToggleButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) 
 {
     wxCommandEvent event(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, m_windowId);
     event.SetInt(GetValue());