X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..157a8f700278715161c66a418124459a6dc501dc:/interface/wx/laywin.h diff --git a/interface/wx/laywin.h b/interface/wx/laywin.h index a09ff3d194..445d01c214 100644 --- a/interface/wx/laywin.h +++ b/interface/wx/laywin.h @@ -8,7 +8,6 @@ /** @class wxLayoutAlgorithm - @wxheader{laywin.h} wxLayoutAlgorithm implements layout of subwindows in MDI or SDI frames. It sends a wxCalculateLayoutEvent event @@ -103,14 +102,14 @@ public: /** 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 @@ -118,7 +117,7 @@ public: 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. @@ -130,14 +129,13 @@ public: 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 @@ -278,7 +276,6 @@ public: /** @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 @@ -368,7 +365,6 @@ public: /** @class wxCalculateLayoutEvent - @wxheader{laywin.h} This event is sent by wxLayoutAlgorithm to calculate the amount of the remaining client area that the window should