X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0a6bb75bcd4b5a4873d766a9208ac6376fe8625..f97d84a63b21fffcc830390e5bc3fe0eedb6e15b:/src/msw/frame.cpp diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index be0e9d10e2..501b0fe8b6 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -666,12 +666,12 @@ bool wxFrame::MSWCreate(int id, wxWindow *parent, const wxChar *wclass, wxWindow WXDWORD extendedStyle = MakeExtendedStyle(style); // make all frames appear in the win9x shell taskbar unless - // wxFRAME_TOOL_WINDOW is explicitly given - without giving them + // wxFRAME_TOOL_WINDOW or wxFRAME_NO_TASKBAR is given - without giving them // WS_EX_APPWINDOW style, the child (i.e. owned) frames wouldn't appear in it #if !defined(__WIN16__) && !defined(__SC__) - if (style & wxFRAME_TOOL_WINDOW) + if ( style & wxFRAME_TOOL_WINDOW ) extendedStyle |= WS_EX_TOOLWINDOW; - else + else if ( !(style & wxFRAME_NO_TASKBAR) ) extendedStyle |= WS_EX_APPWINDOW; #endif