move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,9 +92,7 @@ public:
|
||||
virtual void Refresh( bool bEraseBackground = true
|
||||
,const wxRect* pRect = (const wxRect *)NULL
|
||||
);
|
||||
virtual void Freeze(void);
|
||||
virtual void Update(void);
|
||||
virtual void Thaw(void);
|
||||
virtual void SetWindowStyleFlag(long lStyle);
|
||||
virtual bool SetCursor(const wxCursor& rCursor);
|
||||
virtual bool SetFont(const wxFont& rFont);
|
||||
@@ -416,6 +414,9 @@ public:
|
||||
PSWP GetSwp(void) {return &m_vWinSwp;}
|
||||
|
||||
protected:
|
||||
virtual void DoFreeze(void);
|
||||
virtual void DoThaw(void);
|
||||
|
||||
// PM can't create some MSW styles natively but can perform these after
|
||||
// creation by sending messages
|
||||
typedef enum extra_flags { kFrameToolWindow = 0x0001
|
||||
|
Reference in New Issue
Block a user