]> git.saurik.com Git - wxWidgets.git/commit - src/common/numformatter.cpp
Add support for long long to wxNumberFormatter.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 Jan 2011 10:47:57 +0000 (10:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 Jan 2011 10:47:57 +0000 (10:47 +0000)
commitf2a5052baa9f3cf87a5198e445021b8a6a1be134
tree2abfb2ec1f13a2c04ad61cbe7b9680c3774fa6b1
parent066e5e3fd23dea9fd69835b506c8d68855f867ff
Add support for long long to wxNumberFormatter.

It seems to make sense to allow using it for formatting and parsing long long
values as well as it can be done trivially using almost the same code as for
long.

It would be nice to support long double in a similar way but we don't wrap
C99 strtold() right now so it wouldn't be as simple, leave it for later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/numformatter.h
src/common/numformatter.cpp
tests/strings/numformatter.cpp