#include "wx/textctrl.h"
#include "wx/combobox.h"
#include "wx/dynarray.h"
-
+#include "wx/timer.h"
// Default parameters for wxGrid
//
DECLARE_EVENT_TABLE()
};
+//-----------------------------------------------------------------------------
+// wxGridEditTimer (internal)
+//-----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxGridEditTimer: public wxTimer
+{
+ private:
+ wxGrid *m_owner;
+
+ public:
+ wxGridEditTimer( wxGrid *owner );
+ void Notify();
+};
+
// ----------------------------------------------------------------------------
// wxGrid
// ----------------------------------------------------------------------------
bool IsEditable() { return m_editable; }
void EnableEditing( bool edit );
-#if 0 // at the moment the cell edit control is always active
void EnableCellEditControl( bool enable );
-#endif
bool IsCellEditControlEnabled()
{ return (m_cellEditCtrl && m_cellEditCtrlEnabled); }
int m_dragRowOrCol;
bool m_isDragging;
+ wxTimer *m_editTimer;
+
wxGridCellCoords m_selectionStart;
wxCursor m_rowResizeCursor;