use -Wunused-parameter with gcc for consistency with MSVC and other compilers which warn about this; fix the uncovered warnings in wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-23 22:19:34 +00:00
parent 87f8a3cf25
commit e4161a2a08
28 changed files with 198 additions and 333 deletions

View File

@@ -39,9 +39,10 @@
extern "C" {
static void gtk_collapsiblepane_expanded_callback (GObject *object,
GParamSpec *param_spec,
wxCollapsiblePane *p)
static void
gtk_collapsiblepane_expanded_callback(GObject * WXUNUSED(object),
GParamSpec * WXUNUSED(param_spec),
wxCollapsiblePane *p)
{
// NB: unlike for the "activate" signal, when this callback is called, if
// we try to query the "collapsed" status through p->IsCollapsed(), we