X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6ba3fd4b7a04756333f79467825613b400e987e..09e48f0b1917db7e455f28c2c9ed661d39e9ab65:/src/msw/dialog.cpp?ds=inline diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index ee00bfd5de..4de4676889 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -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; }