compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -644,7 +644,7 @@ void wxMultiCellCanvas :: Add(wxWindow *win, unsigned int row, unsigned int col)
|
|||||||
{
|
{
|
||||||
wxASSERT_MSG(row >= 0 && row < m_maxRows, wxString("Row ") + itoa(row) + " out of bounds (" + itoa(m_maxRows) + ")");
|
wxASSERT_MSG(row >= 0 && row < m_maxRows, wxString("Row ") + itoa(row) + " out of bounds (" + itoa(m_maxRows) + ")");
|
||||||
wxASSERT_MSG(col >= 0 && col < m_maxCols, wxString("Column ") + itoa(col) + " out of bounds (" + itoa(m_maxCols) + ")");
|
wxASSERT_MSG(col >= 0 && col < m_maxCols, wxString("Column ") + itoa(col) + " out of bounds (" + itoa(m_maxCols) + ")");
|
||||||
wxASSERT_MSG(m_cells[CELL_LOC(row, col)] == NULL, "Cell already occupied");
|
wxASSERT_MSG(m_cells[CELL_LOC(row, col)] == NULL, _("Cell already occupied"));
|
||||||
|
|
||||||
wxCell *newCell = new wxCell(win);
|
wxCell *newCell = new wxCell(win);
|
||||||
m_cells[CELL_LOC(row,col)] = newCell;
|
m_cells[CELL_LOC(row,col)] = newCell;
|
||||||
|
Reference in New Issue
Block a user