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