Vadim Zeitlin
1663c65500
show the unhandled exceptions in debug build instead of silently eating them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 14:20:16 +00:00
Vadim Zeitlin
724b119a15
replace wxDocument::GetPrintableName(wxString&) and wxDocManager::MakeDefaultName(wxString&) with GetUserReadableName() and MakeNewDocumentName() which return wxStrings directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:49:56 +00:00
Václav Slavík
6ae3ead6f0
always compile at least a minimal version of wxStandardPaths class, it's used too often
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:21:57 +00:00
Václav Slavík
c560da981a
use char* instead of wxChar* for XRC IDs to save space; GetXRCID() takes wxString argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:12:51 +00:00
Vadim Zeitlin
5d88a6b579
added wxDEPRECATED_BUT_USED_INTERNALLY macro and use it for the old wxLog::DoLog() overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 15:08:51 +00:00
Vadim Zeitlin
149210fbba
documented WXUSING/MAKINGDLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 14:13:00 +00:00
Vadim Zeitlin
21686ff448
documented __WXDFB__ and __WXGTK2n__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 13:38:21 +00:00
Jouk Jansen
28ffb1f22f
Committing in .
...
Changes to make OpenVMS compile WX
Modified Files:
wxWidgets/include/wx/wxcrt.h wxWidgets/include/wx/wxcrtbase.h
wxWidgets/src/common/wxcrt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 12:52:25 +00:00
Václav Slavík
a33c7045d1
don't put invalid UTF-8 data into wxString if Printf() fails in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 11:26:29 +00:00
Václav Slavík
63415a83f7
(blind) compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 09:57:57 +00:00
Vadim Zeitlin
8f0b4082f4
corrected strptime() test, don't use NULL pointer as this crashes under Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-15 00:29:54 +00:00
Paul Cornett
056b067f47
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 06:34:39 +00:00
Paul Cornett
823fb291ae
remove gtk1 code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 05:56:47 +00:00
Václav Slavík
37a4076eb5
fixed wxComboBox::Replace() to correctly use UTF-8 string even in ANSI build and to compile with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 05:54:26 +00:00
Vadim Zeitlin
63a09523da
check if strptime() works correctly and disable its use if it doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 00:56:35 +00:00
Václav Slavík
8d6c5e4f3f
prefer wxFFile to wxFile if both are available, for better performance (see bug #1736365 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 20:49:27 +00:00
Václav Slavík
049908c573
make wxFrame a wxControlContainer too, so that it behaves in the same way as wxDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 16:29:23 +00:00
Václav Slavík
6b6bd02c07
don't propagate wxChildFocusEvent outside of wxTLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:35:57 +00:00
Vadim Zeitlin
105260e89f
overload wxStrpbrk() for more types and add tests for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:31:09 +00:00
Václav Slavík
1757c449c4
removed redundant #include <dynarray.h>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 15:09:41 +00:00
Vadim Zeitlin
f291c98e52
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT as this gives more detailed information in case of a test failure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 14:29:02 +00:00
Vadim Zeitlin
af9c764aa1
strWC used in the tests was supposed to be a wide string, not a narrow one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 14:21:40 +00:00
Vadim Zeitlin
10de049c42
Unicode compilation fix: wxStrlocale() doesn't take wide strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 14:19:24 +00:00
Vadim Zeitlin
7c37eb10fd
added wxNullPtr and use it instead of just 0 with wxFileTypeInfo vararg ctor to fix crashes under 64 bit architectures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 11:32:44 +00:00
Václav Slavík
e9c7391947
added missing #includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 10:52:10 +00:00
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