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
This commit is contained in:
@@ -606,7 +606,7 @@ bool wxSimpleHtmlListBox::Create(wxWindow *parent, wxWindowID id,
|
|||||||
const wxSize& size,
|
const wxSize& size,
|
||||||
int n, const wxString choices[],
|
int n, const wxString choices[],
|
||||||
long style,
|
long style,
|
||||||
const wxValidator& validator,
|
const wxValidator& wxVALIDATOR_PARAM(validator),
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
if (!wxHtmlListBox::Create(parent, id, pos, size, style, 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 wxSize& size,
|
||||||
const wxArrayString& choices,
|
const wxArrayString& choices,
|
||||||
long style,
|
long style,
|
||||||
const wxValidator& validator,
|
const wxValidator& wxVALIDATOR_PARAM(validator),
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
if (!wxHtmlListBox::Create(parent, id, pos, size, style, name))
|
if (!wxHtmlListBox::Create(parent, id, pos, size, style, name))
|
||||||
|
@@ -45,7 +45,7 @@ bool wxControl::Create( wxWindow *parent,
|
|||||||
const wxPoint &pos,
|
const wxPoint &pos,
|
||||||
const wxSize &size,
|
const wxSize &size,
|
||||||
long style,
|
long style,
|
||||||
const wxValidator& validator,
|
const wxValidator& wxVALIDATOR_PARAM(validator),
|
||||||
const wxString &name )
|
const wxString &name )
|
||||||
{
|
{
|
||||||
bool ret = wxWindow::Create(parent, id, pos, size, style, name);
|
bool ret = wxWindow::Create(parent, id, pos, size, style, name);
|
||||||
|
Reference in New Issue
Block a user