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 )