diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index c3a9ab8cdd..a81c20a7aa 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -204,7 +204,7 @@ void wxWizard::DoCreateControls() x -= sizeBtn.x; x -= BUTTON_MARGIN ; - (void*) new wxButton(this, wxID_HELP, _("&Help"), wxPoint(x, y), sizeBtn); + (void)new wxButton(this, wxID_HELP, _("&Help"), wxPoint(x, y), sizeBtn); x += sizeBtn.x; x += BUTTON_MARGIN ; }