X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e669d97ae512ead357044fb88a7226aceb139950..44893b87abdc8df271363b08a5d1b57cf7e4e04c:/include/wx/generic/grid.h diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index e74f117ae4..12f1db02dd 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -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);