Deprecate wxPropertyGrid::DoubleToString().
Simply use wxNumberFormatter instead, this reduces code duplication and avoids bugs due to formatting inconsistencies in DoubleToString(). Closes #15625. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1568,6 +1568,7 @@ public:
|
||||
wxRect& rect,
|
||||
int flags );
|
||||
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
/** Standardized double-to-string conversion.
|
||||
*/
|
||||
static const wxString& DoubleToString( wxString& target,
|
||||
@@ -1575,6 +1576,7 @@ public:
|
||||
int precision,
|
||||
bool removeZeroes,
|
||||
wxString* precTemplate = NULL );
|
||||
#endif // WXWIN_COMPATIBILITY_3_0
|
||||
|
||||
/**
|
||||
Call this from wxPGProperty::OnEvent() to cause property value to be
|
||||
|
Reference in New Issue
Block a user