Vadim Zeitlin
d3c58c7ec0
use wxLongLong::ToLong() and not GetLo() to extract time_t value in GetTicks(): they are very different on 64 bit platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:43:57 +00:00
Václav Slavík
7da37f2c5d
make it possible to build in ANSI build on Windows again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 09:55:18 +00:00
Robert Roebling
d5025dc00f
More patches from Bo, reduced wxDataViewModel, more sorting preps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 00:35:39 +00:00
David Elliott
64dfdfa28b
Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:03:20 +00:00
Robert Roebling
3b6280beb2
Bo's patch for generic code, more sorting code, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:58:28 +00:00
Vadim Zeitlin
325ab46800
removed Insert() methods which already exist in the base wxControlWithItems class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:04:07 +00:00
Paul Cornett
1d66b09982
fix MDI child sizing, which was working more or less by accident before I broke it in rev 46223
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 07:01:54 +00:00
Václav Slavík
f24fc8367d
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 06:13:52 +00:00
Vadim Zeitlin
5814e8ba4e
added support for binary data to wxConfig (slightly modified patch 1736788)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:11:03 +00:00
Vadim Zeitlin
b0fc907f70
added wxUSE_SVG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:52:41 +00:00
Vadim Zeitlin
8e10778e0e
cleanup: indentation, line length, don't include unneeded headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 20:42:37 +00:00
Vadim Zeitlin
fae8664187
compilation fixes for wxUSE_MSGDLG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:51 +00:00
Vadim Zeitlin
c052164410
compilation fixes for wxUSE_IMAGE==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:02:11 +00:00
Vadim Zeitlin
3c029873c6
check for wxUSE_TIMER in headers, not the files including them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:00:33 +00:00
Vadim Zeitlin
bd08f2f766
compilation fixes for wxUSE_LONGLONG==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:19:17 +00:00
Vadim Zeitlin
8c7f47ddde
don't include wx/unix/private/timer.h from evtloop.h, it's only needed in .cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 23:11:04 +00:00
Václav Slavík
dc300f9ffc
compilation fix for gcc<3.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 20:13:59 +00:00
Václav Slavík
c3ee702552
implemented raw bitmap access for wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 16:49:19 +00:00
Václav Slavík
650c0aa918
cleanup of raw access to bitmaps:
...
1. remove UseAlpha() on platforms that don't need it and call it automatically from ~wxPixelData instead of requiring explicit call; deprecate wxPixelData::UseAlpha()
2. don't call UngetRawData() if GetRawData() failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 13:32:25 +00:00
Robert Roebling
a596eeb93f
Block all events in wxSpinButton::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:58:03 +00:00
Robert Roebling
28529e37e2
Block all events in wxSpinCtrl::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:50:14 +00:00
Robert Roebling
0bf36922c8
Block all events in wxSpinCtrl::SetValue etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 11:48:23 +00:00
Vadim Zeitlin
92bf6cc15a
Also added wxFFileStream::IsOk() and corrected IsOk() implementations of
...
wxFileInput/OutputStream to call the immediate base class version of this
method and not wxStreamBase one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:02:54 +00:00
Vadim Zeitlin
4db03d266b
added functions for base64 en/decoding (replaces patch 1739431)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 01:51:43 +00:00
Vadim Zeitlin
a6ac8d7582
added wxFileStream::IsOk() (patch 1749587)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 16:59:09 +00:00
Vadim Zeitlin
033bf67c3c
added missing WXDLLIMPEXP_CORE for wxGetDisplay() for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:18:32 +00:00
Robert Roebling
5732efaa91
Add compare function to wxDataViewModel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 12:32:59 +00:00
Robert Roebling
aba9bfd00a
Bo'd patch to make wxDataViewCtrl compile again (4th attempt
...
to actually commit).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:38:22 +00:00
Václav Slavík
0ff20b9f00
added GCC visibility support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:12:51 +00:00
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Václav Slavík
57e2b887a0
removed unsecure wxTmpnam() function (patch by Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 19:06:03 +00:00
Václav Slavík
6dc2e82330
fix Watcom compilation: removed templates for wxFileSelector() compatibility with passing NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 08:40:37 +00:00
Václav Slavík
c5cf866314
removed wxWCHAR_T_IS_SEPARATE_TYPE: there already was wxWCHAR_T_IS_REAL_TYPE with the exact same meaning and definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 07:04:38 +00:00
Paul Cornett
0728199b91
process pending wx events before sending idle events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 05:31:32 +00:00
David Elliott
9ed8b5a7b2
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
...
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 22:10:02 +00:00
David Elliott
991dd5beb9
Add support for wxFONTENCODING_MACKEYBOARD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:56:46 +00:00
Robert Roebling
9bb3f212e2
GCC doesn't like inline wxDEPRECATED methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 14:09:22 +00:00
Václav Slavík
e966f815d4
changed wxVectorBase and WX_DECLARE_BASE into wxVector<T> template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 10:09:42 +00:00
David Elliott
e4dd1e19a2
Move wxMBConv_cf out of strconv.cpp and into strconv_cf.(cpp|h) by forking the files (svn copy) and removing the appropriate portions from each fork.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 02:56:40 +00:00
Václav Slavík
af717fa87a
fixed to make wxVariant compatible with both ANSI and Unicode modes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 23:02:16 +00:00
Václav Slavík
e2badebb8f
added alpha channel support to wxDFB's wxBitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 22:24:28 +00:00
Vadim Zeitlin
5a83f42b3a
use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl, library)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:40:45 +00:00
Václav Slavík
c2d122aa7d
added missing wxUniChar::operator=(wxUniCharRef)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:40:36 +00:00
David Elliott
4799f3baab
Make wxCocoa compile in 64-bit mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 00:18:28 +00:00
David Elliott
d23bf09c7f
Implement wxColour constructors to match other ports by adding char const * and wchar_t const * constructors.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:20:40 +00:00
Bryan Petty
5a0ed193cd
Added deprecation warnings to old wxVScrolledWindow functions (in wxVarVScrollLegacyAdaptor), and fixed a minor documentation format error in the wxVScrolledWindow docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:42:39 +00:00
Václav Slavík
50b2d54446
added missing WXDLLIMPEXP_CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 17:59:27 +00:00
Robert Roebling
5debbdcf7b
The dataview sample compiles now, but doesn't work yet...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 14:59:16 +00:00
Robert Roebling
e0062c047e
New API for wxdataViewCtrl (doesn't run yet).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 00:13:28 +00:00
Vadim Zeitlin
60edcf4535
added support for broadcasting to UDP sockets (patch 1740266)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:33:11 +00:00