// declarations
// ============================================================================
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "menuitem.h"
#endif
{
}
-// misc
-// ----
-
-// delete the sub menu
-void wxMenuItem::DeleteSubMenu()
-{
- wxASSERT( m_subMenu != NULL );
-
- delete m_subMenu;
- m_subMenu = NULL;
-}
-
// change item state
// -----------------