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