X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c3d8ee42db5e8cad0dceb82ae88e9500a6c08d2f..d6379fa35ae3de7140bd79623fc7ffeb9e6d6be1:/src/gtk1/toplevel.cpp?ds=sidebyside diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index 1a2e7c1adf..b5a88382bf 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -459,7 +459,7 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent, { m_gdkDecor |= GDK_DECOR_TITLE; } - if ((style & wxCLOSE) != 0) + if ((style & wxCLOSE_BOX) != 0) { m_gdkFunc |= GDK_FUNC_CLOSE; }