wxModelessWindows.Append(this);
- // Necessary to make ResetWindowStyle() work
- // and will be called eventually anyway
- Activate();
-
- // Without this, a maximized child will still
- // a double border around the child
- ResetWindowStyle((void *)NULL); // Set the Client ExStyle right
-
return TRUE;
}
wxActivateEvent event(wxEVT_ACTIVATE, activated, m_windowId);
event.SetEventObject( this );
+ ResetWindowStyle((void *)NULL);
+
return GetEventHandler()->ProcessEvent(event);
}