wxCLOSE->wxCLOSE_BOX

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-02-27 10:13:26 +00:00
parent d60de5167e
commit 850c6ed46e
7 changed files with 13 additions and 13 deletions

View File

@@ -677,7 +677,7 @@ bool wxSetWMDecorations(Window w, long style)
wmProp.flags |= GR_WM_FLAGS_PROPS ;
}
if (style & wxCLOSE)
if (style & wxCLOSE_BOX)
{
wmProp.props |= GR_WM_PROPS_CLOSEBOX ;
wmProp.flags |= GR_WM_FLAGS_PROPS ;
@@ -753,7 +753,7 @@ bool wxSetWMDecorations(Window w, long style)
if ((style & wxSYSTEM_MENU) != 0)
hints.decorations |= MWM_DECOR_MENU;
if ((style & wxCLOSE) != 0)
if ((style & wxCLOSE_BOX) != 0)
hints.functions |= MWM_FUNC_CLOSE;
if ((style & wxMINIMIZE_BOX) != 0)