]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxIconizeEvent::IsIconized() instead of deprecated Iconized()
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Jun 2008 21:07:42 +0000 (21:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 27 Jun 2008 21:07:42 +0000 (21:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/controls/controls.cpp

index 3004302367afab4b4f208d5d5f05d9a32779f146..1902bdf531d1f24a4db19e8aa39b2fdfe6c4ae6b 100644 (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")
-                                                  : _T("restored"));
+    wxLogMessage(_T("Frame %s"), event.IsIconized() ? _T("iconized")
+                                                    : _T("restored"));
     event.Skip();
 }
 
     event.Skip();
 }