diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index ee22bc1b48..9240974ed9 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -133,6 +133,15 @@ wxRegisterId (long id) wxCurrentId = id + 1; } +// for GUI ports this is defined (without any real reason) in src/*/data.cpp +// files +#if !wxUSE_GUI + +WXDLLEXPORT_DATA(const wxChar *) wxFloatToStringStr = wxT("%.2f"); +WXDLLEXPORT_DATA(const wxChar *) wxDoubleToStringStr = wxT("%.2f"); + +#endif // wxUSE_GUI + void StringToFloat (const wxChar *s, float *number) {