make IsEnabled() return false even if the window parent, and not the window itself, is disabled and added IsThisEnabled() implementing the old IsEnabled() behaviour; also significantly simplify the window state management code in all ports by factoring out the common parts in wxWindowBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,7 +82,7 @@ public:
|
||||
virtual void Raise(void);
|
||||
virtual void Lower(void);
|
||||
virtual bool Show(bool bShow = true);
|
||||
virtual bool Enable(bool bEnable = true);
|
||||
virtual void DoEnable(bool bEnable);
|
||||
virtual void SetFocus(void);
|
||||
virtual void SetFocusFromKbd(void);
|
||||
virtual bool Reparent(wxWindow* pNewParent);
|
||||
@@ -528,7 +528,6 @@ private:
|
||||
,WXWPARAM wParam = 0
|
||||
) const;
|
||||
|
||||
wxWindowList* m_pChildrenDisabled;
|
||||
HWND m_hWndScrollBarHorz;
|
||||
HWND m_hWndScrollBarVert;
|
||||
SWP m_vWinSwp;
|
||||
|
Reference in New Issue
Block a user