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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user