Friday, March 04, 2005

wxwin tip

verison : 2.5.4 snapshot

wxGridTableBase

the five functions below need to be override. Example could be found in samples/grid

virtual int GetNumberRows() = 0;
virtual int GetNumberCols() = 0;
virtual bool IsEmptyCell( int row, int col ) = 0;
virtual wxString GetValue( int row, int col ) = 0;
virtual void SetValue( int row, int col, const wxString& value ) = 0;

0 Comments:

Post a Comment

<< Home