made Freeze/Thaw recursively (un)freeze child windows too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -888,16 +888,10 @@ public:
|
||||
virtual void ClearBackground();
|
||||
|
||||
// freeze the window: don't redraw it until it is thawed
|
||||
void Freeze() { if ( !m_freezeCount++ ) DoFreeze(); }
|
||||
void Freeze();
|
||||
|
||||
// thaw the window: redraw it after it had been frozen
|
||||
void Thaw()
|
||||
{
|
||||
wxASSERT_MSG( m_freezeCount, "Thaw() without matching Freeze()" );
|
||||
|
||||
if ( !--m_freezeCount )
|
||||
DoThaw();
|
||||
}
|
||||
void Thaw();
|
||||
|
||||
// return true if window had been frozen and not unthawed yet
|
||||
bool IsFrozen() const { return m_freezeCount != 0; }
|
||||
|
Reference in New Issue
Block a user