git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35330
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (m_frameMenuBar)
{
m_frameMenuBar->DestroyMenuBar();
if (m_frameMenuBar)
{
m_frameMenuBar->DestroyMenuBar();
-
- // Hack to stop core dump on Ultrix, OSF, for some strange reason.
-#if MOTIF_MENUBAR_DELETE_FIX
- GetMenuBar()->SetMainWidget((WXWidget) NULL);
-#endif
delete m_frameMenuBar;
m_frameMenuBar = NULL;
}
delete m_frameMenuBar;
m_frameMenuBar = NULL;
}
{
bool processed = false;
{
bool processed = false;
-#if wxUSE_MENU_CALLBACK
- // Try a callback
- if (m_callback)
- {
- (void) (*(m_callback)) (*this, event);
- processed = true;
- }
-#endif // wxUSE_MENU_CALLBACK
-
// Try the menu's event handler
if ( !processed && GetEventHandler())
{
// Try the menu's event handler
if ( !processed && GetEventHandler())
{