if (!win->IsIconized())
{
-#if 1
- win->m_resizeQueued = true;
-#else
wxSizeEvent event(size, win->GetId());
event.SetEventObject(win);
win->HandleWindowEvent(event);
-#endif
}
// else the window is currently unmapped, don't generate size events
}
m_updateDecorSize = true;
m_urgency_hint = -2;
-
- m_resizeQueued = false;
}
bool wxTopLevelWindowGTK::Create( wxWindow *parent,
gtk_container_add( GTK_CONTAINER(m_widget), m_mainWidget );
// m_wxwindow is the client area
- m_wxwindow = wxPizza::New();
+ m_wxwindow = wxPizza::New(0,this);
gtk_widget_show( m_wxwindow );
gtk_container_add( GTK_CONTAINER(m_mainWidget), m_wxwindow );
wxTheApp->SetActive(activate, (wxWindow *)g_lastActiveFrame);
}
-
- if (m_resizeQueued)
- {
- wxSize size( m_width, m_height );
- wxSizeEvent event(size, GetId());
- event.SetEventObject(this);
- HandleWindowEvent(event);
- m_resizeQueued = false;
- }
}
// ----------------------------------------------------------------------------