X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8c57d7f0e0c18f8ba4db53c439388f92c097a4e..b2b0bee6d822b05fea419e8bf24ab4009cb17ac4:/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(); }