Have wxPropertyGrid::DoubleToString() to also take comma into account as a decimal separator. In addition, the function now returns target wxString (makes writing tests easier).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1547,11 +1547,11 @@ public:
|
||||
|
||||
/** Standardized double-to-string conversion.
|
||||
*/
|
||||
static void DoubleToString( wxString& target,
|
||||
double value,
|
||||
int precision,
|
||||
bool removeZeroes,
|
||||
wxString* precTemplate );
|
||||
static const wxString& DoubleToString( wxString& target,
|
||||
double value,
|
||||
int precision,
|
||||
bool removeZeroes,
|
||||
wxString* precTemplate = NULL );
|
||||
|
||||
/**
|
||||
Call this from wxPGProperty::OnEvent() to cause property value to be
|
||||
|
Reference in New Issue
Block a user