Commit Graph

40306 Commits

Author SHA1 Message Date
Václav Slavík
12e8247795 use wxString in wxDateTime methods (only partially done)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 18:41:27 +00:00
Václav Slavík
a007b626a7 wxUSE_UNICODE_MSLU compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 17:08:23 +00:00
Jouk Jansen
84a90fc847 Updates for VMS
Modified Files:
 	setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 13:32:33 +00:00
Vadim Zeitlin
2e1338ee4f update from Yuri Chornoivan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 12:08:35 +00:00
Václav Slavík
ab6ef7e6e8 more STL fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 11:21:58 +00:00
Václav Slavík
f62262aacf ANSI/Unix build compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 10:11:55 +00:00
Václav Slavík
062ccd654a PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-12 06:43:59 +00:00
Václav Slavík
541aa82180 fixed VC6 warnings about non-dllexported members in dllexported classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 19:59:11 +00:00
Václav Slavík
ae51cebbe6 compilation fix for gcc 3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 19:57:01 +00:00
Julian Smart
f728025eae Added a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 17:16:59 +00:00
Václav Slavík
4e5b3a4eb5 added long int operators to wxUniChar (fixes wxMac compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:16:14 +00:00
Václav Slavík
5bce3e6feb use wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility with STL build without implicit wxString conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:11:15 +00:00
Václav Slavík
01c0981e75 added wchar_t, wxUniChar overloads for wxStrchr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:00:09 +00:00
Václav Slavík
19984725d5 VC6 doesn't like 'return callToVoidFunc();' statements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 10:06:38 +00:00
Václav Slavík
ec74e45971 gcc on OS X has problems with compiling empty files on SMB shares, added a comment to make macsock.h non-empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:49:10 +00:00
Václav Slavík
faa60a4f0b OS X compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:28:54 +00:00
Václav Slavík
8728cae3bf OS X compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 07:12:37 +00:00
Václav Slavík
872ef9434a ATTRIBUTE_PRINTF doesn't work with wchar_t* format strings in gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:34:45 +00:00
Václav Slavík
0bf751e7e9 compilation fixes for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:10:37 +00:00
Václav Slavík
3a3dde0d44 use wx/crt.h as the 'official' header for wxCRT wrappers instead of wxchar.h; add comments explaining that users should include wx/crt.h to implementation headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 06:08:13 +00:00
Václav Slavík
b724bafee0 fixed signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 21:38:37 +00:00
Václav Slavík
d23849361d PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 21:33:45 +00:00
Václav Slavík
eb9524ca66 1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 20:44:27 +00:00
Václav Slavík
8650108199 don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:42:41 +00:00
Václav Slavík
52de37c78f 1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:14:14 +00:00
Vadim Zeitlin
c475be6dfa make PositionTextCtrl() virtual (patch 1734405)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 16:32:06 +00:00
Julian Smart
351c06476d Faster hex encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:52:47 +00:00
Vadim Zeitlin
4871d34290 initialize the variable as XtVaGetValues() may not do it apparently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 17:02:56 +00:00
Vadim Zeitlin
e37e082ef2 generate disconnection event if recv() returns 0 in Detected_Read() (patch 1730589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 11:05:35 +00:00
Vadim Zeitlin
0c1602b8ad fix custom draw bug for controls with only one column (patch 1731024)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:57:25 +00:00
Vadim Zeitlin
fdb9d2b867 fix SetProcessAffinityMask() prototype (was missing WINAPI, i.e. the all important stdcall) (patch 1731976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:53:26 +00:00
Vadim Zeitlin
c4cd8712cd cancel dragging if Esc is pressed (patch 1733657)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-09 10:50:40 +00:00
Václav Slavík
1fc10687bf added wxUniChar::AsUTF8() for easy conversion in UTF8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 20:17:34 +00:00
Stefan Neis
9a5bfa1eab Try using UTF-8 on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 16:48:12 +00:00
Julian Smart
385960a91f Small typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 12:41:22 +00:00
Julian Smart
125892b804 Init fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Robin Dunn
b3cbba47eb Yielding from a non-gui thread needs to bail out, otherwise we end up
possibly sending events in the thread too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:34:54 +00:00
Julian Smart
1a75935d3f Don't insert a newline when we get text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 12:49:35 +00:00
Chris Elliott
d9605e634b missing closing bracket broke tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 08:44:28 +00:00
Václav Slavík
cacd819d0e removed unused glob.inc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 04:46:03 +00:00
Robert Roebling
c0a66d9237 Added initial OS X implementation of the wxDataViewCtrl
in its current tabular form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 23:40:24 +00:00
Václav Slavík
aec1621e4f marked WinCE implementations of wxOpen etc. functions as dllexported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 15:56:44 +00:00
Václav Slavík
eb6cb20793 fixed wxScanf() etc. to compile with Visual C++ again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 13:48:24 +00:00
Vadim Zeitlin
4c2a8d899d compilation fix after last commit: make wxAppConsole a class, not typedef, under non-Unix as we can't forward declare a typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 17:31:10 +00:00
Václav Slavík
c41845733d don't crash when using wxHtmlWidgetCell in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +00:00
Vadim Zeitlin
22cc2fd905 update from Hakki Dogusan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 18:11:39 +00:00
Vadim Zeitlin
1e96933183 fix typo in Selecting() description (bug 1726270)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:49:41 +00:00
Vadim Zeitlin
e0954e729d rename old wxAppConsole to wxAppConsoleBase and wxAppConsoleUnix to wxAppConsole for consistency with wxAppBase/wxApp and to fix the bug 1729377 (crash when using timers under Unix in console app); also #define wxApp as wxAppConsole instead of declaring it as a real class in console build to avoid problems with ODR violation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:39:23 +00:00
Vadim Zeitlin
74e10fcc6a reset one shot timer internal state instead of leaving it thinking that it's still running (mdified patch 1730597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:34:54 +00:00
Václav Slavík
c49f887978 wxSscanf() and friends are now Unicode+ANSI friendly wrappers instead of defines for CRT functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 12:56:50 +00:00