Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxGrid: allow drag-resizing row and col labels #24362

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
42bf9b1
wxGrid: allow drag-resizing row and col labels
DietmarSchwertberger Feb 27, 2024
bb9bb85
also allow dragging the edge between labels and grid
DietmarSchwertberger Feb 28, 2024
9604b56
add comments for clarification
DietmarSchwertberger Feb 28, 2024
509eb6f
fix dragging label size with frozen rows/cols
DietmarSchwertberger Feb 28, 2024
7a2aac5
allow label resizing also by dragging inside the grid cell area
DietmarSchwertberger Feb 28, 2024
61dabd2
capture mouse in DoGridCellLeftDown to avoid problems when drag resiz…
DietmarSchwertberger Feb 28, 2024
df44773
bug fix for CanDragColLabelSize
DietmarSchwertberger Feb 29, 2024
aa3871d
update interface documentation for drag-resizing labels
DietmarSchwertberger Feb 29, 2024
f64a59a
disable label resizing by default
DietmarSchwertberger Mar 3, 2024
c6ce3ba
improvements after review
DietmarSchwertberger Mar 3, 2024
8dd4cd5
handle case where Leaving event is sent before Moving/Dragging
DietmarSchwertberger Mar 3, 2024
324430b
use m_dragLabel when dragging label size, instead of m_dragRowOrCol
DietmarSchwertberger Mar 3, 2024
3bef9b2
unify DoEndDragResizeRow/ColLabel via GridOperations
DietmarSchwertberger Mar 4, 2024
9a352ae
fix pointers for previoius commit
DietmarSchwertberger Mar 4, 2024
9dba419
simplify DoGridCellLeftDown
DietmarSchwertberger Mar 4, 2024
d491d4c
unify DoEndDragResizeRow and DoEndDragResizeCol
DietmarSchwertberger Mar 4, 2024
2c749c1
replace switch with if/else again
DietmarSchwertberger Mar 4, 2024
2777b75
remove space
DietmarSchwertberger Mar 6, 2024
1117900
simplify memory management for DoGetOperationsFromCursorMode
DietmarSchwertberger Mar 6, 2024
bb11272
remove event.Skip()
DietmarSchwertberger Mar 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 43 additions & 5 deletions include/wx/generic/grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -1845,8 +1845,10 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas
//
int GetDefaultRowLabelSize() const { return FromDIP(WXGRID_DEFAULT_ROW_LABEL_WIDTH); }
int GetRowLabelSize() const { return m_rowLabelWidth; }
int GetRowLabelMinimalSize() const { return m_colLabelMinHeight; }
int GetDefaultColLabelSize() const { return FromDIP(WXGRID_DEFAULT_COL_LABEL_HEIGHT); }
int GetColLabelSize() const { return m_colLabelHeight; }
int GetColLabelMinimalSize() const { return m_rowLabelMinWidth; }
wxColour GetLabelBackgroundColour() const { return m_labelBackgroundColour; }
wxColour GetLabelTextColour() const { return m_labelTextColour; }
wxFont GetLabelFont() const { return m_labelFont; }
Expand Down Expand Up @@ -1874,6 +1876,8 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas

void SetRowLabelSize( int width );
void SetColLabelSize( int height );
void SetRowLabelMinimalSize( int width );
void SetColLabelMinimalSize( int height );
void HideRowLabels() { SetRowLabelSize( 0 ); }
void HideColLabels() { SetColLabelSize( 0 ); }
void SetLabelBackgroundColour( const wxColour& );
Expand Down Expand Up @@ -1941,6 +1945,19 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas
bool CanDragColSize(int col) const
{ return m_canDragColSize && DoCanResizeLine(col, m_setFixedCols); }

// functions globally enabling row/column label interactive resizing
// (disabled by default)
void EnableDragRowLabelSize(bool enable = true);
void DisableDragRowLabelSize() { EnableDragRowLabelSize(false); }

void EnableDragColLabelSize(bool enable = true);
void DisableDragColLabelSize() { EnableDragColLabelSize(false); }

bool CanDragRowLabelSize() const
{ return m_canDragRowLabelSize; }
bool CanDragColLabelSize() const
{ return m_canDragColLabelSize; }

// interactive row reordering (disabled by default)
bool EnableDragRowMove( bool enable = true );
void DisableDragRowMove() { EnableDragRowMove( false ); }
Expand Down Expand Up @@ -2509,6 +2526,8 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas

int m_rowLabelWidth;
int m_colLabelHeight;
int m_rowLabelMinWidth;
int m_colLabelMinHeight;

// the size of the margin left to the right and bottom of the cell area
int m_extraWidth,
Expand Down Expand Up @@ -2646,6 +2665,8 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas
bool m_canDragColMove;
bool m_canHideColumns;
bool m_canDragGridSize;
bool m_canDragRowLabelSize;
bool m_canDragColLabelSize;
bool m_canDragCell;

// Index of the row or column being drag-moved or -1 if there is no move
Expand All @@ -2662,9 +2683,13 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas
// or -1 if there is no resize operation in progress.
int m_dragRowOrCol;

// Original row or column size when resizing; used when the user cancels
// Original row, column or label size when resizing; used when the user cancels
int m_dragRowOrColOldSize;

// Row or column labels (depending on m_cursorMode value) currently being
// resized
bool m_dragLabel;

// true if a drag operation is in progress; when this is true,
// m_startDragPos is valid, i.e. not wxDefaultPosition
bool m_isDragging;
Expand Down Expand Up @@ -2880,10 +2905,14 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas
const wxGridOperations& oper,
wxGridWindow* gridWindow);

// helper to get the wxGridOperations that match the cursor mode
std::unique_ptr<wxGridOperations> DoGetOperationsFromCursorMode(void);

// process different clicks on grid cells
void DoGridCellLeftDown(wxMouseEvent& event,
const wxGridCellCoords& coords,
const wxPoint& pos);
const wxPoint& pos,
wxGridWindow* gridWindow);
void DoGridCellLeftDClick(wxMouseEvent& event,
const wxGridCellCoords& coords,
const wxPoint& pos);
Expand Down Expand Up @@ -2913,13 +2942,16 @@ class WXDLLIMPEXP_CORE wxGrid : public wxScrolledCanvas

void DoStartResizeRowOrCol(int col, int size);
void DoStartMoveRowOrCol(int col);
void DoStartResizeLabel(int size);

// These functions should only be called when actually resizing/moving,
// i.e. m_dragRowOrCol and m_dragMoveCol, respectively, are valid.
void DoEndDragResizeRow(const wxMouseEvent& event, wxGridWindow *gridWindow);
void DoEndDragResizeCol(const wxMouseEvent& event, wxGridWindow *gridWindow);
// i.e. m_dragRowOrCol, m_dragMoveCol, m_dragLabel, respectively, are valid.
void DoEndDragResizeRowOrCol(const wxMouseEvent& event, wxGridWindow* gridWindow,
const wxGridOperations& oper);
void DoEndMoveRow(int pos);
void DoEndMoveCol(int pos);
void DoEndDragResizeLabel(const wxMouseEvent& event, wxGridWindow* gridWindow,
const wxGridOperations& oper);

// Helper function returning the position (only the horizontal component
// really counts) corresponding to the given column drag-resize event.
Expand Down Expand Up @@ -3343,6 +3375,8 @@ wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_ROW_SIZE, wxGridSizeEvent
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_ROW_AUTO_SIZE, wxGridSizeEvent );
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_COL_SIZE, wxGridSizeEvent );
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_COL_AUTO_SIZE, wxGridSizeEvent );
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_ROW_LABEL_SIZE, wxGridSizeEvent );
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_COL_LABEL_SIZE, wxGridSizeEvent );
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_RANGE_SELECTING, wxGridRangeSelectEvent );
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_RANGE_SELECTED, wxGridRangeSelectEvent );
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_GRID_CELL_CHANGING, wxGridEvent );
Expand Down Expand Up @@ -3397,6 +3431,8 @@ typedef void (wxEvtHandler::*wxGridEditorCreatedEventFunction)(wxGridEditorCreat
#define EVT_GRID_CMD_ROW_SIZE(id, fn) wx__DECLARE_GRIDSIZEEVT(ROW_SIZE, id, fn)
#define EVT_GRID_CMD_COL_SIZE(id, fn) wx__DECLARE_GRIDSIZEEVT(COL_SIZE, id, fn)
#define EVT_GRID_CMD_COL_AUTO_SIZE(id, fn) wx__DECLARE_GRIDSIZEEVT(COL_AUTO_SIZE, id, fn)
#define EVT_GRID_CMD_ROW_LABEL_SIZE(id, fn) wx__DECLARE_GRIDSIZEEVT(ROW_LABEL_SIZE, id, fn)
#define EVT_GRID_CMD_COL_LABEL_SIZE(id, fn) wx__DECLARE_GRIDSIZEEVT(COL_LABEL_SIZE, id, fn)
#define EVT_GRID_CMD_ROW_MOVE(id, fn) wx__DECLARE_GRIDEVT(ROW_MOVE, id, fn)
#define EVT_GRID_CMD_COL_MOVE(id, fn) wx__DECLARE_GRIDEVT(COL_MOVE, id, fn)
#define EVT_GRID_CMD_COL_SORT(id, fn) wx__DECLARE_GRIDEVT(COL_SORT, id, fn)
Expand Down Expand Up @@ -3424,6 +3460,8 @@ typedef void (wxEvtHandler::*wxGridEditorCreatedEventFunction)(wxGridEditorCreat
#define EVT_GRID_ROW_SIZE(fn) EVT_GRID_CMD_ROW_SIZE(wxID_ANY, fn)
#define EVT_GRID_COL_SIZE(fn) EVT_GRID_CMD_COL_SIZE(wxID_ANY, fn)
#define EVT_GRID_COL_AUTO_SIZE(fn) EVT_GRID_CMD_COL_AUTO_SIZE(wxID_ANY, fn)
#define EVT_GRID_ROW_LABEL_SIZE(fn) EVT_GRID_CMD_ROW_LABEL_SIZE(wxID_ANY, fn)
#define EVT_GRID_COL_LABEL_SIZE(fn) EVT_GRID_CMD_COL_LABEL_SIZE(wxID_ANY, fn)
#define EVT_GRID_ROW_MOVE(fn) EVT_GRID_CMD_ROW_MOVE(wxID_ANY, fn)
#define EVT_GRID_COL_MOVE(fn) EVT_GRID_CMD_COL_MOVE(wxID_ANY, fn)
#define EVT_GRID_COL_SORT(fn) EVT_GRID_CMD_COL_SORT(wxID_ANY, fn)
Expand Down
51 changes: 44 additions & 7 deletions include/wx/generic/private/grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,20 @@ class wxGridOperations
// return whether the given row/column can be interactively resized
virtual bool CanDragLineSize(wxGrid *grid, int line) const = 0;

// call DoEndDragResizeRow or DoEndDragResizeCol
virtual void DoEndLineResize(wxGrid *grid, const wxMouseEvent& event, wxGridWindow* gridWindow) const = 0;

// the event type after a row row or col resize
virtual wxEventType GetEventTypeLineSize() const = 0;

// return whether the column/row label window can be interactively resized
virtual bool CanDragLabelSize(wxGrid* grid) const = 0;
// call DoEndDragResizeRowLabel or DoEndDragResizeColLabel
virtual void DoEndLabelResize(wxGrid* grid, const wxMouseEvent& event, wxGridWindow* gridWindow) const = 0;
// the event type for the previous method
virtual wxEventType GetEventTypeLabelSize() const = 0;
// set the column/row label size
virtual void SetLabelSize(wxGrid* grid, int size) const = 0;
// return the column/row label size
virtual int GetLabelSize(wxGrid* grid) const = 0;
virtual int GetMinimalLabelSize(wxGrid* grid) const = 0;

// extend current selection block up to given row or column
virtual bool SelectionExtendCurrentBlock(wxGrid *grid, int line,
Expand Down Expand Up @@ -768,10 +779,23 @@ class wxGridRowOperations : public wxGridOperations

virtual bool CanDragLineSize(wxGrid *grid, int line) const override
{ return grid->CanDragRowSize(line); }
virtual void DoEndLineResize(wxGrid *grid, const wxMouseEvent& event,
virtual wxEventType GetEventTypeLineSize() const override
{ return wxEVT_GRID_ROW_SIZE; }

virtual bool CanDragLabelSize(wxGrid* grid) const override
{ return grid->CanDragColLabelSize(); }
virtual void DoEndLabelResize(wxGrid *grid, const wxMouseEvent& event,
wxGridWindow* gridWindow) const override
{ grid->DoEndDragResizeRow(event, gridWindow); }
{ grid->DoEndDragResizeLabel(event, gridWindow, *this); }
virtual wxEventType GetEventTypeLabelSize() const override
{ return wxEVT_GRID_COL_LABEL_SIZE; }

virtual void SetLabelSize(wxGrid* grid, int size) const override
{ grid->SetColLabelSize(size); }
virtual int GetLabelSize(wxGrid* grid) const override
{ return grid->m_colLabelHeight; }
virtual int GetMinimalLabelSize(wxGrid* grid) const override
{ return grid->m_colLabelMinHeight; }

virtual bool SelectionExtendCurrentBlock(wxGrid *grid, int line,
const wxMouseEvent &event,
Expand Down Expand Up @@ -911,9 +935,22 @@ class wxGridColumnOperations : public wxGridOperations

virtual bool CanDragLineSize(wxGrid *grid, int line) const override
{ return grid->CanDragColSize(line); }
virtual void DoEndLineResize(wxGrid *grid, const wxMouseEvent& event,
virtual wxEventType GetEventTypeLineSize() const override
{ return wxEVT_GRID_COL_SIZE; }

virtual bool CanDragLabelSize(wxGrid* grid) const override
{ return grid->CanDragRowLabelSize();}
virtual void DoEndLabelResize(wxGrid *grid, const wxMouseEvent& event,
wxGridWindow* gridWindow) const override
{ grid->DoEndDragResizeCol(event, gridWindow); }
{ grid->DoEndDragResizeLabel(event, gridWindow, *this); }
virtual wxEventType GetEventTypeLabelSize() const override
{ return wxEVT_GRID_ROW_LABEL_SIZE; }
virtual int GetLabelSize(wxGrid* grid) const override
{ return grid->m_rowLabelWidth; }
virtual void SetLabelSize(wxGrid* grid, int size) const override
{ grid->SetRowLabelSize(size); }
virtual int GetMinimalLabelSize(wxGrid* grid) const override
{ return grid->m_rowLabelMinWidth; }

virtual bool SelectionExtendCurrentBlock(wxGrid *grid, int line,
const wxMouseEvent &event,
Expand Down
64 changes: 64 additions & 0 deletions interface/wx/grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -4563,6 +4563,24 @@ class wxGrid : public wxScrolledCanvas
*/
bool CanDragRowSize(int row) const;

/**
Returns @true if the row labels can be resized by dragging with the
mouse.

@since 3.3.0
*/
bool CanDragRowLabelSize();

/**
Returns @true if the column labels can be resized by dragging with the
mouse.

This is the same as CanDragRowLabelSize() but for column labels.

@since 3.3.0
*/
bool CanDragColLabelSize();

/**
Returns @true if columns can be hidden from the popup menu of the native header.

Expand Down Expand Up @@ -4637,6 +4655,24 @@ class wxGrid : public wxScrolledCanvas
*/
void DisableDragRowSize();

/**
Disables row label sizing by dragging with the mouse.

Equivalent to passing @false to EnableDragRowLabelSize().

@since 3.3.0
*/
void DisableDragRowLabelSize();

/**
Disables column label sizing by dragging with the mouse.

Equivalent to passing @false to EnableDragColLabelSize().

@since 3.3.0
*/
void DisableDragColLabelSize();

/**
Disables column hiding from the header popup menu.

Expand Down Expand Up @@ -4706,6 +4742,24 @@ class wxGrid : public wxScrolledCanvas
*/
void EnableDragRowSize(bool enable = true);

/**
Enables or disables row label sizing by dragging with the mouse.

@see DisableDragRowLabelSize()

@since 3.3.0
*/
void EnableDragRowLabelSize(bool enable = true);

/**
Enables or disables col label sizing by dragging with the mouse.

@see DisableDragColLabelSize()

@since 3.3.0
*/
void EnableDragColLabelSize(bool enable = true);

/**
Enables or disables column hiding from the header popup menu.

Expand Down Expand Up @@ -6477,6 +6531,14 @@ class wxGridEvent : public wxNotifyEvent
wxWidgets 2.9.5.
@event{EVT_GRID_ROW_SIZE(func)}
Same as EVT_GRID_CMD_ROW_SIZE() but uses `wxID_ANY` id.
@event{EVT_GRID_ROW_LABEL_SIZE(id, func)}
The user resized the row labels.
Corresponds to @c wxEVT_GRID_ROW_LABEL_SIZE event type.
This is new since wxWidgets 3.3.0.
@event{EVT_GRID_COL_LABEL_SIZE(id, func)}
The user resized the column labels.
Corresponds to @c wxEVT_GRID_COL_LABEL_SIZE event type.
This is new since wxWidgets 3.3.0.
@endEventTable

@library{wxcore}
Expand Down Expand Up @@ -6742,6 +6804,8 @@ wxEventType wxEVT_GRID_ROW_SIZE;
wxEventType wxEVT_GRID_ROW_AUTO_SIZE;
wxEventType wxEVT_GRID_COL_SIZE;
wxEventType wxEVT_GRID_COL_AUTO_SIZE;
wxEventType wxEVT_GRID_ROW_LABEL_SIZE;
wxEventType wxEVT_GRID_COL_LABEL_SIZE;
wxEventType wxEVT_GRID_RANGE_SELECTING;
wxEventType wxEVT_GRID_RANGE_SELECTED;
wxEventType wxEVT_GRID_CELL_CHANGING;
Expand Down
41 changes: 41 additions & 0 deletions samples/grid/griddemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ wxBEGIN_EVENT_TABLE( GridFrame, wxFrame )
EVT_MENU( ID_TOGGLEEDIT, GridFrame::ToggleEditing )
EVT_MENU( ID_TOGGLEROWSIZING, GridFrame::ToggleRowSizing )
EVT_MENU( ID_TOGGLECOLSIZING, GridFrame::ToggleColSizing )
EVT_MENU(ID_TOGGLEROWLABELSIZING, GridFrame::ToggleRowLabelSizing)
EVT_MENU(ID_TOGGLECOLLABELSIZING, GridFrame::ToggleColLabelSizing)
EVT_MENU( ID_TOGGLEROWMOVING, GridFrame::ToggleRowMoving)
EVT_MENU( ID_TOGGLECOLMOVING, GridFrame::ToggleColMoving )
EVT_MENU( ID_TOGGLECOLHIDING, GridFrame::ToggleColHiding )
Expand Down Expand Up @@ -369,6 +371,8 @@ wxBEGIN_EVENT_TABLE( GridFrame, wxFrame )
EVT_GRID_ROW_SIZE( GridFrame::OnRowSize )
EVT_GRID_COL_SIZE( GridFrame::OnColSize )
EVT_GRID_COL_AUTO_SIZE( GridFrame::OnColAutoSize )
EVT_GRID_ROW_LABEL_SIZE( GridFrame::OnRowLabelSize )
EVT_GRID_COL_LABEL_SIZE( GridFrame::OnColLabelSize )
EVT_GRID_SELECT_CELL( GridFrame::OnSelectCell )
EVT_GRID_RANGE_SELECTING( GridFrame::OnRangeSelecting )
EVT_GRID_RANGE_SELECTED( GridFrame::OnRangeSelected )
Expand Down Expand Up @@ -438,6 +442,8 @@ GridFrame::GridFrame()
viewMenu->AppendCheckItem(ID_TOGGLEEDIT,"&Editable");
viewMenu->AppendCheckItem(ID_TOGGLEROWSIZING, "Ro&w drag-resize");
viewMenu->AppendCheckItem(ID_TOGGLECOLSIZING, "C&ol drag-resize");
viewMenu->AppendCheckItem(ID_TOGGLEROWLABELSIZING, "Row label drag-resize");
viewMenu->AppendCheckItem(ID_TOGGLECOLLABELSIZING, "Col label drag-resize");
viewMenu->AppendCheckItem(ID_TOGGLEROWMOVING, "Row drag-move");
viewMenu->AppendCheckItem(ID_TOGGLECOLMOVING, "Col drag-&move");
viewMenu->AppendCheckItem(ID_TOGGLECOLHIDING, "Col hiding popup menu");
Expand Down Expand Up @@ -812,6 +818,8 @@ void GridFrame::SetDefaults()
GetMenuBar()->Check( ID_TOGGLEEDIT, true );
GetMenuBar()->Check( ID_TOGGLEROWSIZING, true );
GetMenuBar()->Check( ID_TOGGLECOLSIZING, true );
GetMenuBar()->Check(ID_TOGGLEROWLABELSIZING, false);
GetMenuBar()->Check(ID_TOGGLECOLLABELSIZING, false);
GetMenuBar()->Check( ID_TOGGLECOLMOVING, false );
GetMenuBar()->Check( ID_TOGGLECOLHIDING, true );
GetMenuBar()->Check( ID_TOGGLEGRIDSIZING, true );
Expand Down Expand Up @@ -867,6 +875,21 @@ void GridFrame::ToggleColSizing( wxCommandEvent& WXUNUSED(ev) )
GetMenuBar()->IsChecked( ID_TOGGLECOLSIZING ) );
}


void GridFrame::ToggleRowLabelSizing(wxCommandEvent& WXUNUSED(ev))
{
grid->EnableDragRowLabelSize(
GetMenuBar()->IsChecked(ID_TOGGLEROWLABELSIZING));
}


void GridFrame::ToggleColLabelSizing(wxCommandEvent& WXUNUSED(ev))
{
grid->EnableDragColLabelSize(
GetMenuBar()->IsChecked(ID_TOGGLECOLLABELSIZING));
}


void GridFrame::ToggleRowMoving( wxCommandEvent& WXUNUSED(ev) )
{
grid->EnableDragRowMove(
Expand Down Expand Up @@ -1712,6 +1735,24 @@ void GridFrame::OnColAutoSize( wxGridSizeEvent &event )
}
}


void GridFrame::OnRowLabelSize(wxGridSizeEvent& ev)
{
wxLogMessage("Resized row label, new width = %d",
grid->GetRowLabelSize());

ev.Skip();
}

void GridFrame::OnColLabelSize(wxGridSizeEvent& ev)
{
wxLogMessage("Resized column label, new height = %d",
grid->GetColLabelSize());

ev.Skip();
}


void GridFrame::OnSelectCell( wxGridEvent& ev )
{
wxString logBuf;
Expand Down
Loading
Loading