X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdbe233029e7ce2c73b5b333bb5bfbef471a7b50..f809133f9eb30d4746c71098bbc14c621b94ef0d:/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() ) {