Weekly catch-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -509,6 +509,14 @@ bool wxWindowOS2::Enable(
|
|||||||
if ( hWnd )
|
if ( hWnd )
|
||||||
::WinEnableWindow(hWnd, (BOOL)bEnable);
|
::WinEnableWindow(hWnd, (BOOL)bEnable);
|
||||||
|
|
||||||
|
//
|
||||||
|
// The logic below doesn't apply to the top level windows -- otherwise
|
||||||
|
// showing a modal dialog would result in total greying out (and ungreying
|
||||||
|
// out later) of everything which would be really ugly
|
||||||
|
//
|
||||||
|
if (IsTopLevel())
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
wxWindowList::Node* pNode = GetChildren().GetFirst();
|
wxWindowList::Node* pNode = GetChildren().GetFirst();
|
||||||
|
|
||||||
while (pNode)
|
while (pNode)
|
||||||
|
Reference in New Issue
Block a user