/**
@class wxLayoutAlgorithm
- @wxheader{laywin.h}
wxLayoutAlgorithm implements layout of subwindows in MDI or SDI frames.
It sends a wxCalculateLayoutEvent event
/**
Destructor.
*/
- ~wxLayoutAlgorithm();
+ virtual ~wxLayoutAlgorithm();
/**
Lays out the children of a normal frame. @a mainWindow is set to occupy the
remaining space.
This function simply calls LayoutWindow().
*/
- bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = NULL) const;
+ bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = NULL);
/**
Lays out the children of an MDI parent frame. If @a rect is non-@NULL, the
area.
The MDI client window is set to occupy the remaining space.
*/
- bool LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* rect = NULL) const;
+ bool LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* rect = NULL);
/**
Lays out the children of a normal frame or other window.
and the window will be set
to the remaining size).
*/
- bool LayoutWindow(wxWindow* parent, wxWindow* mainWindow = NULL) const;
+ bool LayoutWindow(wxWindow* parent, wxWindow* mainWindow = NULL);
};
/**
@class wxSashLayoutWindow
- @wxheader{laywin.h}
wxSashLayoutWindow responds to OnCalculateLayout events generated
by wxLayoutAlgorithm. It allows the
/**
@class wxQueryLayoutInfoEvent
- @wxheader{laywin.h}
This event is sent when wxLayoutAlgorithm wishes to get
the size, orientation and alignment of a window. More precisely, the event is
/**
@class wxCalculateLayoutEvent
- @wxheader{laywin.h}
This event is sent by wxLayoutAlgorithm to
calculate the amount of the remaining client area that the window should