.\" This is a wxWidgets manpage page generated from the XML docs .TH wxSizeEvent 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxSizeEvent \- A size event .SH DESCRIPTION A size event holds information about size change events. The EVT_SIZE handler function will be called when the window has been resized. You may wish to use this for frames to resize their child windows as appropriate. Note that the size passed is of the whole window: call wxWindow::GetClientSize for the area which may be used by the application. When a window is resized, usually only a small part of the window is damaged and you may only need to repaint that area. However, if your drawing depends on the size of the window, you may need to clear the DC explicitly and repaint the whole window. In which case, you may need to call wxWindow::Refresh to invalidate the entire window. .SH "PARENTS" wxEvent wxObject .SH "INCLUDE FILES" wx/event.h .SH MEMBERS .SS wxSizeEvent (const wxSize& szint id = 0) Constructor. .SS wxSize GetSize () Returns the entire size of the window generating the size change event. .SH EVENTS .SS EVT_SIZE(func) Process a wxEVT_SIZE event. .SH "SEE ALSO" wxEvent wxObject wxSize , Event handling overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.