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