X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2973301f6fae5eed8a0f3ab93430da3f4806d2a8..107defe36a68091303be9a11c8abb83432acee8c:/src/msw/toplevel.cpp diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 3773984990..5fb5fd504f 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -609,6 +609,14 @@ void wxTopLevelWindowMSW::DoShowWindow(int nShowCmd) m_iconized = nShowCmd == SW_MINIMIZE; } +void wxTopLevelWindowMSW::ShowWithoutActivating() +{ + if ( !wxWindowBase::Show(true) ) + return; + + DoShowWindow(SW_SHOWNA); +} + bool wxTopLevelWindowMSW::Show(bool show) { // don't use wxWindow version as we want to call DoShowWindow() ourselves