]> 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 8445e3101a3545c3474b6b1bbfbb59a6f54df82a..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);
@@ -891,7 +891,7 @@ class WXDLLEXPORT wxGridStringTable : public wxGridTableBase
 public:
     wxGridStringTable();
     wxGridStringTable( int numRows, int numCols );
-    ~wxGridStringTable();
+    virtual ~wxGridStringTable();
 
     // these are pure virtual in wxGridTableBase
     //
@@ -1011,7 +1011,7 @@ public:
             long style = wxWANTS_CHARS,
             const wxString& name = wxPanelNameStr );
 
-    ~wxGrid();
+    virtual ~wxGrid();
 
     enum wxGridSelectionModes {wxGridSelectCells,
                                wxGridSelectRows,