added wxCLOSE and fixed wxSYSTEM_MENU on Unix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-02-26 19:24:19 +00:00
parent f1a19f1478
commit c3d8ee42db
4 changed files with 17 additions and 6 deletions

View File

@@ -456,10 +456,15 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
// All this is for Motif Window Manager "hints" and is supposed to be
// recognized by other WMs as well.
if ((style & wxCAPTION) != 0)
{
m_gdkDecor |= GDK_DECOR_TITLE;
if ((style & wxSYSTEM_MENU) != 0)
}
if ((style & wxCLOSE) != 0)
{
m_gdkFunc |= GDK_FUNC_CLOSE;
}
if ((style & wxSYSTEM_MENU) != 0)
{
m_gdkDecor |= GDK_DECOR_MENU;
}
if ((style & wxMINIMIZE_BOX) != 0)