From cd6754a18420be7ee525c0933a120ce66023649c Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Thu, 29 Jan 2004 23:11:29 +0000 Subject: [PATCH] Applied patch #880008: "Unused parameters in FL contrib reported by VC". git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/fl/controlbar.h | 8 ++++---- contrib/include/wx/fl/frmview.h | 2 +- contrib/include/wx/fl/toolwnd.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/include/wx/fl/controlbar.h b/contrib/include/wx/fl/controlbar.h index 148ff094f6..2a39ea480f 100644 --- a/contrib/include/wx/fl/controlbar.h +++ b/contrib/include/wx/fl/controlbar.h @@ -1498,25 +1498,25 @@ public: // they would usually be invoked). Custom updates-managers may utilize // these notifications to implement a more fine-grained updating strategy. - virtual void OnRowWillChange( cbRowInfo* pRow, cbDockPane* pInPane ) {} + virtual void OnRowWillChange( cbRowInfo* WXUNUSED(pRow), cbDockPane* WXUNUSED(pInPane) ) {} // This function receives a notification from the frame layout (in the order in which // they would usually be invoked). Custom updates-managers may utilize // these notifications to implement a more fine-grained updating strategy. - virtual void OnBarWillChange( cbBarInfo* pBar, cbRowInfo* pInRow, cbDockPane* pInPane ) {} + virtual void OnBarWillChange( cbBarInfo* WXUNUSED(pBar), cbRowInfo* WXUNUSED(pInRow), cbDockPane* WXUNUSED(pInPane) ) {} // This function receives a notification from the frame layout (in the order in which // they would usually be invoked). Custom updates-managers may utilize // these notifications to implement a more fine-grained updating strategy. - virtual void OnPaneMarginsWillChange( cbDockPane* pPane ) {} + virtual void OnPaneMarginsWillChange( cbDockPane* WXUNUSED(pPane) ) {} // This function receives a notification from the frame layout (in the order in which // they would usually be invoked). Custom updates-managers may utilize // these notifications to implement a more fine-grained updating strategy. - virtual void OnPaneWillChange( cbDockPane* pPane ) {} + virtual void OnPaneWillChange( cbDockPane* WXUNUSED(pPane) ) {} // This function receives a notification from the frame layout (in the order in which // they would usually be invoked). Custom updates-managers may utilize diff --git a/contrib/include/wx/fl/frmview.h b/contrib/include/wx/fl/frmview.h index f88d94fbeb..10a6f91f4c 100644 --- a/contrib/include/wx/fl/frmview.h +++ b/contrib/include/wx/fl/frmview.h @@ -70,7 +70,7 @@ public: virtual void OnInit() {} - virtual void OnSerialize( wxObjectStorage& store ) {} + virtual void OnSerialize( wxObjectStorage& WXUNUSED(store) ) {} virtual void OnActiveate() {} virtual void OnDeactivate() {} diff --git a/contrib/include/wx/fl/toolwnd.h b/contrib/include/wx/fl/toolwnd.h index 2737a94a06..d0ed6c32da 100644 --- a/contrib/include/wx/fl/toolwnd.h +++ b/contrib/include/wx/fl/toolwnd.h @@ -144,10 +144,10 @@ public: // Called when a mini button is clicked. // By default, does nothing. - virtual void OnMiniButtonClicked( int btnIdx ) {} + virtual void OnMiniButtonClicked( int WXUNUSED(btnIdx) ) {} // Handles clicking on the title. By default, does nothing. - virtual bool HandleTitleClick( wxMouseEvent& event ) { return FALSE; } + virtual bool HandleTitleClick( wxMouseEvent& WXUNUSED(event) ) { return false; } DECLARE_EVENT_TABLE() }; -- 2.45.2