OS/2 compile fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-12-14 17:09:03 +00:00
parent 2ba4130573
commit 24eb81cbcf
6 changed files with 164 additions and 99 deletions

View File

@@ -969,7 +969,6 @@ wxMenu* wxMenuBar::Remove(
if (IsAttached())
{
::WinSendMsg((HWND)GetHmenu(), MM_REMOVEITEM, MPFROM2SHORT(nId, TRUE), (MPARAM)0);
pMenu->Detach();
#if wxUSE_ACCEL
if (pMenu->HasAccels())