]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Thu, 21 Jun 2007 15:21:03 +0000 (15:21 +0000)]
pass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46587
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 21 Jun 2007 15:16:10 +0000 (15:16 +0000)]
Copied fonts in art Clone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46585
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 21 Jun 2007 15:07:51 +0000 (15:07 +0000)]
Added font setting and ability to determine AUI notebook height for a given page height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46583
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 21 Jun 2007 12:44:38 +0000 (12:44 +0000)]
Added DetachOldLog to avoid destruction of old log target
Renamed wxLogPassThrough to wxLogInterposer
Added wxLogInterposerTemp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46580
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 21 Jun 2007 11:50:34 +0000 (11:50 +0000)]
document that wx[HV]SCROLL don't work with native controls not TLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46577
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 21 Jun 2007 11:44:05 +0000 (11:44 +0000)]
check that we do have scrollbars before using them to avoid crashes when SetScrollXXX() methods are called for windows which are not scrollable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46575
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 21 Jun 2007 11:16:57 +0000 (11:16 +0000)]
fix to the previous commit: percent signs have to be escaped first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46573
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 21 Jun 2007 03:43:01 +0000 (03:43 +0000)]
fix reversed left/top variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46571
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 21 Jun 2007 00:05:01 +0000 (00:05 +0000)]
fix handling of '#' in file names (patch
1740328 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46569
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 20 Jun 2007 21:29:07 +0000 (21:29 +0000)]
single line wxTextCtrl fg colour fix is now in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46567
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 20 Jun 2007 17:49:13 +0000 (17:49 +0000)]
fix reparenting a control into wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46562
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 20 Jun 2007 15:36:26 +0000 (15:36 +0000)]
Added extra width for controls to avoid edge being clipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46561
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 20 Jun 2007 14:02:06 +0000 (14:02 +0000)]
Fixed uninstalled toolbars in native toolbar mode, with a method for
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46558
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 20 Jun 2007 13:21:46 +0000 (13:21 +0000)]
Fix for non-CG mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46557
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 20 Jun 2007 07:47:51 +0000 (07:47 +0000)]
remove implicit conversion to C strings from wxString if wxUSE_STL=1; this fixes problems with converting between wxString and std::string in some situations at the cost of having to use c_str() explicitly just as you have to when using std::string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46554
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 20 Jun 2007 07:44:45 +0000 (07:44 +0000)]
more changes to make wx compile without implicit wxString->char* conversion (for STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 20 Jun 2007 07:09:14 +0000 (07:09 +0000)]
use wxString in wxRegKey methods; make it compile without implicit wxString->char* conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46552
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Wed, 20 Jun 2007 04:22:56 +0000 (04:22 +0000)]
Fix SetExtraLong parameter type in docs from int to long. Noticed by nept2 on IRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46551
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 20 Jun 2007 00:16:17 +0000 (00:16 +0000)]
mention changes from 2.8 branch too, at the very least keeping the 2 versions of this file on 2 branches in sync facilitates backporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46550
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 20 Jun 2007 00:10:35 +0000 (00:10 +0000)]
don't free "static" alpha data (patch
1738966 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46548
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 20:02:49 +0000 (20:02 +0000)]
make wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favour of wxUnsetEnv()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46547
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 19:58:56 +0000 (19:58 +0000)]
added missing #if wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46546
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 19:29:07 +0000 (19:29 +0000)]
return wxString from wxDynamicLibrary::GetDllExt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46545
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 17:39:27 +0000 (17:39 +0000)]
use wxString in wxFileSystem::FindFileInPath()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46544
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 16:06:26 +0000 (16:06 +0000)]
compilation fix for non-STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46542
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Tue, 19 Jun 2007 15:08:13 +0000 (15:08 +0000)]
Finally fixed control scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46540
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 14:51:10 +0000 (14:51 +0000)]
wxLog::Get/Settimestamp() now use wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46539
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 13:54:23 +0000 (13:54 +0000)]
return wxString from wxTextBuffer::GetName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46538
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 11:57:48 +0000 (11:57 +0000)]
changed wxFFileOutput/InputStream ctor 'mode' argument to wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46537
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 19 Jun 2007 11:54:36 +0000 (11:54 +0000)]
changed wxGLContext::SetColour() argument from wxChar* to wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46536
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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