Various wxUniversal/wxMicroWindows fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-07-02 13:22:19 +00:00
parent 367c84b903
commit 8cb172b4f1
29 changed files with 94 additions and 43 deletions

View File

@@ -194,6 +194,7 @@ bool wxDialog::Create(wxWindow *parent,
bool wxDialog::EnableCloseButton(bool enable)
{
#ifndef __WXMICROWIN__
// get system (a.k.a. window) menu
HMENU hmenu = ::GetSystemMenu(GetHwnd(), FALSE /* get it */);
if ( !hmenu )
@@ -218,7 +219,8 @@ bool wxDialog::EnableCloseButton(bool enable)
{
wxLogLastError(_T("DrawMenuBar"));
}
#endif
return TRUE;
}