Shift edit control (since we shifted cells in last version!)

Only draw valid help lines in resizing.
First try to enable EditCtrl on slow clicking: Doesn't work yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2000-02-13 19:43:54 +00:00
parent 5330a86957
commit 025562fee3
2 changed files with 64 additions and 20 deletions

View File

@@ -31,7 +31,7 @@
#include "wx/textctrl.h"
#include "wx/combobox.h"
#include "wx/dynarray.h"
#include "wx/timer.h"
// Default parameters for wxGrid
//
@@ -571,6 +571,20 @@ private:
DECLARE_EVENT_TABLE()
};
//-----------------------------------------------------------------------------
// wxGridEditTimer (internal)
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxGridEditTimer: public wxTimer
{
private:
wxGrid *m_owner;
public:
wxGridEditTimer( wxGrid *owner );
void Notify();
};
// ----------------------------------------------------------------------------
// wxGrid
// ----------------------------------------------------------------------------
@@ -1184,6 +1198,8 @@ protected:
int m_dragRowOrCol;
bool m_isDragging;
wxTimer *m_editTimer;
wxGridCellCoords m_selectionStart;
wxCursor m_rowResizeCursor;