wxSizeEvent now carries the total size, not just the client size

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-04-09 23:56:20 +00:00
parent 0545d965de
commit 4e4a5fed9f
2 changed files with 7 additions and 5 deletions

View File

@@ -692,9 +692,7 @@ bool wxFrame::HandleSize(int x, int y, WXUINT id)
PositionToolBar();
#endif // wxUSE_TOOLBAR
wxSizeEvent event(wxSize(x, y), m_windowId);
event.SetEventObject( this );
processed = GetEventHandler()->ProcessEvent(event);
processed = wxWindow::HandleSize(x, y, id);
}
return processed;