]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
fix for wxSYS_COLOUR_LISTBOX representation
[wxWidgets.git] / src / msw / menu.cpp
index 4b44e01de2cbff97c89027e58db1694d865b676a..93e92056ef02f1f94f3d2b4e323ac341e7eee8df 100644 (file)
@@ -720,8 +720,6 @@ wxMenu *wxMenuBar::Remove(size_t pos)
             wxLogLastError(wxT("RemoveMenu"));
         }
 
-        menu->Detach();
-
 #if wxUSE_ACCEL
         if ( menu->HasAccels() )
         {