X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdbe233029e7ce2c73b5b333bb5bfbef471a7b50..1f86850d45e786987db4884ba9403eec510625f7:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 4b44e01de2..93e92056ef 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -720,8 +720,6 @@ wxMenu *wxMenuBar::Remove(size_t pos) wxLogLastError(wxT("RemoveMenu")); } - menu->Detach(); - #if wxUSE_ACCEL if ( menu->HasAccels() ) {