wxFrame::~wxFrame()
{
- m_isBeingDeleted = true;
+ SendDestroyEvent();
+
DeleteAllBars();
}
if ( m_frameMenuBar )
{
- m_frameMenuBar->UnsetInvokingWindow( this );
+ m_frameMenuBar->Attach( this );
if (m_frameMenuBar->GetWindowStyle() & wxMB_DOCKABLE)
{
if (m_frameMenuBar)
{
- m_frameMenuBar->SetInvokingWindow( this );
-
m_frameMenuBar->SetParent(this);
gtk_pizza_put( GTK_PIZZA(m_mainWidget),
m_frameMenuBar->m_widget,