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
This commit is contained in:
Václav Slavík
2008-03-04 10:05:40 +00:00
parent 53aa9c77b0
commit 03138b2753

View File

@@ -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;