From 41403586634fe470fe25d5ba4f6b1c64a6fd42bc Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 10 Apr 2003 13:15:22 +0000 Subject: [PATCH] add missing symbols to wxBase git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/utilscmn.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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) {