From: Mark W. <ma...@ne...> - 2006-07-25 10:49:24
|
Hi Mattia, I have wrapped a few of the newer methods added to the Wx::Grid class: Wx::Grid::EnableDragColMove Wx::Grid::GetCellOverflow Wx::Grid::GetDefaultCellOverflow Wx::Grid::SetDefaultCellOverflow I have not used #if WXPERL_W_VERSION_GE at all as I do not know when these methods were introduced, apart from EnableDragColMove which I believe was just added now in 2.7.0. All tested and working on wxWidgets-MSW-2.7.0-rc1 Cheers Mark <patch> *** Grid.xs 15 Sep 2005 21:08:54 -0000 1.25 --- Grid.xs 25 Jul 2006 10:30:02 -0000 *************** *** 171,176 **** --- 189,198 ---- bool enable void + wxGrid::EnableDragColMove( enable = true ) + bool enable + + void wxGrid::EnableDragColSize( enable = true ) bool enable *************** *** 225,230 **** --- 247,257 ---- int row int col + bool + wxGrid::GetCellOverflow( row, col ) + int row + int col + wxGridCellRenderer* wxGrid::GetCellRenderer( row, col ) int row *************** *** 310,315 **** --- 337,345 ---- OUTPUT: RETVAL + bool + wxGrid::GetDefaultCellOverflow( ) + wxColour* wxGrid::GetDefaultCellTextColour() CODE: *************** *** 784,789 **** --- 814,823 ---- THIS->SetDefaultCellFont( *font ); void + wxGrid::SetDefaultCellOverflow( oflo ) + bool oflo + + void wxGrid::SetDefaultCellTextColour( colour ) wxColour colour </patch> |