]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agosupport multiline labels in wxCheckBox (#9495)
Vadim Zeitlin [Sat, 7 Jun 2008 01:54:44 +0000 (01:54 +0000)] 
support multiline labels in wxCheckBox (#9495)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocorrect phrase broken by the last change
Vadim Zeitlin [Sat, 7 Jun 2008 01:24:56 +0000 (01:24 +0000)] 
correct phrase broken by the last change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocall wxSizerFlags::Top/Bottom() or Left/Right() shouldn't change horizontal or vertic...
Vadim Zeitlin [Sat, 7 Jun 2008 01:22:34 +0000 (01:22 +0000)] 
call wxSizerFlags::Top/Bottom() or Left/Right() shouldn't change horizontal or vertical alignment (#9534)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agochange another long type to wxBitmapType
Vadim Zeitlin [Sat, 7 Jun 2008 00:53:10 +0000 (00:53 +0000)] 
change another long type to wxBitmapType

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agospecify the name of the control (#9515)
Vadim Zeitlin [Sat, 7 Jun 2008 00:04:53 +0000 (00:04 +0000)] 
specify the name of the control (#9515)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreplace another SF link with wxTrac one (#9501)
Vadim Zeitlin [Sat, 7 Jun 2008 00:01:39 +0000 (00:01 +0000)] 
replace another SF link with wxTrac one (#9501)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreplace SF links with wxTrac ones (#9500)
Vadim Zeitlin [Fri, 6 Jun 2008 23:58:11 +0000 (23:58 +0000)] 
replace SF links with wxTrac ones (#9500)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse report mode for the wxListbook list control if there are no images (#9484)
Vadim Zeitlin [Fri, 6 Jun 2008 23:50:21 +0000 (23:50 +0000)] 
use report mode for the wxListbook list control if there are no images (#9484)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixed another pointer-to-int-of-lesser-size conversion warning
Vadim Zeitlin [Fri, 6 Jun 2008 23:40:00 +0000 (23:40 +0000)] 
fixed another pointer-to-int-of-lesser-size conversion warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agochange longs used for bitmap types to wxBitmapType (#9126)
Vadim Zeitlin [Fri, 6 Jun 2008 23:33:58 +0000 (23:33 +0000)] 
change longs used for bitmap types to wxBitmapType (#9126)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't leave current item index invalid after SetItemCount() (ticket #3720)
Vadim Zeitlin [Fri, 6 Jun 2008 22:55:23 +0000 (22:55 +0000)] 
don't leave current item index invalid after SetItemCount() (ticket #3720)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove another unnecessary memcpy() of string contents to wxStringBufferLength
Vadim Zeitlin [Fri, 6 Jun 2008 21:24:35 +0000 (21:24 +0000)] 
remove another unnecessary memcpy() of string contents to wxStringBufferLength

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove unnecessary memcpy() of string contents to wxStringBufferLength
Vadim Zeitlin [Fri, 6 Jun 2008 21:20:22 +0000 (21:20 +0000)] 
remove unnecessary memcpy() of string contents to wxStringBufferLength

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoinitialize wxStringBuffer with the original contents of wxString it was created from...
Vadim Zeitlin [Fri, 6 Jun 2008 21:19:23 +0000 (21:19 +0000)] 
initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845); add wxString::tchar_buf() to help with the implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for VC6 (and maybe not only): enums defined in containing class are...
Vadim Zeitlin [Fri, 6 Jun 2008 21:06:16 +0000 (21:06 +0000)] 
compilation fix for VC6 (and maybe not only): enums defined in containing class are not accessible from the nested classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fixes for ANSI build
Vadim Zeitlin [Fri, 6 Jun 2008 20:56:16 +0000 (20:56 +0000)] 
compilation fixes for ANSI build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremoved the test which never works: Lower/Upper() don't work with Unicode strings...
Vadim Zeitlin [Fri, 6 Jun 2008 20:55:39 +0000 (20:55 +0000)] 
removed the test which never works: Lower/Upper() don't work with Unicode strings currently

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoFixed reading of image type
Julian Smart [Fri, 6 Jun 2008 15:21:54 +0000 (15:21 +0000)] 
Fixed reading of image type

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocorrected bug in wxTimeSpan::IsShorterThan() for equal time spans (ticket #9539)
Vadim Zeitlin [Thu, 5 Jun 2008 23:51:04 +0000 (23:51 +0000)] 
corrected bug in wxTimeSpan::IsShorterThan() for equal time spans (ticket #9539)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoPCH-less compilation fix
Václav Slavík [Thu, 5 Jun 2008 15:05:52 +0000 (15:05 +0000)] 
PCH-less compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed...
Vadim Zeitlin [Thu, 5 Jun 2008 13:47:32 +0000 (13:47 +0000)] 
compilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed here and was only included indirectly via wx/filesys.h) (ticket #9537)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
Václav Slavík [Thu, 5 Jun 2008 09:38:37 +0000 (09:38 +0000)] 
added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoChanged wxHTML default font size for printing to be 12pt regardless
Václav Slavík [Wed, 4 Jun 2008 22:34:09 +0000 (22:34 +0000)] 
Changed wxHTML default font size for printing to be 12pt regardless
of the platform; this font shouldn't depend on toolkit's default
GUI font (introduced in 2.8, now reverting to pre-2.8 correct
behaviour).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agowxDFB: implemented Raise() and Lower() for TLWs
Václav Slavík [Wed, 4 Jun 2008 21:50:06 +0000 (21:50 +0000)] 
wxDFB: implemented Raise() and Lower() for TLWs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for wxUSE_STL==1
Vadim Zeitlin [Wed, 4 Jun 2008 18:46:15 +0000 (18:46 +0000)] 
compilation fix for wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoglcmn.cpp doesn't belong in OPENGL_SRC_PLATFORM (it is incorrect syntax that was...
Václav Slavík [Wed, 4 Jun 2008 14:19:18 +0000 (14:19 +0000)] 
glcmn.cpp doesn't belong in OPENGL_SRC_PLATFORM (it is incorrect syntax that was previously silently ignored)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMore compilation fixes for mingw-w64.
Stefan Neis [Wed, 4 Jun 2008 10:53:02 +0000 (10:53 +0000)] 
More compilation fixes for mingw-w64.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoOut by one correction
Julian Smart [Wed, 4 Jun 2008 06:14:59 +0000 (06:14 +0000)] 
Out by one correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoRemove old GTK 1.2 code
Robert Roebling [Tue, 3 Jun 2008 19:49:06 +0000 (19:49 +0000)] 
Remove old GTK 1.2 code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoprevent memory leak
Benjamin Williams [Tue, 3 Jun 2008 16:52:59 +0000 (16:52 +0000)] 
prevent memory leak

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremoved deleted wx/gtk/treectrl.h from bakefiles as well
Vadim Zeitlin [Tue, 3 Jun 2008 16:14:03 +0000 (16:14 +0000)] 
removed deleted wx/gtk/treectrl.h from bakefiles as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix crash when repositioning tools without labels in DoDeleteTool() (ticket #9530)
Vadim Zeitlin [Tue, 3 Jun 2008 12:45:43 +0000 (12:45 +0000)] 
fix crash when repositioning tools without labels in DoDeleteTool() (ticket #9530)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoSeparate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtk...
Robert Roebling [Mon, 2 Jun 2008 21:46:29 +0000 (21:46 +0000)] 
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agosuppress warning about casting int to a pointer of greater size
Vadim Zeitlin [Mon, 2 Jun 2008 20:45:50 +0000 (20:45 +0000)] 
suppress warning about casting int to a pointer of greater size

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMake wxMenuItem::GetLabelText readable again
Robert Roebling [Mon, 2 Jun 2008 20:45:41 +0000 (20:45 +0000)] 
Make wxMenuItem::GetLabelText readable again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodefine wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop...
Vadim Zeitlin [Mon, 2 Jun 2008 20:42:23 +0000 (20:42 +0000)] 
define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdd a SetDoubleBuffered method for wxMSW (XP+)
Robin Dunn [Mon, 2 Jun 2008 18:30:13 +0000 (18:30 +0000)] 
Add a SetDoubleBuffered method for wxMSW (XP+)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoDisable disabling wxWeakRef<T>
Robert Roebling [Mon, 2 Jun 2008 18:07:06 +0000 (18:07 +0000)] 
Disable disabling wxWeakRef<T>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoregenerated all trunk makefiles with bakefile-0.2.3
Václav Slavík [Mon, 2 Jun 2008 14:48:50 +0000 (14:48 +0000)] 
regenerated all trunk makefiles with bakefile-0.2.3

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixed OSX bundles bkl code to handle conditional targets correctly
Václav Slavík [Mon, 2 Jun 2008 10:39:10 +0000 (10:39 +0000)] 
fixed OSX bundles bkl code to handle conditional targets correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded a note about wxrc to Xcode section
Vadim Zeitlin [Mon, 2 Jun 2008 08:04:17 +0000 (08:04 +0000)] 
added a note about wxrc to Xcode section

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove mentions of contrib
Vadim Zeitlin [Sun, 1 Jun 2008 22:39:57 +0000 (22:39 +0000)] 
remove mentions of contrib

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix the test for vsscanf() declaration which never passed because it was trying to...
Vadim Zeitlin [Sun, 1 Jun 2008 22:34:57 +0000 (22:34 +0000)] 
fix the test for vsscanf() declaration which never passed because it was trying to use char* instead of va_list

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse wxHAS_RAW_BITMAP instead of wxHAVE_RAW_BITMAP
Vadim Zeitlin [Sun, 1 Jun 2008 20:19:43 +0000 (20:19 +0000)] 
use wxHAS_RAW_BITMAP instead of wxHAVE_RAW_BITMAP

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocorrect error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if...
Vadim Zeitlin [Sun, 1 Jun 2008 20:17:04 +0000 (20:17 +0000)] 
correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix tool referencing, remove dropdown element in DoDeleteTool, ticket #4102
Paul Cornett [Sun, 1 Jun 2008 20:02:49 +0000 (20:02 +0000)] 
fix tool referencing, remove dropdown element in DoDeleteTool, ticket #4102

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
Vadim Zeitlin [Sun, 1 Jun 2008 18:52:22 +0000 (18:52 +0000)] 
use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodefine wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use...
Vadim Zeitlin [Sun, 1 Jun 2008 18:42:33 +0000 (18:42 +0000)] 
define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't run GUI tests under Unix if the DISPLAY is not set
Vadim Zeitlin [Sun, 1 Jun 2008 18:33:36 +0000 (18:33 +0000)] 
don't run GUI tests under Unix if the DISPLAY is not set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoReadBig() should be defined in ANSI build too
Vadim Zeitlin [Sun, 1 Jun 2008 16:59:10 +0000 (16:59 +0000)] 
ReadBig() should be defined in ANSI build too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoinclude wx/crt.h to get wxUSE_WXVSNPRINTF
Vadim Zeitlin [Sun, 1 Jun 2008 16:58:17 +0000 (16:58 +0000)] 
include wx/crt.h to get wxUSE_WXVSNPRINTF

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for wxX11
Vadim Zeitlin [Sun, 1 Jun 2008 16:56:46 +0000 (16:56 +0000)] 
compilation fix for wxX11

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreally fix the test to work in any time zone and with or without DST
Vadim Zeitlin [Sun, 1 Jun 2008 15:44:16 +0000 (15:44 +0000)] 
really fix the test to work in any time zone and with or without DST

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded missing wx/wrapsizer.h include
Vadim Zeitlin [Sun, 1 Jun 2008 15:32:41 +0000 (15:32 +0000)] 
added missing wx/wrapsizer.h include

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
Vadim Zeitlin [Sun, 1 Jun 2008 14:37:26 +0000 (14:37 +0000)] 
fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoanother compilation fix, now for Unicode build
Vadim Zeitlin [Sun, 1 Jun 2008 14:13:33 +0000 (14:13 +0000)] 
another compilation fix, now for Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdded mingw-w64 builds (cross compile on i686-linux).
Stefan Neis [Sun, 1 Jun 2008 13:24:53 +0000 (13:24 +0000)] 
Added mingw-w64 builds (cross compile on i686-linux).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix compilation with wxUSE_DRAG_AND_DROP==0 (as in wxX11 build)
Vadim Zeitlin [Sun, 1 Jun 2008 13:07:44 +0000 (13:07 +0000)] 
fix compilation with wxUSE_DRAG_AND_DROP==0 (as in wxX11 build)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for ANSI build
Vadim Zeitlin [Sun, 1 Jun 2008 13:04:26 +0000 (13:04 +0000)] 
compilation fix for ANSI build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd a special macro for comparing time_t values to fix unit test compilation on platf...
Vadim Zeitlin [Sun, 1 Jun 2008 13:01:59 +0000 (13:01 +0000)] 
add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix time zone conversion test to work in any time zone, not just GMT+1
Vadim Zeitlin [Sun, 1 Jun 2008 12:58:43 +0000 (12:58 +0000)] 
fix time zone conversion test to work in any time zone, not just GMT+1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocorrected bug in wxMBConvStrictUTF8::FromWChar(): it wrote one extra NUL when used...
Vadim Zeitlin [Sun, 1 Jun 2008 03:11:32 +0000 (03:11 +0000)] 
corrected bug in wxMBConvStrictUTF8::FromWChar(): it wrote one extra NUL when used with explicit source length

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxTextOutputStream::Flush(): this is necessary with the stateful encodings...
Vadim Zeitlin [Sun, 1 Jun 2008 03:09:25 +0000 (03:09 +0000)] 
added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agorewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream...
Vadim Zeitlin [Sun, 1 Jun 2008 03:08:45 +0000 (03:08 +0000)] 
rewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream uses the converters; also converted a couple off by 1 bugs and unit test finally pass now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodisable visibility for powerpc-apple-darwin8 build, otherwise we get errors when...
Vadim Zeitlin [Sat, 31 May 2008 23:41:27 +0000 (23:41 +0000)] 
disable visibility for powerpc-apple-darwin8 build, otherwise we get errors when linking the test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT to have more details when the...
Vadim Zeitlin [Sat, 31 May 2008 23:08:57 +0000 (23:08 +0000)] 
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT to have more details when the test fails

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreviewed and completed wxMBConv and friends documentation
Vadim Zeitlin [Sat, 31 May 2008 23:01:25 +0000 (23:01 +0000)] 
reviewed and completed wxMBConv and friends documentation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocreate a separate category for the conversion classes
Vadim Zeitlin [Sat, 31 May 2008 22:35:24 +0000 (22:35 +0000)] 
create a separate category for the conversion classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoinclude configure/makefiles necessary for building libtiff
Vadim Zeitlin [Sat, 31 May 2008 13:31:15 +0000 (13:31 +0000)] 
include configure/makefiles necessary for building libtiff

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agono real changes, just simplify LoadPage() to make it more readable and less redundant
Vadim Zeitlin [Sat, 31 May 2008 13:25:50 +0000 (13:25 +0000)] 
no real changes, just simplify LoadPage() to make it more readable and less redundant

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoCompilation fixes for mingw-w64.
Stefan Neis [Sat, 31 May 2008 12:44:40 +0000 (12:44 +0000)] 
Compilation fixes for mingw-w64.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoallow periods in wxFileSystem URL anchors (patch #2265)
Václav Slavík [Sat, 31 May 2008 09:44:03 +0000 (09:44 +0000)] 
allow periods in wxFileSystem URL anchors (patch #2265)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomake test failure in TestStreamDecoder more informative
Vadim Zeitlin [Sat, 31 May 2008 02:46:22 +0000 (02:46 +0000)] 
make test failure in TestStreamDecoder more informative

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse more informative CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
Vadim Zeitlin [Sat, 31 May 2008 01:57:25 +0000 (01:57 +0000)] 
use more informative CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't write extraneous NUL bytes in wxMBConv_iconv::FromWChar()
Vadim Zeitlin [Sat, 31 May 2008 01:55:45 +0000 (01:55 +0000)] 
don't write extraneous NUL bytes in wxMBConv_iconv::FromWChar()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocorrect similar off by 1 bug to the one fixed by r53869 in wxMBConv_iconv::ToWChar...
Vadim Zeitlin [Sat, 31 May 2008 01:54:21 +0000 (01:54 +0000)] 
correct similar off by 1 bug to the one fixed by r53869 in wxMBConv_iconv::ToWChar() in FromWChar()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix bug with wrong return value in wxMBConv_iconv::ToWChar() introduced by a recent...
Vadim Zeitlin [Sat, 31 May 2008 01:53:10 +0000 (01:53 +0000)] 
fix bug with wrong return value in wxMBConv_iconv::ToWChar() introduced by a recent check in

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix wxMBConv_iconv to respect the base class conventions: when the input is NUL-termi...
Vadim Zeitlin [Sat, 31 May 2008 01:39:32 +0000 (01:39 +0000)] 
fix wxMBConv_iconv to respect the base class conventions: when the input is NUL-terminated, the output should be NUL-terminated and the return value should account for the terminating NUL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoswap all characters instead of just the last one in a loop in wxMBConv_iconv::ToWChar()
Vadim Zeitlin [Sat, 31 May 2008 01:23:36 +0000 (01:23 +0000)] 
swap all characters instead of just the last one in a loop in wxMBConv_iconv::ToWChar()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't return success when converting incomplete UTF-7 sequences
Vadim Zeitlin [Sat, 31 May 2008 01:22:16 +0000 (01:22 +0000)] 
don't return success when converting incomplete UTF-7 sequences

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodisable test using network by default as it's not available on some of buildbot machi...
Vadim Zeitlin [Fri, 30 May 2008 23:38:56 +0000 (23:38 +0000)] 
disable test using network by default as it's not available on some of buildbot machines and so makes the test fail

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix test failures: the expected results were incorrect, UTF-8 build uses %lc for...
Vadim Zeitlin [Fri, 30 May 2008 23:38:13 +0000 (23:38 +0000)] 
fix test failures: the expected results were incorrect, UTF-8 build uses %lc for characters and not %s

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoundid change of r44565: not taking hyphens into account entirely is a bad idea as...
Vadim Zeitlin [Fri, 30 May 2008 23:12:39 +0000 (23:12 +0000)] 
undid change of r44565: not taking hyphens into account entirely is a bad idea as we then recognize some junk as valid encodings and it even made our own unit test fail

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomake assertion failure messages more useful by using WX_ASSERT_STR_EQUAL instead...
Vadim Zeitlin [Fri, 30 May 2008 22:57:32 +0000 (22:57 +0000)] 
make assertion failure messages more useful by using WX_ASSERT_STR_EQUAL instead of just CPPUNIT_ASSERT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoimplement wxMBConv_iconv::To/FromWChar() instead of MB2WC/WC2MB: this allows to use...
Vadim Zeitlin [Fri, 30 May 2008 22:49:48 +0000 (22:49 +0000)] 
implement wxMBConv_iconv::To/FromWChar() instead of MB2WC/WC2MB: this allows to use wxMBConv conversions with wxTextInputStream and fixes TextStreamTestCase unit test failures

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't run vsnprintf() test if we're using the system version, there is nothing we...
Vadim Zeitlin [Fri, 30 May 2008 22:11:51 +0000 (22:11 +0000)] 
don't run vsnprintf() test if we're using the system version, there is nothing we can do about its failures then anyhow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't compile the test in the build configurations where it's not supported (trying...
Vadim Zeitlin [Fri, 30 May 2008 21:59:24 +0000 (21:59 +0000)] 
don't compile the test in the build configurations where it's not supported (trying to fix buildbot OS X build)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoat least mingw32 3.4.5 needs wxBitmap declaration to compile wxPixelData<wxBitmap...
Vadim Zeitlin [Fri, 30 May 2008 20:04:09 +0000 (20:04 +0000)] 
at least mingw32 3.4.5 needs wxBitmap declaration to compile wxPixelData<wxBitmap> (thanks buildbot)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocheck that the argument is not empty in wxHtmlWindow::LoadPage() to avoid crashing...
Vadim Zeitlin [Fri, 30 May 2008 19:49:53 +0000 (19:49 +0000)] 
check that the argument is not empty in wxHtmlWindow::LoadPage() to avoid crashing if it is

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixed wxImagePixelData compilation (ticket #3003); added a unit test for it (to be...
Vadim Zeitlin [Fri, 30 May 2008 19:30:23 +0000 (19:30 +0000)] 
fixed wxImagePixelData compilation (ticket #3003); added a unit test for it (to be extended to cover more wxImage methods...)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoblind fix for Borland ANSI build: define wxStructStat specially for this compiler
Vadim Zeitlin [Fri, 30 May 2008 18:59:55 +0000 (18:59 +0000)] 
blind fix for Borland ANSI build: define wxStructStat specially for this compiler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoTypo correction
Julian Smart [Fri, 30 May 2008 17:50:45 +0000 (17:50 +0000)] 
Typo correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoDon't update UI if hidden
Julian Smart [Fri, 30 May 2008 17:44:52 +0000 (17:44 +0000)] 
Don't update UI if hidden

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomention the problem with writing enums to wxConfig (see #8656)
Vadim Zeitlin [Fri, 30 May 2008 13:49:12 +0000 (13:49 +0000)] 
mention the problem with writing enums to wxConfig (see #8656)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoalways define wxUSE_RICHEDIT[2] -- this is better than never defining them (closes...
Vadim Zeitlin [Fri, 30 May 2008 13:35:30 +0000 (13:35 +0000)] 
always define wxUSE_RICHEDIT[2] -- this is better than never defining them (closes #9514)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomention the ambiguities which arise when passing wxString[.c_str()] to functions...
Vadim Zeitlin [Fri, 30 May 2008 13:31:28 +0000 (13:31 +0000)] 
mention the ambiguities which arise when passing wxString[.c_str()] to functions overloaded to take both char* and wchar_t* (see #9507)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agore-added accidentally omitted 'ANSI'
Václav Slavík [Fri, 30 May 2008 10:47:13 +0000 (10:47 +0000)] 
re-added accidentally omitted 'ANSI'

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixed confusingly complicated sentence to make sense
Václav Slavík [Fri, 30 May 2008 10:33:40 +0000 (10:33 +0000)] 
fixed confusingly complicated sentence to make sense

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodocument that SetItemCount() doesn't have to refresh the control (to avoid problems...
Vadim Zeitlin [Fri, 30 May 2008 01:07:29 +0000 (01:07 +0000)] 
document that SetItemCount() doesn't have to refresh the control (to avoid problems of ticket #4570)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse 'i' and 'd' instead of WXK_DELETE/INSERT as wxMSW list control doesn't get the...
Vadim Zeitlin [Fri, 30 May 2008 01:05:43 +0000 (01:05 +0000)] 
use 'i' and 'd' instead of WXK_DELETE/INSERT as wxMSW list control doesn't get the latter keys in its OnListKeyDown()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775