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:
Vadim Zeitlin
2014-01-05 21:10:58 +00:00
parent 419480cf22
commit 353f1c5491
3 changed files with 10 additions and 6 deletions

View File

@@ -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