It is an alternative way of specifying layouts for which the normal
constraint system is unsuitable.
- @beginEventTable{wxQueryLayoutInfoEvent,wxCalculateLayoutEvent}
+ @beginEventEmissionTable{wxQueryLayoutInfoEvent,wxCalculateLayoutEvent}
@event{EVT_QUERY_LAYOUT_INFO(func)}
Process a wxEVT_QUERY_LAYOUT_INFO event, to get size, orientation and
alignment from a window. See wxQueryLayoutInfoEvent.
@library{wxadv}
@category{winlayout}
- @see wxSashEvent, wxSashLayoutWindow, @ref overview_eventhandling
+ @see wxSashEvent, wxSashLayoutWindow, @ref overview_events
*/
class wxLayoutAlgorithm : public wxObject
{
@library{wxadv}
@category{miscwnd}
- @see wxLayoutAlgorithm, wxSashWindow, @ref overview_eventhandling
+ @see wxLayoutAlgorithm, wxSashWindow, @ref overview_events
*/
class wxSashLayoutWindow : public wxSashWindow
{
@param name
Window name.
*/
- bool Create(wxSashLayoutWindow* parent, wxWindowID id,
+ bool Create(wxWindow* parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxCLIP_CHILDREN | wxSW_3D,
client area the window sticks to).
One of wxLAYOUT_TOP, wxLAYOUT_LEFT, wxLAYOUT_RIGHT, wxLAYOUT_BOTTOM.
*/
- void GetAlignment() const;
+ wxLayoutAlignment GetAlignment() const;
/**
Returns the flags associated with this event. Not currently used.