X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdbe233029e7ce2c73b5b333bb5bfbef471a7b50..2e09dc2dc80d5dd5c42a559c4dd4738ed006a276:/src/msw/menu.cpp?ds=sidebyside 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() ) {