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
This commit is contained in:
Mattia Barbon
2005-08-28 08:02:13 +00:00
parent 6bae67261c
commit 8b7b0d67b0

View File

@@ -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 )