Fix for bug [ 744199 ] wxBringWindowToTop, child window z-order

A child window should only have it's z-order raised, not
the parent window brought to the front.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-01 21:01:18 +00:00
parent e00865fab6
commit 313901f3e5
4 changed files with 11 additions and 6 deletions

View File

@@ -339,6 +339,11 @@ bool wxDialog::Show(bool show)
return TRUE;
}
void wxDialog::Raise()
{
::SetForegroundWindow(GetHwnd());
}
// a special version for Show(TRUE) for modal dialogs which returns return code
int wxDialog::ShowModal()
{