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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user