X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b5c0e1ac19ac7520dea4477c581dd538e1815b6..772c017b2c30f5cb8072d7b22f39da175e101e9a:/src/x11/toplevel.cpp?ds=sidebyside diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp index fd6dea93f9..d3a09042d0 100644 --- a/src/x11/toplevel.cpp +++ b/src/x11/toplevel.cpp @@ -416,6 +416,11 @@ bool wxSetWMDecorations(Window w, long style) { wmProp.props |= GR_WM_PROPS_CAPTION ; wmProp.flags |= GR_WM_FLAGS_PROPS ; + + // The default dialog style doesn't include any kind + // of border, which is a bit odd. Anyway, inclusion + // of a caption surely implies a border. + style |= wxTHICK_FRAME; } if (style & wxTHICK_FRAME)