]> git.saurik.com Git - wxWidgets.git/commitdiff
fix unused parameters warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Dec 2007 13:52:58 +0000 (13:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Dec 2007 13:52:58 +0000 (13:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cocoa/gauge.h
include/wx/cocoa/radiobox.h
include/wx/cocoa/statbox.h

index eddd47eafccac8bf837e676418a7e8dd45920f5a..e629ba56b30da6b051a1dab437291c9acb41f0e8 100644 (file)
@@ -54,7 +54,7 @@ public:
     inline WX_NSProgressIndicator GetNSProgressIndicator() const { return (WX_NSProgressIndicator)m_cocoaNSView; }
 protected:
     // NSProgressIndicator cannot be enabled/disabled
-    virtual void CocoaSetEnabled(bool enable) { }
+    virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { }
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------
index e1928c22eb77f0bfe7bb27d9c68521f9a273a2e0..86dba5ccbefaa3ac462e099a43ba10ddb2cf1d8d 100644 (file)
@@ -93,8 +93,8 @@ public:
 // Cocoa callbacks
 // ------------------------------------------------------------------------
 protected:
-    // Static boxes cannot be enabled/disabled
-    virtual void CocoaSetEnabled(bool enable) { }
+    // Radio boxes cannot be enabled/disabled
+    virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { }
     virtual void CocoaTarget_action(void);
 // ------------------------------------------------------------------------
 // Implementation
index 0fab6da0f12a923d1fd2846dc9fb248701d431db..35f55064983844fa006f35a828889b54d7075d8b 100644 (file)
@@ -49,7 +49,7 @@ public:
 // ------------------------------------------------------------------------
 protected:
     // Static boxes cannot be enabled/disabled
-    virtual void CocoaSetEnabled(bool enable) { }
+    virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { }
 // ------------------------------------------------------------------------
 // Implementation
 // ------------------------------------------------------------------------