Applied patch [ 1845819 ] wxMSW Top level window freeze fix for trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,6 +75,12 @@ public:
|
||||
virtual bool SetTransparent(wxByte alpha);
|
||||
virtual bool CanSetTransparent();
|
||||
|
||||
//Top level windows have different freeze semantics on Windows
|
||||
virtual void Freeze();
|
||||
virtual void Thaw();
|
||||
|
||||
virtual void AddChild( wxWindowBase *child );
|
||||
|
||||
|
||||
// implementation from now on
|
||||
// --------------------------
|
||||
|
@@ -555,8 +555,7 @@ private:
|
||||
bool HandleNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
||||
|
||||
|
||||
// number of calls to Freeze() minus number of calls to Thaw()
|
||||
unsigned int m_frozenness;
|
||||
|
||||
|
||||
// current defer window position operation handle (may be NULL)
|
||||
WXHANDLE m_hDWP;
|
||||
@@ -568,6 +567,10 @@ protected:
|
||||
wxPoint m_pendingPosition;
|
||||
wxSize m_pendingSize;
|
||||
|
||||
// number of calls to Freeze() minus number of calls to Thaw()
|
||||
// protected so that wxTopLevelWindowMSW can access it
|
||||
unsigned int m_frozenness;
|
||||
|
||||
private:
|
||||
#ifdef __POCKETPC__
|
||||
bool m_contextMenuEnabled;
|
||||
|
Reference in New Issue
Block a user