From 2d80da5f25af866ea31a041efb19bed0adcc2105 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 Dec 2007 13:52:58 +0000 Subject: [PATCH] fix unused parameters warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cocoa/gauge.h | 2 +- include/wx/cocoa/radiobox.h | 4 ++-- include/wx/cocoa/statbox.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/cocoa/gauge.h b/include/wx/cocoa/gauge.h index eddd47eafc..e629ba56b3 100644 --- a/include/wx/cocoa/gauge.h +++ b/include/wx/cocoa/gauge.h @@ -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 // ------------------------------------------------------------------------ diff --git a/include/wx/cocoa/radiobox.h b/include/wx/cocoa/radiobox.h index e1928c22eb..86dba5ccbe 100644 --- a/include/wx/cocoa/radiobox.h +++ b/include/wx/cocoa/radiobox.h @@ -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 diff --git a/include/wx/cocoa/statbox.h b/include/wx/cocoa/statbox.h index 0fab6da0f1..35f5506498 100644 --- a/include/wx/cocoa/statbox.h +++ b/include/wx/cocoa/statbox.h @@ -49,7 +49,7 @@ public: // ------------------------------------------------------------------------ protected: // Static boxes cannot be enabled/disabled - virtual void CocoaSetEnabled(bool enable) { } + virtual void CocoaSetEnabled(bool WXUNUSED(enable)) { } // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------