]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/topluniv.cpp
added condition for DARWIN (thanks to Steve Hartwell)
[wxWidgets.git] / src / univ / topluniv.cpp
index 959ac9f713ba24544e803b2868109ee2ee229947..0ac5717db0d424386391e47cb71699fda45308a2 100644 (file)
@@ -101,7 +101,7 @@ bool wxTopLevelWindow::Create(wxWindow *parent,
         style &= ~(wxCAPTION | wxMINIMIZE_BOX | wxMAXIMIZE_BOX |
                    wxSYSTEM_MENU | wxRESIZE_BORDER | wxFRAME_TOOL_WINDOW |
                    wxTHICK_FRAME);
-        style = wxSIMPLE_BORDER;
+        style |= wxSIMPLE_BORDER;
         SetExtraStyle(exstyleOrig &
                       ~(wxFRAME_EX_CONTEXTHELP | wxDIALOG_EX_CONTEXTHELP));
     }