From bb6e7c183338fc0b486dae621fffcd36557bd7bb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 14 Jul 2001 20:38:56 +0000 Subject: [PATCH] removed obsolete comment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/frame.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 40ef132187..c67dd43753 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -156,17 +156,12 @@ bool wxFrameMSW::Create(wxWindow *parent, m_iconized = FALSE; - // the frame must have NULL parent HWND or it would be always on top of its - // parent which is not what we usually want (in fact, we only want it for - // frames with the special wxFRAME_FLOAT_ON_PARENT style) - if ( !(m_windowStyle & wxFRAME_FLOAT_ON_PARENT) ) - { - parent = NULL; - } - wxTopLevelWindows.Append(this); - MSWCreate(m_windowId, parent, wxFrameClassName, this, title, + // the frame must have NULL parent HWND or it would be always on top of its + // parent which is not what we usually want (in fact, we only want it for + // frames with the special wxFRAME_TOOL_WINDOW style handled elsewhere) + MSWCreate(m_windowId, NULL, wxFrameClassName, this, title, x, y, width, height, style); wxModelessWindows.Append(this); -- 2.47.2