X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31df756d7447e51c1a42c3a72a8e16f0d798e7b1..3a7af48f215e6a2c1ccf430dd85c261cb36b19aa:/src/motif/toplevel.cpp diff --git a/src/motif/toplevel.cpp b/src/motif/toplevel.cpp index bfa9a8a982..5ce626267a 100644 --- a/src/motif/toplevel.cpp +++ b/src/motif/toplevel.cpp @@ -21,7 +21,10 @@ #include "wx/wxprec.h" #include "wx/toplevel.h" -#include "wx/app.h" + +#ifndef WX_PRECOMP + #include "wx/app.h" +#endif #ifdef __VMS__ #define XtDisplay XTDISPLAY @@ -154,7 +157,7 @@ bool wxTopLevelWindowMotif::Create( wxWindow *parent, wxWindowID id, ( m_windowStyle & wxTINY_CAPTION_HORIZ ) || ( m_windowStyle & wxTINY_CAPTION_VERT ) ) decor |= MWM_DECOR_TITLE; - if( m_windowStyle & wxTHICK_FRAME ) + if( m_windowStyle & wxRESIZE_BORDER ) decor |= MWM_DECOR_BORDER; if( m_windowStyle & wxMINIMIZE_BOX ) decor |= MWM_DECOR_MINIMIZE; @@ -423,4 +426,3 @@ void wxTLWEventHandler( Widget wid, *continueToDispatch = True; } -