wxcalculatelayouteventthis event is sent by wxlayoutalgorithm to calculate the amount of the remaining client area that the window should occupy. derived from include files <wx/laywin.h> event table macros
see also wxquerylayoutinfoevent, wxsashlayoutwindow, wxlayoutalgorithm. members
wxcalculatelayoutevent::wxcalculatelayoutevent
wxcalculatelayoutevent::wxcalculatelayouteventwxcalculatelayoutevent(wxwindowid id = 0) constructor.
wxcalculatelayoutevent::getflagsint getflags() const returns the flags associated with this event. not currently used.
wxcalculatelayoutevent::getrectwxrect getrect() const before the event handler is entered, returns the remaining parent client area that the window could occupy. when the event handler returns, this should contain the remaining parent client rectangle, after the event handler has subtracted the area that its window occupies.
wxcalculatelayoutevent::setflagsvoid setflags(int flags) sets the flags associated with this event. not currently used.
wxcalculatelayoutevent::setrectvoid setrect(const wxrect& rect) call this to specify the new remaining parent client area, after the space occupied by the window has been subtracted.
|