Window management and sizer layout corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-26 18:28:34 +00:00
parent cee14ca0c5
commit bc55104d9a
2 changed files with 7 additions and 3 deletions

View File

@@ -163,6 +163,7 @@ bool wxTopLevelWindowX11::Create(wxWindow *parent,
FocusChangeMask |
ColormapChangeMask |
StructureNotifyMask |
ConfigureNotify |
PropertyChangeMask
);
@@ -416,6 +417,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)