#ifndef __WX_MULTICELL_H__
#define __WX_MULTICELL_H__
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma interface "multicell.h"
-#endif
-
#include "wx/gizmos/gizmos.h"
// ----------------------------------------------------------------------------
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:
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);