]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agofixed memory leaks when reading invalid GIFs
Vadim Zeitlin [Fri, 30 Mar 2007 16:22:15 +0000 (16:22 +0000)] 
fixed memory leaks when reading invalid GIFs

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

17 years agofix memory leak in wxFileTypeImpl::SetCommand() if creating the association fails
Vadim Zeitlin [Fri, 30 Mar 2007 16:13:12 +0000 (16:13 +0000)] 
fix memory leak in wxFileTypeImpl::SetCommand() if creating the association fails

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

17 years agofix memory leak in wxFileTypeImpl::SetDefaultIcon() if creating the association fails
Vadim Zeitlin [Fri, 30 Mar 2007 16:10:30 +0000 (16:10 +0000)] 
fix memory leak in wxFileTypeImpl::SetDefaultIcon() if creating the association fails

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

17 years agodon't dereference potentially NULL m_sock in Disconnect()
Vadim Zeitlin [Fri, 30 Mar 2007 16:08:25 +0000 (16:08 +0000)] 
don't dereference potentially NULL m_sock in Disconnect()

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

17 years agodon't use m_stylePopup inside GetRichTextCtrl() before testing whether it's NULL
Vadim Zeitlin [Fri, 30 Mar 2007 16:05:25 +0000 (16:05 +0000)] 
don't use m_stylePopup inside GetRichTextCtrl() before testing whether it's NULL

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

17 years agocheck that we don't use a NULL pointer in XCopyRemote()
Vadim Zeitlin [Fri, 30 Mar 2007 15:59:11 +0000 (15:59 +0000)] 
check that we don't use a NULL pointer in XCopyRemote()

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

17 years agoadded wxCHECK to ensure that we don't dereference a NULL pointer
Vadim Zeitlin [Fri, 30 Mar 2007 15:57:43 +0000 (15:57 +0000)] 
added wxCHECK to ensure that we don't dereference a NULL pointer

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

17 years agono real changes, just fixed confusing (to both people and coverity) mix of testing...
Vadim Zeitlin [Fri, 30 Mar 2007 15:53:09 +0000 (15:53 +0000)] 
no real changes, just fixed confusing (to both people and coverity) mix of testing for m_parent and GetParent()

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

17 years agocheck for alpha first, then mask, in BlurHorizontal/Vertical(): not only this makes...
Vadim Zeitlin [Fri, 30 Mar 2007 15:49:08 +0000 (15:49 +0000)] 
check for alpha first, then mask, in BlurHorizontal/Vertical(): not only this makes more sense but it also prevents crashing for images which have both (see coverity CID 172)

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

17 years agono real changes, just attempt to work around false coverity report 130
Vadim Zeitlin [Fri, 30 Mar 2007 15:46:32 +0000 (15:46 +0000)] 
no real changes, just attempt to work around false coverity report 130

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

17 years agouse wxCHECK instead of wxASSERT to avoid use of NULL pointer
Vadim Zeitlin [Fri, 30 Mar 2007 15:39:49 +0000 (15:39 +0000)] 
use wxCHECK instead of wxASSERT to avoid use of NULL pointer

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

17 years agodon't use potentially NULL m_styleListBox (coverity CID 190)
Vadim Zeitlin [Fri, 30 Mar 2007 15:35:44 +0000 (15:35 +0000)] 
don't use potentially NULL m_styleListBox (coverity CID 190)

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

17 years agoOnTabEndDrag() didn't handle NULL src_tabs case correctly but it seems that this...
Vadim Zeitlin [Fri, 30 Mar 2007 15:32:45 +0000 (15:32 +0000)] 
OnTabEndDrag() didn't handle NULL src_tabs case correctly but it seems that this is not supposed to actually happen, so assert that it doesn't

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

17 years agoremoved virtual GetSelectedBitmap() from the base wxDC class, it only makes sense...
Vadim Zeitlin [Fri, 30 Mar 2007 15:27:08 +0000 (15:27 +0000)] 
removed virtual GetSelectedBitmap() from the base wxDC class, it only makes sense for wxMemoryDC

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

17 years agotest whether pointer is non-NULL before using it, not after, in wxAnimation::Load...
Vadim Zeitlin [Fri, 30 Mar 2007 13:43:31 +0000 (13:43 +0000)] 
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load() (thanks coverity)

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

17 years agotest whether pointer is non-NULL before using it, not after, in wxDoFindStringInList...
Vadim Zeitlin [Fri, 30 Mar 2007 13:41:44 +0000 (13:41 +0000)] 
test whether pointer is non-NULL before using it, not after, in wxDoFindStringInList (this was probably harmless though)

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

17 years agoadded a check that we have a non-NULL scrollbar in wxScrollBarCallback()
Vadim Zeitlin [Fri, 30 Mar 2007 13:39:24 +0000 (13:39 +0000)] 
added a check that we have a non-NULL scrollbar in wxScrollBarCallback()

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

17 years agodon't dereferencep ossibly NULL pointers in DoScreenToClient/ClientToScreen()
Vadim Zeitlin [Fri, 30 Mar 2007 13:34:41 +0000 (13:34 +0000)] 
don't dereferencep ossibly NULL pointers in DoScreenToClient/ClientToScreen()

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

17 years agodon't return junk from wxGetOsVersion() if we failed to execute 'uname -r' (thanks...
Vadim Zeitlin [Fri, 30 Mar 2007 13:22:18 +0000 (13:22 +0000)] 
don't return junk from wxGetOsVersion() if we failed to execute 'uname -r' (thanks coverity)

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

17 years agoreplaced run-time tests for wxRICHTEXT_USE_TOOLBOOK with compile-time ones to avoid...
Vadim Zeitlin [Fri, 30 Mar 2007 13:19:43 +0000 (13:19 +0000)] 
replaced run-time tests for wxRICHTEXT_USE_TOOLBOOK with compile-time ones to avoid warnings about condition being always true/false

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

17 years agomove m_perDisplayData destruction to dtor from CleanUp() to fix a rare memory leak
Vadim Zeitlin [Fri, 30 Mar 2007 13:15:00 +0000 (13:15 +0000)] 
move m_perDisplayData destruction to dtor from CleanUp() to fix a rare memory leak

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

17 years agocheck that the pointer is non-NULL before using it in OpenFile() (thanks coverity)
Vadim Zeitlin [Fri, 30 Mar 2007 13:11:09 +0000 (13:11 +0000)] 
check that the pointer is non-NULL before using it in OpenFile() (thanks coverity)

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

17 years agocheck that filename pointer is non-NULL before using it, not after (coverity warning...
Vadim Zeitlin [Fri, 30 Mar 2007 13:06:29 +0000 (13:06 +0000)] 
check that filename pointer is non-NULL before using it, not after (coverity warning); don't pass NULL fp to fclose()

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

17 years agodon't use C++ comments in C file
Vadim Zeitlin [Fri, 30 Mar 2007 13:04:22 +0000 (13:04 +0000)] 
don't use C++ comments in C file

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

17 years agodisable select root menu command when the root is hidden
Vadim Zeitlin [Fri, 30 Mar 2007 12:58:01 +0000 (12:58 +0000)] 
disable select root menu command when the root is hidden

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

17 years agodon't crash when attempting to select hidden tree root (bug 1681118)
Vadim Zeitlin [Fri, 30 Mar 2007 12:57:15 +0000 (12:57 +0000)] 
don't crash when attempting to select hidden tree root (bug 1681118)

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

17 years agothis project file is obsolete, now treectrl.dsp is used
Vadim Zeitlin [Fri, 30 Mar 2007 12:45:58 +0000 (12:45 +0000)] 
this project file is obsolete, now treectrl.dsp is used

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

17 years agodon't call gtk_label_set_line_wrap() from DoGetBestSize() as this results in an infin...
Vadim Zeitlin [Fri, 30 Mar 2007 12:14:23 +0000 (12:14 +0000)] 
don't call gtk_label_set_line_wrap() from DoGetBestSize() as this results in an infinite resizing loop when the control is inside a GTK+ widget doing its own layout (such as wxToolBar)

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

17 years agofix PangoFontMetrics leak in GetCharHeight() (bug 1691180)
Vadim Zeitlin [Fri, 30 Mar 2007 11:48:58 +0000 (11:48 +0000)] 
fix PangoFontMetrics leak in GetCharHeight() (bug 1691180)

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

17 years agoallow absolute path
Chris Elliott [Fri, 30 Mar 2007 08:09:16 +0000 (08:09 +0000)] 
allow absolute path

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

17 years agodefine wxHAS_NATIVE_TAB_TRAVERSAL in wx/features.h; include wx/defs.h from wx/contain...
Vadim Zeitlin [Fri, 30 Mar 2007 02:07:49 +0000 (02:07 +0000)] 
define wxHAS_NATIVE_TAB_TRAVERSAL in wx/features.h; include wx/defs.h from wx/containr.h to get this definition

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

17 years agofixed warning about comparing int to size_t
Václav Slavík [Thu, 29 Mar 2007 19:10:43 +0000 (19:10 +0000)] 
fixed warning about comparing int to size_t

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

17 years agoadded wxCStrData::operator- for compatibility with expressions like 'c_str() + n...
Václav Slavík [Thu, 29 Mar 2007 18:42:04 +0000 (18:42 +0000)] 
added wxCStrData::operator- for compatibility with expressions like 'c_str() + n - 2'

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

17 years agoadded creation of wxUniChar from int and conversion to int, for backward compatibility
Václav Slavík [Thu, 29 Mar 2007 18:35:16 +0000 (18:35 +0000)] 
added creation of wxUniChar from int and conversion to int, for backward compatibility

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

17 years agofix memory leak when handling background attribute (patch 1687900)
Vadim Zeitlin [Thu, 29 Mar 2007 18:12:59 +0000 (18:12 +0000)] 
fix memory leak when handling background attribute (patch 1687900)

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

17 years agofix compilation with wxUSE_EXTENDED_RTTI && !WXWIN_COMPATIBILITY_2_6 (bug 1688249)
Vadim Zeitlin [Thu, 29 Mar 2007 18:01:21 +0000 (18:01 +0000)] 
fix compilation with wxUSE_EXTENDED_RTTI && !WXWIN_COMPATIBILITY_2_6 (bug 1688249)

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

17 years agorebaked with the fix for the directories with spaces in their names
Vadim Zeitlin [Thu, 29 Mar 2007 17:43:46 +0000 (17:43 +0000)] 
rebaked with the fix for the directories with spaces in their names

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

17 years agoadded wx/cocoa/tooltip.h to COCOA_HDR (bug 1689148)
Vadim Zeitlin [Thu, 29 Mar 2007 17:42:30 +0000 (17:42 +0000)] 
added wx/cocoa/tooltip.h to COCOA_HDR (bug 1689148)

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

17 years agorebaked after adding new string-related headers
Vadim Zeitlin [Thu, 29 Mar 2007 17:40:32 +0000 (17:40 +0000)] 
rebaked after adding new string-related headers

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

17 years agomore wxString::append() tests
Václav Slavík [Thu, 29 Mar 2007 16:14:26 +0000 (16:14 +0000)] 
more wxString::append() tests

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

17 years agoadded overloads of operators for wint_t for VC when the code is compiled with /Zc...
Vadim Zeitlin [Thu, 29 Mar 2007 15:05:34 +0000 (15:05 +0000)] 
added overloads of operators for wint_t for VC when the code is compiled with /Zc:wchar_t option (default in VC8)

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

17 years agodefine ATTRIBUTE_PRINTF(m,n) and not just ATTRIBUTE_PRINTF as nothing when the compil...
Vadim Zeitlin [Thu, 29 Mar 2007 14:03:53 +0000 (14:03 +0000)] 
define ATTRIBUTE_PRINTF(m,n) and not just ATTRIBUTE_PRINTF as nothing when the compiler doesn't support it, otherwise it can result in compiler errors when wx/defs.h is included before a standard header using ATTRIBUTE_PRINTF() as (at least version 2.6.20 of) xmlerror.h from libxml2 does

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

17 years agoput html docs in own dir
Chris Elliott [Thu, 29 Mar 2007 13:28:41 +0000 (13:28 +0000)] 
put html docs in own dir

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

17 years agoremove contrib docs from daily builds
Chris Elliott [Thu, 29 Mar 2007 12:13:09 +0000 (12:13 +0000)] 
remove contrib docs from daily builds

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

17 years agoadd tex2rtf docs to routine build
Chris Elliott [Thu, 29 Mar 2007 11:03:51 +0000 (11:03 +0000)] 
add tex2rtf docs to routine build

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

17 years agozip32 should be zip
Chris Elliott [Thu, 29 Mar 2007 10:52:58 +0000 (10:52 +0000)] 
zip32 should be zip

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

17 years agoremove contrib docs from daily builds
Chris Elliott [Thu, 29 Mar 2007 09:17:36 +0000 (09:17 +0000)] 
remove contrib docs from daily builds

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

17 years agouppercase CVS
Chris Elliott [Thu, 29 Mar 2007 09:16:38 +0000 (09:16 +0000)] 
uppercase CVS

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

17 years agoremove build of contrib docs
Chris Elliott [Thu, 29 Mar 2007 09:04:32 +0000 (09:04 +0000)] 
remove build of contrib docs

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

17 years agoonly get todays files from top level dir
Chris Elliott [Thu, 29 Mar 2007 09:01:22 +0000 (09:01 +0000)] 
only get todays files from top level dir

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

17 years agoPCH-less compilation fix
Václav Slavík [Thu, 29 Mar 2007 06:18:23 +0000 (06:18 +0000)] 
PCH-less compilation fix

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

17 years agoadded wxString::operator[](int) as it's commonly used in code working with file/strea...
Vadim Zeitlin [Wed, 28 Mar 2007 18:25:25 +0000 (18:25 +0000)] 
added wxString::operator[](int) as it's commonly used in code working with file/stream read functions which have int return value

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

17 years agoallow passing wx[W]CharBuffer to wx vararg templates
Václav Slavík [Wed, 28 Mar 2007 18:03:26 +0000 (18:03 +0000)] 
allow passing wx[W]CharBuffer to wx vararg templates

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

17 years agosplit string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more...
Václav Slavík [Wed, 28 Mar 2007 11:35:07 +0000 (11:35 +0000)] 
split string.{h,cpp} into {string,stringimpl,arrstr}.{h,cpp} to make the files more managable

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

17 years agomade wxHashMap work with any form of strings
Václav Slavík [Wed, 28 Mar 2007 09:46:46 +0000 (09:46 +0000)] 
made wxHashMap work with any form of strings

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

17 years agoadded test for operator?: and wxCStrData
Václav Slavík [Wed, 28 Mar 2007 09:40:22 +0000 (09:40 +0000)] 
added test for operator?: and wxCStrData

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

17 years agore-enabled using std::string for wxStringImpl if wxUSE_STL again
Václav Slavík [Wed, 28 Mar 2007 09:37:34 +0000 (09:37 +0000)] 
re-enabled using std::string for wxStringImpl if wxUSE_STL again

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

17 years agoupdate from helix84
Vadim Zeitlin [Wed, 28 Mar 2007 00:02:34 +0000 (00:02 +0000)] 
update from helix84

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

17 years agoNeed an extra pixel when divider present
Julian Smart [Tue, 27 Mar 2007 13:42:42 +0000 (13:42 +0000)] 
Need an extra pixel when divider present

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

17 years agodisabled VC6 warning about passing a macro that expands to nothing to DECLARE_LOG_FUN...
Václav Slavík [Tue, 27 Mar 2007 10:13:52 +0000 (10:13 +0000)] 
disabled VC6 warning about passing a macro that expands to nothing to DECLARE_LOG_FUNCTION2_IMPL macro

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

17 years agofixed compilation with 2.8 compatibility off: wxTR_EXTENDED is deprecated
Václav Slavík [Tue, 27 Mar 2007 09:40:02 +0000 (09:40 +0000)] 
fixed compilation with 2.8 compatibility off: wxTR_EXTENDED is deprecated

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

17 years agoMerge recent changes from 2.8 branch.
Robin Dunn [Tue, 27 Mar 2007 01:49:46 +0000 (01:49 +0000)] 
Merge recent changes from 2.8 branch.
Make updates for recent changes on CVS HEAD.
Remove or workaround deprecated items.
Fix compile errors.

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

17 years agomake Ctrl-PageUp/Down work for changing notebook pages even when there is a wxWindow...
Vadim Zeitlin [Mon, 26 Mar 2007 23:46:31 +0000 (23:46 +0000)] 
make Ctrl-PageUp/Down work for changing notebook pages even when there is a wxWindow (i.e. not a native wxControl) in the hierarchy; this comes at the price of not being able to use the same key combinations for horizontal scrolling of the windows which do not have wxHSCROLL style and this seems like an acceptable tradeoff

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

17 years agoremoved wxHAS_NATIVE_TAB_TRAVERSAL which is now defined in wx/window.h
Vadim Zeitlin [Mon, 26 Mar 2007 23:40:40 +0000 (23:40 +0000)] 
removed wxHAS_NATIVE_TAB_TRAVERSAL which is now defined in wx/window.h

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

17 years agouse NavigateIn() method instead of sending wxNavigationKeyEvent directly
Vadim Zeitlin [Mon, 26 Mar 2007 22:15:14 +0000 (22:15 +0000)] 
use NavigateIn() method instead of sending wxNavigationKeyEvent directly

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

17 years agoadded wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working...
Vadim Zeitlin [Mon, 26 Mar 2007 22:10:04 +0000 (22:10 +0000)] 
added wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working with native tab traversal

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

17 years agoadded taborder sample
Vadim Zeitlin [Mon, 26 Mar 2007 21:24:51 +0000 (21:24 +0000)] 
added taborder sample

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

17 years agoadded basic test for wxLocale
Václav Slavík [Mon, 26 Mar 2007 21:12:13 +0000 (21:12 +0000)] 
added basic test for wxLocale

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

17 years agouse wxString for wxXmlResource::Set/GetDomain(), it's simpler
Václav Slavík [Mon, 26 Mar 2007 21:07:36 +0000 (21:07 +0000)] 
use wxString for wxXmlResource::Set/GetDomain(), it's simpler

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

17 years agouse wxStrings in wxLocale methods, _() and wxGetTranslation(), so that it can be...
Václav Slavík [Mon, 26 Mar 2007 21:05:04 +0000 (21:05 +0000)] 
use wxStrings in wxLocale methods, _() and wxGetTranslation(), so that it can be used with any string literals

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

17 years agoescape _ in LaTeX sources
Václav Slavík [Mon, 26 Mar 2007 20:50:34 +0000 (20:50 +0000)] 
escape _ in LaTeX sources

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

17 years agoPreparing wxString for UTF-8 representation:
Václav Slavík [Mon, 26 Mar 2007 20:28:04 +0000 (20:28 +0000)] 
Preparing wxString for UTF-8 representation:
1) split into wxStringImpl class that has std::string-like API and operates on char* or wchar_t* data and wxString class that provides Unicode iterators and indexes
2) added both char* and wchar_t* versions of many wxString methods to avoid having to use _T()

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

17 years agoForward port of my recent changes in the 2.8 branch:
Robin Dunn [Mon, 26 Mar 2007 20:08:41 +0000 (20:08 +0000)] 
Forward port of my recent changes in the 2.8 branch:

 * Force use of floating point math in wxGCDC::DoDrawEllipticArc.

 * Check for 0.5 offset in wxGCDC::DoDrawRoundedRectangle and
   DoDrawEllipse.  Set wxGDIPlusContext to use the offset.

 * Avoid crash in wxStdDialogButtonSizer::Realize if there is no
   negative button.

 * Provide implementations for wxCairoPathData::AddPath,
   wxCairoContext::Clip, wxCairoContext::DrawBitmap,
   wxCairoContext::DrawIcon, and wxCairoContext::GetTextExtent.

 * Fix wxCairoContext::DrawText to draw the text using the upper-left
   corner for the x,y position, not the baseline.

 * Fix wxMacCoreGraphicsRenderer::CreateContext to be able to use a
   wxMemoryDC as the target.

 * Map wxTELETYPE font family on wxMac to a monospace font.

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

17 years agouse native TAB traversal for GTK+ 2
Vadim Zeitlin [Mon, 26 Mar 2007 19:30:20 +0000 (19:30 +0000)] 
use native TAB traversal for GTK+ 2

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

17 years agoadded ellipsis to a couple of stock labels
Vadim Zeitlin [Mon, 26 Mar 2007 19:27:27 +0000 (19:27 +0000)] 
added ellipsis to a couple of stock labels

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

17 years agofixed compilation without PCH
Vadim Zeitlin [Mon, 26 Mar 2007 19:20:30 +0000 (19:20 +0000)] 
fixed compilation without PCH

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

17 years agouse more complicated layout; added wxTE_PROCESS_TAB test
Vadim Zeitlin [Mon, 26 Mar 2007 19:06:13 +0000 (19:06 +0000)] 
use more complicated layout; added wxTE_PROCESS_TAB test

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

17 years agosend wxNavigationKeyEvent to the correct window
Vadim Zeitlin [Mon, 26 Mar 2007 15:14:21 +0000 (15:14 +0000)] 
send wxNavigationKeyEvent to the correct window

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

17 years agoadded taborder sample
Vadim Zeitlin [Mon, 26 Mar 2007 15:07:10 +0000 (15:07 +0000)] 
added taborder sample

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

17 years agoassert if AddRoot() is called twice for a wxTR_HIDE_ROOT tree
Vadim Zeitlin [Mon, 26 Mar 2007 13:07:15 +0000 (13:07 +0000)] 
assert if AddRoot() is called twice for a wxTR_HIDE_ROOT tree

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

17 years agoTypo correction
Julian Smart [Mon, 26 Mar 2007 09:42:43 +0000 (09:42 +0000)] 
Typo correction

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

17 years agoadded missing operators to wxString::reverse_iterator
Václav Slavík [Mon, 26 Mar 2007 08:25:47 +0000 (08:25 +0000)] 
added missing operators to wxString::reverse_iterator

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

17 years agodo accept focus in notebook as it needs it for tabs
Vadim Zeitlin [Sun, 25 Mar 2007 23:00:36 +0000 (23:00 +0000)] 
do accept focus in notebook as it needs it for tabs

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

17 years agodon't accept focus in book control itself
Vadim Zeitlin [Sun, 25 Mar 2007 22:55:35 +0000 (22:55 +0000)] 
don't accept focus in book control itself

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

17 years agodon't use wxControlContainer if wxHAS_NATIVE_TAB_TRAVERSAL is defined (currently...
Vadim Zeitlin [Sun, 25 Mar 2007 22:41:11 +0000 (22:41 +0000)] 
don't use wxControlContainer if wxHAS_NATIVE_TAB_TRAVERSAL is defined (currently it never is)

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

17 years agodon't check whether the window is shown and enabled in AcceptsFocus() itself
Vadim Zeitlin [Sun, 25 Mar 2007 22:36:24 +0000 (22:36 +0000)] 
don't check whether the window is shown and enabled in AcceptsFocus() itself
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()

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

17 years agowhy was this class made a wxControlContainer (rev. 1.7), this doesn't seem to make...
Vadim Zeitlin [Sun, 25 Mar 2007 21:17:19 +0000 (21:17 +0000)] 
why was this class made a wxControlContainer (rev. 1.7), this doesn't seem to make sense -- and if it does it should probably be done at the base class level, not here

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

17 years agoremove wxStringBase::AllocCopy(), it wasn't used anywhere
Václav Slavík [Sun, 25 Mar 2007 19:46:05 +0000 (19:46 +0000)] 
remove wxStringBase::AllocCopy(), it wasn't used anywhere

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

17 years agoremove all the tags for development branch
Vadim Zeitlin [Sun, 25 Mar 2007 13:54:19 +0000 (13:54 +0000)] 
remove all the tags for development branch

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

17 years agoupdate status bar display when we don't have focus too
Vadim Zeitlin [Sun, 25 Mar 2007 13:43:30 +0000 (13:43 +0000)] 
update status bar display when we don't have focus too

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

17 years agomake wxNO_BORDER work with wxRadioBox (patch 1525406)
Vadim Zeitlin [Sun, 25 Mar 2007 01:57:24 +0000 (01:57 +0000)] 
make wxNO_BORDER work with wxRadioBox (patch 1525406)

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

17 years agorespect the current default style in SetValue() (modified patch 1684613)
Vadim Zeitlin [Sun, 25 Mar 2007 01:30:46 +0000 (01:30 +0000)] 
respect the current default style in SetValue() (modified patch 1684613)

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

17 years agodocument GetBufferSize() (patch 1687070)
Vadim Zeitlin [Sun, 25 Mar 2007 00:54:40 +0000 (00:54 +0000)] 
document GetBufferSize() (patch 1687070)

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

17 years agocorrected name of wxWS_EX_PROCESS_UI_UPDATES style (part of patch 1686335)
Vadim Zeitlin [Sun, 25 Mar 2007 00:53:13 +0000 (00:53 +0000)] 
corrected name of wxWS_EX_PROCESS_UI_UPDATES style (part of patch 1686335)

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

17 years agocorrected link to gettext manual (part of patch 1686335)
Vadim Zeitlin [Sun, 25 Mar 2007 00:52:19 +0000 (00:52 +0000)] 
corrected link to gettext manual (part of patch 1686335)

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

17 years agoextract popup menu item labels from Scintilla sources too (patch 1679509)
Vadim Zeitlin [Sun, 25 Mar 2007 00:51:03 +0000 (00:51 +0000)] 
extract popup menu item labels from Scintilla sources too (patch 1679509)

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

17 years agomoved Write(const wxString&) to .cpp files as they're going to be changed again soon...
Vadim Zeitlin [Sat, 24 Mar 2007 14:42:29 +0000 (14:42 +0000)] 
moved Write(const wxString&) to .cpp files as they're going to be changed again soon; removed unnecessary casts

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

17 years agoTest for encoding conversion success in wxFile::Write to avoid crash
Julian Smart [Sat, 24 Mar 2007 10:21:48 +0000 (10:21 +0000)] 
Test for encoding conversion success in wxFile::Write to avoid crash

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

17 years agoTest for encoding conversion success in wxFFile::Write to avoid crash
Julian Smart [Sat, 24 Mar 2007 10:20:14 +0000 (10:20 +0000)] 
Test for encoding conversion success in wxFFile::Write to avoid crash

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

17 years agomore changes from 2.8.4 added
Vadim Zeitlin [Fri, 23 Mar 2007 16:24:11 +0000 (16:24 +0000)] 
more changes from 2.8.4 added

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