X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8c57d7f0e0c18f8ba4db53c439388f92c097a4e..f1d5aa4eca541a2f90044a63f555985d6bd4adf3:/samples/controls/controls.cpp diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 3004302367..1902bdf531 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -1912,8 +1912,8 @@ void MyFrame::OnMove( wxMoveEvent& event ) void MyFrame::OnIconized( wxIconizeEvent& event ) { - wxLogMessage(_T("Frame %s"), event.Iconized() ? _T("iconized") - : _T("restored")); + wxLogMessage(_T("Frame %s"), event.IsIconized() ? _T("iconized") + : _T("restored")); event.Skip(); }