]>
git.saurik.com Git - wxWidgets.git/log
Václav Slavík [Mon, 18 Jun 2007 20:30:20 +0000 (20:30 +0000)]
made the code a bit more readable by not using _T() around to-be-generated code snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46534
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 18 Jun 2007 20:22:08 +0000 (20:22 +0000)]
made the code a bit more readable by not using _T() around to-be-generated code snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46533
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 18 Jun 2007 19:39:13 +0000 (19:39 +0000)]
Coerce to floating point to fix ResampleBicubic. See bug #
1736953 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46531
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 18 Jun 2007 19:34:56 +0000 (19:34 +0000)]
Send the calendar and date changed events to the datepicker ctrl first
(not its parent) so they can be caught by dynamic event handlers
connected directly to the picker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46530
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Mon, 18 Jun 2007 19:23:09 +0000 (19:23 +0000)]
Must update iterator to avoid infinite loop
in case backend initialization fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46529
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 18 Jun 2007 18:43:34 +0000 (18:43 +0000)]
improve XRC loading performance on Unix by avoiding MIME database loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46523
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 18 Jun 2007 16:14:25 +0000 (16:14 +0000)]
make our vsnprintf() implementation work for ANSI version too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46518
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 18 Jun 2007 08:55:11 +0000 (08:55 +0000)]
fixed wxString iterators linked list corruption
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46515
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Mon, 18 Jun 2007 06:03:50 +0000 (06:03 +0000)]
gtk_border_free is for freeing GtkBorder's, not g_free.
Using g_free instead used to have no ill effects as gtk_border_free called that anyway, but in gtk+-2.11 GtkBorder
uses GSlice and gtk_border_free therefore uses g_slice_free and using g_free makes things crash hard.
So fix it or wxGTK won't work with the upcoming gtk+-2.12 stable release planned for end of July.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46513
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Mon, 18 Jun 2007 04:54:41 +0000 (04:54 +0000)]
Fix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_URL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46511
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 17 Jun 2007 17:52:40 +0000 (17:52 +0000)]
when selecting text in wxHTML, selecting half a character is enough to select it (patch #
1719530 ; this is standard behaviour when selecting text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46506
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 17 Jun 2007 17:31:09 +0000 (17:31 +0000)]
fixed selecting part of word from right to left in wxHTML (patch #
1719530 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46505
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 17 Jun 2007 11:02:03 +0000 (11:02 +0000)]
Linking fix: g_isIdle is for GTK1 only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46504
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 17 Jun 2007 10:59:01 +0000 (10:59 +0000)]
determine wxFSFile's MIME type when wxFSFile::GetMimeType() is called instead of creating it; this dramatically improves startup times of XRC applications on Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46503
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 17 Jun 2007 09:29:41 +0000 (09:29 +0000)]
don't make read-only text controls editable when enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46502
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 17 Jun 2007 00:51:36 +0000 (00:51 +0000)]
correct setting of pSymbol->SizeOfStruct (patch
1737789 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46500
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 16 Jun 2007 23:57:25 +0000 (23:57 +0000)]
fix unused parameters warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46499
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 16 Jun 2007 19:11:40 +0000 (19:11 +0000)]
fixed crash when setting locale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46495
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 16 Jun 2007 17:32:09 +0000 (17:32 +0000)]
wxUSE_STL compilation fixes for wxGenericFontDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46494
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 16 Jun 2007 17:15:16 +0000 (17:15 +0000)]
removed code for compatibility with OS X <= 10.2, 10.3 is the minimum since wx-2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46493
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 16 Jun 2007 14:45:01 +0000 (14:45 +0000)]
changed wxIsxxx() to return bool, not int, to avoid int->bool conversion warnings from VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46492
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 16 Jun 2007 14:29:52 +0000 (14:29 +0000)]
fixed FromUTF8() to accept NULL as well as len==npos; this fixes crashes when loading XML files in UTF-8 build with wxUSE_STL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46491
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 16 Jun 2007 14:20:16 +0000 (14:20 +0000)]
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
Vadim Zeitlin [Sat, 16 Jun 2007 12:49:56 +0000 (12:49 +0000)]
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
Václav Slavík [Fri, 15 Jun 2007 15:21:57 +0000 (15:21 +0000)]
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
Václav Slavík [Fri, 15 Jun 2007 15:12:51 +0000 (15:12 +0000)]
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
Vadim Zeitlin [Fri, 15 Jun 2007 15:08:51 +0000 (15:08 +0000)]
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
Vadim Zeitlin [Fri, 15 Jun 2007 14:13:00 +0000 (14:13 +0000)]
documented WXUSING/MAKINGDLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46478
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 15 Jun 2007 13:38:21 +0000 (13:38 +0000)]
documented __WXDFB__ and __WXGTK2n__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46477
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Fri, 15 Jun 2007 12:52:25 +0000 (12:52 +0000)]
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
Václav Slavík [Fri, 15 Jun 2007 11:26:29 +0000 (11:26 +0000)]
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
Václav Slavík [Fri, 15 Jun 2007 09:57:57 +0000 (09:57 +0000)]
(blind) compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46474
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 15 Jun 2007 00:29:54 +0000 (00:29 +0000)]
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
Paul Cornett [Thu, 14 Jun 2007 06:34:39 +0000 (06:34 +0000)]
typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46464
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 14 Jun 2007 05:56:47 +0000 (05:56 +0000)]
remove gtk1 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46463
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 14 Jun 2007 05:54:26 +0000 (05:54 +0000)]
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
Vadim Zeitlin [Thu, 14 Jun 2007 00:56:35 +0000 (00:56 +0000)]
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
Václav Slavík [Wed, 13 Jun 2007 20:49:27 +0000 (20:49 +0000)]
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
Václav Slavík [Wed, 13 Jun 2007 16:29:23 +0000 (16:29 +0000)]
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
Václav Slavík [Wed, 13 Jun 2007 15:35:57 +0000 (15:35 +0000)]
don't propagate wxChildFocusEvent outside of wxTLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46451
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 13 Jun 2007 15:31:09 +0000 (15:31 +0000)]
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
Václav Slavík [Wed, 13 Jun 2007 15:09:41 +0000 (15:09 +0000)]
removed redundant #include <dynarray.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46448
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 13 Jun 2007 14:29:02 +0000 (14:29 +0000)]
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
Vadim Zeitlin [Wed, 13 Jun 2007 14:21:40 +0000 (14:21 +0000)]
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
Vadim Zeitlin [Wed, 13 Jun 2007 14:19:24 +0000 (14:19 +0000)]
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
Vadim Zeitlin [Wed, 13 Jun 2007 11:32:44 +0000 (11:32 +0000)]
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
Václav Slavík [Wed, 13 Jun 2007 10:52:10 +0000 (10:52 +0000)]
added missing #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46438
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 12 Jun 2007 18:41:27 +0000 (18:41 +0000)]
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
Václav Slavík [Tue, 12 Jun 2007 17:08:23 +0000 (17:08 +0000)]
wxUSE_UNICODE_MSLU compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46425
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Tue, 12 Jun 2007 13:32:33 +0000 (13:32 +0000)]
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
Vadim Zeitlin [Tue, 12 Jun 2007 12:08:35 +0000 (12:08 +0000)]
update from Yuri Chornoivan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46418
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 12 Jun 2007 11:21:58 +0000 (11:21 +0000)]
more STL fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46417
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 12 Jun 2007 10:11:55 +0000 (10:11 +0000)]
ANSI/Unix build compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46416
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 12 Jun 2007 06:43:59 +0000 (06:43 +0000)]
PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46415
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 11 Jun 2007 19:59:11 +0000 (19:59 +0000)]
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
Václav Slavík [Mon, 11 Jun 2007 19:57:01 +0000 (19:57 +0000)]
compilation fix for gcc 3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46406
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 11 Jun 2007 17:16:59 +0000 (17:16 +0000)]
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
Václav Slavík [Mon, 11 Jun 2007 12:16:14 +0000 (12:16 +0000)]
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
Václav Slavík [Mon, 11 Jun 2007 12:11:15 +0000 (12:11 +0000)]
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
Václav Slavík [Mon, 11 Jun 2007 12:00:09 +0000 (12:00 +0000)]
added wchar_t, wxUniChar overloads for wxStrchr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46402
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 11 Jun 2007 10:06:38 +0000 (10:06 +0000)]
VC6 doesn't like 'return callToVoidFunc();' statements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46401
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 11 Jun 2007 07:49:10 +0000 (07:49 +0000)]
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
Václav Slavík [Mon, 11 Jun 2007 07:28:54 +0000 (07:28 +0000)]
OS X compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46399
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 11 Jun 2007 07:12:37 +0000 (07:12 +0000)]
OS X compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46398
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 11 Jun 2007 06:34:45 +0000 (06:34 +0000)]
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
Václav Slavík [Mon, 11 Jun 2007 06:10:37 +0000 (06:10 +0000)]
compilation fixes for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46396
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 11 Jun 2007 06:08:13 +0000 (06:08 +0000)]
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
Václav Slavík [Sun, 10 Jun 2007 21:38:37 +0000 (21:38 +0000)]
fixed signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46394
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 10 Jun 2007 21:33:45 +0000 (21:33 +0000)]
PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46393
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 10 Jun 2007 20:44:27 +0000 (20:44 +0000)]
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
Václav Slavík [Sun, 10 Jun 2007 17:42:41 +0000 (17:42 +0000)]
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
Václav Slavík [Sun, 10 Jun 2007 17:14:14 +0000 (17:14 +0000)]
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
Vadim Zeitlin [Sun, 10 Jun 2007 16:32:06 +0000 (16:32 +0000)]
make PositionTextCtrl() virtual (patch
1734405 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46389
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Sat, 9 Jun 2007 17:52:47 +0000 (17:52 +0000)]
Faster hex encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46387
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 9 Jun 2007 17:02:56 +0000 (17:02 +0000)]
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
Vadim Zeitlin [Sat, 9 Jun 2007 11:05:35 +0000 (11:05 +0000)]
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
Vadim Zeitlin [Sat, 9 Jun 2007 10:57:25 +0000 (10:57 +0000)]
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
Vadim Zeitlin [Sat, 9 Jun 2007 10:53:26 +0000 (10:53 +0000)]
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
Vadim Zeitlin [Sat, 9 Jun 2007 10:50:40 +0000 (10:50 +0000)]
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
Václav Slavík [Fri, 8 Jun 2007 20:17:34 +0000 (20:17 +0000)]
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
Stefan Neis [Fri, 8 Jun 2007 16:48:12 +0000 (16:48 +0000)]
Try using UTF-8 on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46374
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 8 Jun 2007 12:41:22 +0000 (12:41 +0000)]
Small typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46372
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 7 Jun 2007 20:28:50 +0000 (20:28 +0000)]
Init fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46365
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Thu, 7 Jun 2007 18:34:54 +0000 (18:34 +0000)]
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
Julian Smart [Thu, 7 Jun 2007 12:49:35 +0000 (12:49 +0000)]
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
Chris Elliott [Thu, 7 Jun 2007 08:44:28 +0000 (08:44 +0000)]
missing closing bracket broke tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46353
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 7 Jun 2007 04:46:03 +0000 (04:46 +0000)]
removed unused glob.inc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46348
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 6 Jun 2007 23:40:24 +0000 (23:40 +0000)]
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
Václav Slavík [Wed, 6 Jun 2007 15:56:44 +0000 (15:56 +0000)]
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
Václav Slavík [Wed, 6 Jun 2007 13:48:24 +0000 (13:48 +0000)]
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
Vadim Zeitlin [Tue, 5 Jun 2007 17:31:10 +0000 (17:31 +0000)]
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
Václav Slavík [Tue, 5 Jun 2007 12:12:46 +0000 (12:12 +0000)]
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
Vadim Zeitlin [Mon, 4 Jun 2007 18:11:39 +0000 (18:11 +0000)]
update from Hakki Dogusan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46327
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 4 Jun 2007 13:49:41 +0000 (13:49 +0000)]
fix typo in Selecting() description (bug
1726270 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46326
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 4 Jun 2007 13:39:23 +0000 (13:39 +0000)]
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
Vadim Zeitlin [Mon, 4 Jun 2007 13:34:54 +0000 (13:34 +0000)]
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
Václav Slavík [Mon, 4 Jun 2007 12:56:50 +0000 (12:56 +0000)]
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
Václav Slavík [Mon, 4 Jun 2007 12:51:25 +0000 (12:51 +0000)]
compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46322
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 4 Jun 2007 12:50:43 +0000 (12:50 +0000)]
provide overloads for all kinds of strings for wxDataFormat ctor to allow passing strings as formats implicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46321
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 4 Jun 2007 11:02:29 +0000 (11:02 +0000)]
add wx/unix/private directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46320
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775