From 03138b2753b23c990a875959f3c078d33b87be8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 4 Mar 2008 10:05:40 +0000 Subject: [PATCH] removed IsFrozen() from paint handler, no need for it there git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index bf34d03800..05663f5d8f 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -598,10 +598,6 @@ public: m_textctrlWrapper = NULL; } - // we don't draw anything while we're frozen so we must refresh ourselves - // when we're thawed to make sure the changes are displayed correctly - virtual void DoThaw() { Refresh(); } - void OnRenameTimer(); bool OnRenameAccept(size_t itemEdit, const wxString& value); void OnRenameCancelled(size_t itemEdit); @@ -2707,7 +2703,7 @@ void wxListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) ) // done (a Windows requirement). wxPaintDC dc( this ); - if ( IsEmpty() || IsFrozen() ) + if ( IsEmpty() ) { // nothing to draw or not the moment to draw it return; -- 2.50.0