1. wxFileDataObject fixes from Ricky Gonzales - seems to work, so demo added
to the dnd sample and documented 2. wxLogTextCtrl gets status messages too (were just eaten) 3. wxWindow::Enable() goes down recursively 4. attempts at fixing wxButton::SetBackgroundColour() - didn't work :-( git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -372,6 +372,15 @@ bool wxWindow::Enable(bool enable)
|
||||
if ( hWnd )
|
||||
::EnableWindow(hWnd, (BOOL)enable);
|
||||
|
||||
wxWindowList::Node *node = GetChildren().GetFirst();
|
||||
while ( node )
|
||||
{
|
||||
wxWindow *child = node->GetData();
|
||||
child->Enable(enable);
|
||||
|
||||
node = node->GetNext();
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user