]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/grid.h
added wxCHECK_GCC_VERSION() macro
[wxWidgets.git] / include / wx / generic / grid.h
index e74f117ae4add39d8dd14cc67b9ea68beac1760f..12f1db02ddedef3a6dc74fc023f47cd17be6b42c 100644 (file)
@@ -477,7 +477,7 @@ public:
     virtual void StartingKey(wxKeyEvent& event);
 
     virtual wxGridCellEditor *Clone() const
-        { return new wxGridCellFloatEditor; }
+        { return new wxGridCellFloatEditor(m_width, m_precision); }
 
     // parameters string format is "width,precision"
     virtual void SetParameters(const wxString& params);