X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/422d0ff0bec79832494fe4605ffdcf8e87ba6c03..2add9e3c2f07bdb9234fbf3b84dda6b04d5ed598:/contrib/src/gizmos/multicell.cpp?ds=inline diff --git a/contrib/src/gizmos/multicell.cpp b/contrib/src/gizmos/multicell.cpp index 130ecd63eb..b9351e00de 100644 --- a/contrib/src/gizmos/multicell.cpp +++ b/contrib/src/gizmos/multicell.cpp @@ -4,17 +4,13 @@ // Author: Jonathan Bayer // Modified by: // Created: -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) Jonathan Bayer // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // This was inspired by the gbsizer class written by Alex Andruschak -#ifdef __GNUG__ - #pragma implementation "multicell.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -86,12 +82,6 @@ wxMultiCellItemHandle :: wxMultiCellItemHandle( int row, int column, wxResizable { Initialize(row, column, 1, 1, wxSize(1, 1), style, weight, align); } -//--------------------------------------------------------------------------- -wxMultiCellItemHandle :: wxMultiCellItemHandle( int row, int column, int align) -{ - Initialize(row, column, 1, 1, wxSize(1,1), wxNOT_RESIZABLE, wxSize(1, 1), align); -} - //--------------------------------------------------------------------------- int wxMultiCellItemHandle::GetColumn() { @@ -208,7 +198,7 @@ bool wxMultiCellSizer::EnableGridLines(wxWindow *win) return true; } //--------------------------------------------------------------------------- -bool wxMultiCellSizer::SetGridPen(wxPen *pen) +bool wxMultiCellSizer::SetGridPen(const wxPen *pen) { m_pen = pen; return true; @@ -653,7 +643,7 @@ void wxMultiCellCanvas :: CalculateConstraints() if (!m_cells[CELL_LOC(row, col)]) { // Create an empty static text field as a placeholder - m_cells[CELL_LOC(row, col)] = new wxCell(new wxStaticText(m_parent, wxID_ANY, wxT(""))); + m_cells[CELL_LOC(row, col)] = new wxCell(new wxStaticText(m_parent, wxID_ANY, wxEmptyString)); } wxFlexGridSizer::Add(m_cells[CELL_LOC(row, col)]->m_window); } @@ -661,4 +651,3 @@ void wxMultiCellCanvas :: CalculateConstraints() } /*** End of File ***/ -