]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
add unit test for wxTextCtrl::SetSelection()
[wxWidgets.git] / 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();
 }