X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8435fa381a3479dc5fe8c3d56d8e58b53568599..14b72bf5a6b575f2be880eadc3e7f0131afe889a:/samples/controls/controls.cpp diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 663f1b4c95..a6fa25ad15 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -372,7 +372,7 @@ END_EVENT_TABLE() MyFrame::MyFrame(wxFrame *frame, char *title, int x, int y, int w, int h): wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h)) { - (void*) new MyPanel( this, 10, 10, 300, 100 ); + (void)new MyPanel( this, 10, 10, 300, 100 ); } void MyFrame::OnQuit (wxCommandEvent& WXUNUSED(event) )