{
wxSizeEvent event( GetClientSize(), GetId() );
event.SetEventObject( this );
- GetEventHandler()->ProcessEvent( event );
+ HandleWindowEvent( event );
m_needResizeInIdle = false;
}
wxSizeEvent event(GetSize(), GetId());
event.SetEventObject(this);
- GetEventHandler()->ProcessEvent(event);
+ HandleWindowEvent(event);
m_needResizeInIdle = false;
}
// wxTopLevelWindowX11 maximize/minimize
// ----------------------------------------------------------------------------
-void wxTopLevelWindowX11::Maximize(bool maximize)
+void wxTopLevelWindowX11::Maximize(bool WXUNUSED(maximize))
{
// TODO
}
void wxTopLevelWindowX11::Iconize(bool iconize)
{
+ if ( !iconize )
+ {
+ Restore();
+ return;
+ }
+
if (!m_iconized && GetMainWindow())
{
if (XIconifyWindow(wxGlobalDisplay(),