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:
@@ -598,10 +598,6 @@ public:
|
|||||||
m_textctrlWrapper = NULL;
|
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();
|
void OnRenameTimer();
|
||||||
bool OnRenameAccept(size_t itemEdit, const wxString& value);
|
bool OnRenameAccept(size_t itemEdit, const wxString& value);
|
||||||
void OnRenameCancelled(size_t itemEdit);
|
void OnRenameCancelled(size_t itemEdit);
|
||||||
@@ -2707,7 +2703,7 @@ void wxListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
|||||||
// done (a Windows requirement).
|
// done (a Windows requirement).
|
||||||
wxPaintDC dc( this );
|
wxPaintDC dc( this );
|
||||||
|
|
||||||
if ( IsEmpty() || IsFrozen() )
|
if ( IsEmpty() )
|
||||||
{
|
{
|
||||||
// nothing to draw or not the moment to draw it
|
// nothing to draw or not the moment to draw it
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user