add const qualifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,7 +111,7 @@ public:
|
||||
remaining space.
|
||||
This function simply calls LayoutWindow().
|
||||
*/
|
||||
bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = NULL);
|
||||
bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = NULL) const;
|
||||
|
||||
/**
|
||||
Lays out the children of an MDI parent frame. If @a rect is non-@NULL, the
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
area.
|
||||
The MDI client window is set to occupy the remaining space.
|
||||
*/
|
||||
bool LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* rect = NULL);
|
||||
bool LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* rect = NULL) const;
|
||||
|
||||
/**
|
||||
Lays out the children of a normal frame or other window.
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
and the window will be set
|
||||
to the remaining size).
|
||||
*/
|
||||
bool LayoutWindow(wxWindow* parent, wxWindow* mainWindow = NULL);
|
||||
bool LayoutWindow(wxWindow* parent, wxWindow* mainWindow = NULL) const;
|
||||
};
|
||||
|
||||
|
||||
@@ -223,13 +223,13 @@ public:
|
||||
Returns the alignment of the window: one of wxLAYOUT_TOP, wxLAYOUT_LEFT,
|
||||
wxLAYOUT_RIGHT, wxLAYOUT_BOTTOM.
|
||||
*/
|
||||
wxLayoutAlignment GetAlignment();
|
||||
wxLayoutAlignment GetAlignment() const;
|
||||
|
||||
/**
|
||||
Returns the orientation of the window: one of wxLAYOUT_HORIZONTAL,
|
||||
wxLAYOUT_VERTICAL.
|
||||
*/
|
||||
wxLayoutOrientation GetOrientation();
|
||||
wxLayoutOrientation GetOrientation() const;
|
||||
|
||||
/**
|
||||
The default handler for the event that is generated by wxLayoutAlgorithm. The
|
||||
@@ -305,32 +305,32 @@ public:
|
||||
the window sticks to). One of wxLAYOUT_TOP, wxLAYOUT_LEFT, wxLAYOUT_RIGHT,
|
||||
wxLAYOUT_BOTTOM.
|
||||
*/
|
||||
void GetAlignment();
|
||||
void GetAlignment() const;
|
||||
|
||||
/**
|
||||
Returns the flags associated with this event. Not currently used.
|
||||
*/
|
||||
int GetFlags();
|
||||
int GetFlags() const;
|
||||
|
||||
/**
|
||||
Returns the orientation that the event handler specified to the event object.
|
||||
May be one of wxLAYOUT_HORIZONTAL,
|
||||
wxLAYOUT_VERTICAL.
|
||||
*/
|
||||
wxLayoutOrientation GetOrientation();
|
||||
wxLayoutOrientation GetOrientation() const;
|
||||
|
||||
/**
|
||||
Returns the requested length of the window in the direction of the window
|
||||
orientation. This information
|
||||
is not yet used.
|
||||
*/
|
||||
int GetRequestedLength();
|
||||
int GetRequestedLength() const;
|
||||
|
||||
/**
|
||||
Returns the size that the event handler specified to the event object as being
|
||||
the requested size of the window.
|
||||
*/
|
||||
wxSize GetSize();
|
||||
wxSize GetSize() const;
|
||||
|
||||
/**
|
||||
Call this to specify the alignment of the window (which side of the remaining
|
||||
@@ -391,7 +391,7 @@ public:
|
||||
/**
|
||||
Returns the flags associated with this event. Not currently used.
|
||||
*/
|
||||
int GetFlags();
|
||||
int GetFlags() const;
|
||||
|
||||
/**
|
||||
Before the event handler is entered, returns the remaining parent client area
|
||||
@@ -400,7 +400,7 @@ public:
|
||||
parent client rectangle,
|
||||
after the event handler has subtracted the area that its window occupies.
|
||||
*/
|
||||
wxRect GetRect();
|
||||
wxRect GetRect() const;
|
||||
|
||||
/**
|
||||
Sets the flags associated with this event. Not currently used.
|
||||
|
Reference in New Issue
Block a user