Removed arbitrary window-shrinking code; corrected log message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-07-01 17:24:42 +00:00
parent daa616fca0
commit e6ba3fd4b7
2 changed files with 5 additions and 1 deletions

View File

@@ -208,7 +208,7 @@ bool wxDialog::EnableCloseButton(bool enable)
if ( !::EnableMenuItem(hmenu, SC_CLOSE,
MF_BYCOMMAND | (enable ? MF_ENABLED : MF_GRAYED)) )
{
wxLogLastError(_T("DeleteMenu(SC_CLOSE)"));
wxLogLastError(_T("EnableMenuItem(SC_CLOSE)"));
return FALSE;
}