Commit Graph

37 Commits

Author SHA1 Message Date
Vadim Zeitlin
0ba9f867fa fixed compilation warning about signed/unsigned comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:53:55 +00:00
Ron Lee
8e38fd1fb0 Added 2 extra macros to handle all the flavours of wxInt64 :(
Did a quick and dirty cut'n'paste to implement wxULongLong and provide
wxUint64 on platforms without a suitable native type.
Noted it's existance and inappropriate methods in the wxLongLong docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:43:08 +00:00
Julian Smart
c67d6888d4 Fixing wxMicroWindows compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:22:16 +00:00
Mattia Barbon
4f9c7d92dd Cygwin does support 64 bit ints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 21:10:22 +00:00
Robin Dunn
5bf2abe348 Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:02:44 +00:00
Mattia Barbon
b2a9ee3025 Re-enabled long long for MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:05:28 +00:00
Vadim Zeitlin
8db6ac55e6 test for long long directly instead of testing for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 15:03:00 +00:00
Vadim Zeitlin
3a994742ab added wxLongLong::ToString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:42:11 +00:00
Vadim Zeitlin
dd107c50be applied patch for compilation with gcc 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:51:53 +00:00
Julian Smart
92f5ff59cc Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 10:56:54 +00:00
Vadim Zeitlin
6d56eb5c56 applied patch 417699 (remove WXDLLEXPORT from inline functions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-26 16:38:11 +00:00
Vadim Zeitlin
58ef67abc3 merged __sgi compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 14:22:19 +00:00
David Webster
403603f74f OS/2 patch about a #pragma warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-28 15:34:19 +00:00
Vadim Zeitlin
384223b34b wxDateTime::IsValid() now returns m_time != (wxLongLong)-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-05 21:03:19 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
617ec45690 wxLongLongWx::Assign(double) works - thanks Guillermo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 14:26:40 +00:00
Vadim Zeitlin
2a31049201 added test mode to wxLongLongWx which allowed to find the bug in operator*=()
which was breaking wxDateTime - now seems to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 20:35:34 +00:00
David Webster
398b582f36 Visualage C++ V4.0 has a native long long data type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:32:03 +00:00
Vadim Zeitlin
13111b2ac8 1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Julian Smart
cff4a45c15 Watford C++ related changes. Unfortunately, the linker now gives a GPF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 20:25:09 +00:00
Vadim Zeitlin
41acf5c0bd 1. wxLongLongWx::Assign(double) added (half implemented)
2. small wxDateTime bug fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 11:26:59 +00:00
Vadim Zeitlin
9c2882d9e1 1. misc compilation (errors, warnings) fixes (from the build logs)
2. fixed a bug in wxGTK::wxGetResource


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:52:50 +00:00
Vadim Zeitlin
6957717a00 disable #warning because it's an error for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 22:16:54 +00:00
Vadim Zeitlin
5e6a0e8315 implemented wxLongLong division - seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 16:49:57 +00:00
Vadim Zeitlin
40973ea5fd removed testing code from wxLongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 23:27:21 +00:00
Vadim Zeitlin
2ea24d9f47 tried to implement division of wxLongLongs - doesn't work at all, will finish tonight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:15:40 +00:00
Vadim Zeitlin
ad0dc53bff patches for BC++ 5.3 from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 14:05:21 +00:00
Vadim Zeitlin
cd0b170911 1. wxLongLong and wxDateTime compilation fixed for the compilers without native
"long long" type (and some code in timercmn.cpp too)
2. wxDate and wxTime reimplemented using wxDateTime (old versions tagged as
   OLD_DATE_AND_TIME)
3. wxString::To(U)Long and ToDouble added and documented
4. bug with combobox in toolbar (drop down list wasn't dismissed) fixed
5. several wxDateTime::Parse() functions implemented
6. added support for coloured buttons under MSW (not completely finished)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:44:45 +00:00
Julian Smart
c25a510b30 Mostly Mingw32/Cygwin corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 19:04:48 +00:00
Jouk Jansen
08f6ac314a Committing in .
VMS 64bit integer definition

 Modified Files:
 	wxWindows/include/wx/longlong.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 15:37:00 +00:00
David Webster
97fdfcc9fd cleaning up image mess for os/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 05:42:26 +00:00
Vadim Zeitlin
1ef54dcf12 wxDateTime...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 21:27:57 +00:00
Vadim Zeitlin
fcc3d7cbad 1. more wxDateTime work
2. some thread corrections (not fixing the deadlock with Delete() :-( )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:15:53 +00:00
Vadim Zeitlin
2f02cb8966 wxDateTime starting to work, more tests for it and for threads in console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 21:55:00 +00:00
Vadim Zeitlin
b76b015ed9 1. msec resolution for timer functions under Win32
2. small wxLog corrections/enhancements
3. some wxDateTime and wxLongLong work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 23:30:18 +00:00
Vadim Zeitlin
162b0c3bf5 MSW compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 22:56:03 +00:00
Vadim Zeitlin
8b81872f2e the initial draft of wxLongLong class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 18:16:31 +00:00