more const correctness (slightly modified patch 1655991)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-02-11 03:08:33 +00:00
parent f8a280159d
commit a19918eb35
2 changed files with 20 additions and 20 deletions

View File

@@ -60,14 +60,14 @@ public:
wxMultiCellItemHandle( int row, int column, int height = 1, int width = 1, wxSize size = wxDefaultSize, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, wxSize size, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, wxResizable style, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
int GetColumn();
int GetRow();
int GetWidth();
int GetHeight();
wxResizable GetStyle();
wxSize GetLocalSize();
int GetAlignment();
wxSize GetWeight();
int GetColumn() const;
int GetRow() const;
int GetWidth() const;
int GetHeight() const;
wxResizable GetStyle() const;
wxSize GetLocalSize() const;
int GetAlignment() const;
wxSize GetWeight() const;
private:
void Initialize( int row, int column, int height = 1, int width = 1, wxSize size = wxDefaultSize, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
@@ -101,7 +101,7 @@ public:
private:
void GetMinimums();
int Sum(int *array, int x);
static int Sum(int *array, int x);
private:
int *m_maxHeight;
@@ -135,11 +135,11 @@ public:
void Add(wxWindow *win, unsigned int row, unsigned int col);
void Resize(int numRows, int numCols);
int MaxRows()
int MaxRows() const
{
return m_maxRows;
};
int MaxCols()
int MaxCols() const
{
return m_maxCols;
};