added wxWindow::IsFrozen() (only existed in wxMSW and wxDFB before)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-13 23:45:31 +00:00
parent 49e74855af
commit d4a1433fcc
4 changed files with 17 additions and 4 deletions

View File

@@ -83,6 +83,7 @@ public:
virtual void Update();
virtual void Freeze();
virtual void Thaw();
virtual bool IsFrozen() const { return m_frozenness > 0; }
virtual void SetWindowStyleFlag(long style);
virtual void SetExtraStyle(long exStyle);
@@ -460,9 +461,6 @@ protected:
virtual void DoCaptureMouse();
virtual void DoReleaseMouse();
// has the window been frozen by Freeze()?
bool IsFrozen() const { return m_frozenness > 0; }
// this simply moves/resizes the given HWND which is supposed to be our
// sibling (this is useful for controls which are composite at MSW level
// and for which DoMoveWindow() is not enough)