From: Mattia Barbon Date: Sun, 28 Aug 2005 08:02:13 +0000 (+0000) Subject: All toplevel windows without the wxNO_BORDER style should X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8b7b0d67b0e564e4a7d58362b4edcc1c39f5406c All toplevel windows without the wxNO_BORDER style should have a border under MWM, too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/motif/toplevel.cpp b/src/motif/toplevel.cpp index 419ba40ec3..e5cd9e6717 100644 --- a/src/motif/toplevel.cpp +++ b/src/motif/toplevel.cpp @@ -155,6 +155,8 @@ bool wxTopLevelWindowMotif::Create( wxWindow *parent, wxWindowID id, if( XmIsMotifWMRunning( shell ) ) { int decor = 0 ; + if( !(m_windowStyle & wxNO_BORDER) ) + decor |= MWM_DECOR_BORDER; if( m_windowStyle & wxRESIZE_BORDER ) decor |= MWM_DECOR_RESIZEH; if( m_windowStyle & wxSYSTEM_MENU )