use wxIconizeEvent::IsIconized() instead of deprecated Iconized()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-06-27 21:07:42 +00:00
parent e515613734
commit 837b01e2f8

View File

@@ -1912,8 +1912,8 @@ void MyFrame::OnMove( wxMoveEvent& event )
void MyFrame::OnIconized( wxIconizeEvent& event ) void MyFrame::OnIconized( wxIconizeEvent& event )
{ {
wxLogMessage(_T("Frame %s"), event.Iconized() ? _T("iconized") wxLogMessage(_T("Frame %s"), event.IsIconized() ? _T("iconized")
: _T("restored")); : _T("restored"));
event.Skip(); event.Skip();
} }