From 33995579d03adc7958e730162c0bb8fe4f1db123 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 15 Apr 2014 16:16:22 +0000 Subject: [PATCH] avoid unused variable warning with wxUSE_VALIDATORS==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/htmllbox.cpp | 4 ++-- src/gtk/control.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index fdeacaaea6..48b8b511cf 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -606,7 +606,7 @@ bool wxSimpleHtmlListBox::Create(wxWindow *parent, wxWindowID id, const wxSize& size, int n, const wxString choices[], long style, - const wxValidator& validator, + const wxValidator& wxVALIDATOR_PARAM(validator), const wxString& name) { if (!wxHtmlListBox::Create(parent, id, pos, size, style, name)) @@ -626,7 +626,7 @@ bool wxSimpleHtmlListBox::Create(wxWindow *parent, wxWindowID id, const wxSize& size, const wxArrayString& choices, long style, - const wxValidator& validator, + const wxValidator& wxVALIDATOR_PARAM(validator), const wxString& name) { if (!wxHtmlListBox::Create(parent, id, pos, size, style, name)) diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index 3f38a406b8..cf25778626 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -45,7 +45,7 @@ bool wxControl::Create( wxWindow *parent, const wxPoint &pos, const wxSize &size, long style, - const wxValidator& validator, + const wxValidator& wxVALIDATOR_PARAM(validator), const wxString &name ) { bool ret = wxWindow::Create(parent, id, pos, size, style, name);