]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/grid.h
Fix for VA 4.0
[wxWidgets.git] / include / wx / generic / grid.h
index 1828a1ddf308025705683bbbe968b3fad4af04fb..438f9cd5ce813c4849e3a11971e33e79e231ed0f 100644 (file)
@@ -31,7 +31,7 @@
 #include "wx/textctrl.h"
 #include "wx/combobox.h"
 #include "wx/dynarray.h"
 #include "wx/textctrl.h"
 #include "wx/combobox.h"
 #include "wx/dynarray.h"
-
+#include "wx/timer.h"
 
 // Default parameters for wxGrid
 //
 
 // Default parameters for wxGrid
 //
@@ -571,6 +571,20 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
     DECLARE_EVENT_TABLE()
 };
 
+//-----------------------------------------------------------------------------
+// wxGridEditTimer (internal)
+//-----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxGridEditTimer: public wxTimer
+{
+ private:
+   wxGrid  *m_owner;
+
+ public:
+   wxGridEditTimer( wxGrid *owner );
+   void Notify();
+};
+
 // ----------------------------------------------------------------------------
 // wxGrid
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // wxGrid
 // ----------------------------------------------------------------------------
@@ -1184,6 +1198,8 @@ protected:
     int  m_dragRowOrCol;
     bool m_isDragging;
 
     int  m_dragRowOrCol;
     bool m_isDragging;
 
+    wxTimer        *m_editTimer;
+
     wxGridCellCoords m_selectionStart;
 
     wxCursor m_rowResizeCursor;
     wxGridCellCoords m_selectionStart;
 
     wxCursor m_rowResizeCursor;