1. Initialized m_displayed to TRUE to solve a cell highlight problem

for some systems.  If this causes no problems then this flag can be
removed.

2. Took out the edit timer so now a second click in the current cell
will activate the edit control, even if it is several seconds later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-02-14 21:35:42 +00:00
parent dce4122902
commit 75ecbe4594
2 changed files with 3 additions and 14 deletions

View File

@@ -1194,8 +1194,7 @@ protected:
bool m_isDragging;
wxPoint m_startDragPos;
wxTimer* m_editTimer;
bool m_waitForSlowClick;
bool m_waitForSlowClick;
wxGridCellCoords m_selectionStart;
@@ -1225,7 +1224,6 @@ protected:
void OnSize( wxSizeEvent& );
void OnKeyDown( wxKeyEvent& );
void OnEraseBackground( wxEraseEvent& );
void OnEditTimer( wxTimerEvent& );
void SetCurrentCell( const wxGridCellCoords& coords );