X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..88932ec82d048d006cdc81bd309f5e59aee799ac:/src/univ/topluniv.cpp diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index 06afa0f303..f6dbfa3c49 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -113,8 +113,7 @@ bool wxTopLevelWindow::Create(wxWindow *parent, styleOrig = style; exstyleOrig = GetExtraStyle(); style &= ~(wxCAPTION | wxMINIMIZE_BOX | wxMAXIMIZE_BOX | - wxSYSTEM_MENU | wxRESIZE_BORDER | wxFRAME_TOOL_WINDOW | - wxRESIZE_BORDER); + wxSYSTEM_MENU | wxFRAME_TOOL_WINDOW | wxRESIZE_BORDER); style |= wxBORDER_NONE; SetExtraStyle(exstyleOrig & ~wxWS_EX_CONTEXTHELP); } @@ -203,7 +202,7 @@ long wxTopLevelWindow::GetDecorationsStyle() const } if ( (m_windowStyle & (wxSIMPLE_BORDER | wxNO_BORDER)) == 0 ) style |= wxTOPLEVEL_BORDER; - if ( m_windowStyle & (wxRESIZE_BORDER | wxRESIZE_BORDER) ) + if ( m_windowStyle & wxRESIZE_BORDER ) style |= wxTOPLEVEL_RESIZEABLE; if ( IsMaximized() )