]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menu.cpp
Some things needed in the base class of OS/2
[wxWidgets.git] / src / os2 / menu.cpp
index 971cff759bad08895d762a46abd45e58b1654476..a964e5497a3c6019183b0505ebca7ab8db28bd66 100644 (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())