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:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user