#ifndef __WX_MULTICELL_H__
#define __WX_MULTICELL_H__
-#if defined(__GNUG__) && !defined(__APPLE__)
- #pragma interface "multicell.h"
-#endif
-
#include "wx/gizmos/gizmos.h"
// ----------------------------------------------------------------------------
class WXDLLIMPEXP_GIZMOS wxMultiCellItemHandle: public wxObject
{
- DECLARE_CLASS(wxMultiCellItemHandle);
+ DECLARE_CLASS(wxMultiCellItemHandle)
protected:
int m_column;
int m_row;
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);
- wxMultiCellItemHandle( int row, int column, int align);
int GetColumn();
int GetRow();
int GetWidth();
class WXDLLIMPEXP_GIZMOS wxMultiCellSizer : virtual public wxSizer
{
- DECLARE_CLASS(wxMultiCellSizer);
+ DECLARE_CLASS(wxMultiCellSizer)
protected:
wxSize m_cell_count;
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);