X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18c45cd6dc74b8c37bf6e0c920cd010d3b77135b..b26f2425245bb5a115e93fa9bc6ebe2e508a518d:/contrib/include/wx/gizmos/multicell.h diff --git a/contrib/include/wx/gizmos/multicell.h b/contrib/include/wx/gizmos/multicell.h index ddc034264d..decffefbe9 100644 --- a/contrib/include/wx/gizmos/multicell.h +++ b/contrib/include/wx/gizmos/multicell.h @@ -15,10 +15,6 @@ #ifndef __WX_MULTICELL_H__ #define __WX_MULTICELL_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "multicell.h" -#endif - #include "wx/gizmos/gizmos.h" // ---------------------------------------------------------------------------- @@ -100,7 +96,7 @@ public: bool SetColumnWidth(int column, int colSize = 5, bool expandable = false); bool SetRowHeight(int row, int rowSize = 5, bool expandable = false); bool EnableGridLines(wxWindow *win); - bool SetGridPen(wxPen *pen); + bool SetGridPen(const wxPen *pen); void OnPaint(wxDC& dc); private: @@ -117,7 +113,7 @@ private: int m_maxWeights; wxSize m_defaultCellSize; wxWindow *m_win; // usually used for debugging - wxPen *m_pen; + const wxPen *m_pen; void DrawGridLines(wxDC& dc); void Initialize(wxSize size);