]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agoGizmos has been moved to wxCode.
Robin Dunn [Mon, 2 Apr 2007 21:19:13 +0000 (21:19 +0000)] 
Gizmos has been moved to wxCode.

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

17 years agoEnable the use of the primary selection
Robin Dunn [Mon, 2 Apr 2007 21:17:45 +0000 (21:17 +0000)] 
Enable the use of the primary selection

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

17 years agoAlways use wxHSCROLL|wxVSCROLL.
Robin Dunn [Mon, 2 Apr 2007 21:15:27 +0000 (21:15 +0000)] 
Always use wxHSCROLL|wxVSCROLL.

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

17 years agoget wx and tex2rtf docs only
Chris Elliott [Mon, 2 Apr 2007 20:35:35 +0000 (20:35 +0000)] 
get wx and tex2rtf docs only

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

17 years agorestore cvs up
Chris Elliott [Mon, 2 Apr 2007 18:14:37 +0000 (18:14 +0000)] 
restore cvs up

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

17 years agoadded some unsigned char overloads to wxString for compatibility
Václav Slavík [Mon, 2 Apr 2007 18:13:48 +0000 (18:13 +0000)] 
added some unsigned char overloads to wxString for compatibility

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

17 years agotidy up daily build for 2.9
Chris Elliott [Mon, 2 Apr 2007 17:42:42 +0000 (17:42 +0000)] 
tidy up daily build for 2.9

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

17 years agosome more operator?! tests
Václav Slavík [Mon, 2 Apr 2007 17:42:20 +0000 (17:42 +0000)] 
some more operator?! tests

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

17 years agoAdded mouse event handler invocations
Julian Smart [Mon, 2 Apr 2007 08:51:06 +0000 (08:51 +0000)] 
Added mouse event handler invocations

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

17 years agoFixed compile problem and warning
Julian Smart [Mon, 2 Apr 2007 08:49:36 +0000 (08:49 +0000)] 
Fixed compile problem and warning

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

17 years agoGetBaseByName doesn't exist anymore
Václav Slavík [Mon, 2 Apr 2007 05:33:37 +0000 (05:33 +0000)] 
GetBaseByName doesn't exist anymore

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

17 years agoavoid asserts when the cipboard is acquired by another application
Vadim Zeitlin [Sun, 1 Apr 2007 21:52:27 +0000 (21:52 +0000)] 
avoid asserts when the cipboard is acquired by another application

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

17 years agoremoving obsolete contribs (partly moved to wxCode)
Vadim Zeitlin [Sun, 1 Apr 2007 17:00:00 +0000 (17:00 +0000)] 
removing obsolete contribs (partly moved to wxCode)

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

17 years agoremoving obsolete contribs (partly moved to wxCode)
Vadim Zeitlin [Sun, 1 Apr 2007 16:35:27 +0000 (16:35 +0000)] 
removing obsolete contribs (partly moved to wxCode)

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

17 years agoblind fix for Unicode key handling (patch 1615989)
Vadim Zeitlin [Sun, 1 Apr 2007 15:19:44 +0000 (15:19 +0000)] 
blind fix for Unicode key handling (patch 1615989)

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

17 years agotoggle the first button in a radio tools group initially (second version of patch...
Vadim Zeitlin [Sun, 1 Apr 2007 15:06:11 +0000 (15:06 +0000)] 
toggle the first button in a radio tools group initially (second version of patch 1469227)

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

17 years agocompilation fix for wxUniv after last commit
Vadim Zeitlin [Sun, 1 Apr 2007 15:05:31 +0000 (15:05 +0000)] 
compilation fix for wxUniv after last commit

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

17 years agocompilation fix for !wxUSE_PRINTF_POS_PARAMS
Vadim Zeitlin [Sun, 1 Apr 2007 15:01:57 +0000 (15:01 +0000)] 
compilation fix for !wxUSE_PRINTF_POS_PARAMS

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

17 years agoimplement GetBestSize() (patch 1386199)
Vadim Zeitlin [Sun, 1 Apr 2007 14:53:02 +0000 (14:53 +0000)] 
implement GetBestSize() (patch 1386199)

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

17 years agofixes for PCH-less build after last commit
Vadim Zeitlin [Sun, 1 Apr 2007 14:18:49 +0000 (14:18 +0000)] 
fixes for PCH-less build after last commit

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

17 years agofix unused parameter warning when wxHAS_NATIVE_OVERLAY (patch 1692332)
Vadim Zeitlin [Sun, 1 Apr 2007 14:14:58 +0000 (14:14 +0000)] 
fix unused parameter warning when wxHAS_NATIVE_OVERLAY (patch 1692332)

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

17 years agoadded support for ellipsization and markup in wxStaticText (modified patch 1629946)
Vadim Zeitlin [Sun, 1 Apr 2007 14:13:15 +0000 (14:13 +0000)] 
added support for ellipsization and markup in wxStaticText (modified patch 1629946)

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

17 years agocompilation fix after last change
Vadim Zeitlin [Sun, 1 Apr 2007 13:22:58 +0000 (13:22 +0000)] 
compilation fix after last change

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

17 years agoinclude aui and richtext directories
Vadim Zeitlin [Sun, 1 Apr 2007 12:13:54 +0000 (12:13 +0000)] 
include aui and richtext directories

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

17 years agoadded a generic mechanism for registering global handlers for custom windows messages...
Vadim Zeitlin [Sun, 1 Apr 2007 12:07:00 +0000 (12:07 +0000)] 
added a generic mechanism for registering global handlers for custom windows messages and use it in wxFindReplaceDialog instead of subclassing the parent window, this solves the problem with having 2 find dialogs with the same parent (replaces patch 1447739)

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

17 years agowint_t is wchar_t on OS/2 too
Václav Slavík [Sun, 1 Apr 2007 08:04:32 +0000 (08:04 +0000)] 
wint_t is wchar_t on OS/2 too

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

17 years ago(OS/2) compilation fix
Václav Slavík [Sun, 1 Apr 2007 07:52:14 +0000 (07:52 +0000)] 
(OS/2) compilation fix

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

17 years ago Don't create GtkScrolledWindow if neither wxHSCROLL
Robert Roebling [Sat, 31 Mar 2007 22:03:01 +0000 (22:03 +0000)] 
  Don't create GtkScrolledWindow if neither wxHSCROLL
    or wxVSCROLL are defined. This prevents wasting
    some resources.

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

17 years agoremove dead pro files
Chris Elliott [Sat, 31 Mar 2007 18:36:35 +0000 (18:36 +0000)] 
remove dead pro files

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

17 years agoremove dead pro files
Chris Elliott [Sat, 31 Mar 2007 18:23:35 +0000 (18:23 +0000)] 
remove dead pro files

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

17 years agoset string field of wxCommandEvent object generated by spin control when its text...
Vadim Zeitlin [Sat, 31 Mar 2007 15:16:35 +0000 (15:16 +0000)] 
set string field of wxCommandEvent object generated by spin control when its text changes (part of patch 1312699)

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

17 years agoadded test for EVT_TEXT handler for spin contorl
Vadim Zeitlin [Sat, 31 Mar 2007 15:11:02 +0000 (15:11 +0000)] 
added test for EVT_TEXT handler for spin contorl

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

17 years agodon't return wxFONTENCODING_DEFAULT from wxFont::GetEncoding(), this results in asser...
Vadim Zeitlin [Sat, 31 Mar 2007 15:10:20 +0000 (15:10 +0000)] 
don't return wxFONTENCODING_DEFAULT from wxFont::GetEncoding(), this results in asserts when its return value is used with wxCSConv (and besides this should never happen anyhow, wxFONTENCODING_DEFAULT makes sense on input only)

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

17 years agoadded gtk.tlw.can-set-transparency system option (replaces patch 1527017)
Vadim Zeitlin [Sat, 31 Mar 2007 14:51:10 +0000 (14:51 +0000)] 
added gtk.tlw.can-set-transparency system option (replaces patch 1527017)

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

17 years agodon't remove the old tags of different kinds when setting new style, this removes...
Vadim Zeitlin [Sat, 31 Mar 2007 14:38:38 +0000 (14:38 +0000)] 
don't remove the old tags of different kinds when setting new style, this removes the need for combining any style being set with the default one (based on patch 1518118)

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

17 years agodon't clamp scroll position before updating GtkRange,
Paul Cornett [Sat, 31 Mar 2007 07:08:06 +0000 (07:08 +0000)] 
don't clamp scroll position before updating GtkRange,
  it causes HandleOnScroll to incorrectly do nothing when position is > 0 and
  window is resized large enough to no longer need scrollbar

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

17 years ago1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
Vadim Zeitlin [Sat, 31 Mar 2007 02:57:55 +0000 (02:57 +0000)] 
1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
2. Added IsUsingPrimarySelection()
3. Fail all clipboard operations when IsUsingPrimarySelection() is true on
   non-X11 platforms

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

17 years agoadded a menu command to switch between clipboard and primary selection
Vadim Zeitlin [Sat, 31 Mar 2007 01:59:51 +0000 (01:59 +0000)] 
added a menu command to switch between clipboard and primary selection

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

17 years agodecouple primary selection handling from clipboard and further simplifications/refact...
Vadim Zeitlin [Sat, 31 Mar 2007 01:58:05 +0000 (01:58 +0000)] 
decouple primary selection handling from clipboard and further simplifications/refactoring in clipboard code

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

17 years agosimplified the code by using new wxClipboardSync class abstracting wait for clipboard...
Vadim Zeitlin [Sat, 31 Mar 2007 00:05:19 +0000 (00:05 +0000)] 
simplified the code by using new wxClipboardSync class abstracting wait for clipboard results and wxScopeGuard to ensure that the 'waiting' flag is reset in every case

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

17 years agofixed wxDB compilation
Václav Slavík [Fri, 30 Mar 2007 21:31:20 +0000 (21:31 +0000)] 
fixed wxDB compilation

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

17 years agoreverted part of patch 1610494 (rev 1.35) which broke handling of ends of lines
Vadim Zeitlin [Fri, 30 Mar 2007 20:54:46 +0000 (20:54 +0000)] 
reverted part of patch 1610494 (rev 1.35) which broke handling of ends of lines

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

17 years agoadded missing public keyword to wxWritableCharTypeBuffer declaration
Václav Slavík [Fri, 30 Mar 2007 20:30:34 +0000 (20:30 +0000)] 
added missing public keyword to wxWritableCharTypeBuffer declaration

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

17 years agodon't use deprecated wxSizerItem::SetWindow/Sizer/Spacer(), use AssignXXX() equivalen...
Vadim Zeitlin [Fri, 30 Mar 2007 20:16:11 +0000 (20:16 +0000)] 
don't use deprecated wxSizerItem::SetWindow/Sizer/Spacer(), use AssignXXX() equivalents instead

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

17 years agoadded char_str() and wchar_str() methods to wxString for obtaining char*/wchar_t...
Václav Slavík [Fri, 30 Mar 2007 20:09:02 +0000 (20:09 +0000)] 
added char_str() and wchar_str() methods to wxString for obtaining char*/wchar_t* pointers

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

17 years agoclear m_oldStatusText after restoring it, otherwise we could restore it again the...
Vadim Zeitlin [Fri, 30 Mar 2007 20:06:52 +0000 (20:06 +0000)] 
clear m_oldStatusText after restoring it, otherwise we could restore it again the next time instead of restoring the up-to-date status bar text

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

17 years agoadded wxSizerItem::AssignXXX() methods replacing the old SetXXX() but freeing the...
Vadim Zeitlin [Fri, 30 Mar 2007 19:57:23 +0000 (19:57 +0000)] 
added wxSizerItem::AssignXXX() methods replacing the old SetXXX() but freeing the current item contents (modified patch 1687785)

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

17 years agodon't handle orderly socket shutdown by the peer as an error (patch 1688222)
Vadim Zeitlin [Fri, 30 Mar 2007 19:02:30 +0000 (19:02 +0000)] 
don't handle orderly socket shutdown by the peer as an error (patch 1688222)

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

17 years agofixed broken link and use \backslash instead of literal backslash which has special...
Vadim Zeitlin [Fri, 30 Mar 2007 18:56:39 +0000 (18:56 +0000)] 
fixed broken link and use \backslash instead of literal backslash which has special meaning in TeX in wxJoin() documentation

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

17 years agoadded more wxART_XXX ids (patch 1687751)
Vadim Zeitlin [Fri, 30 Mar 2007 18:53:45 +0000 (18:53 +0000)] 
added more wxART_XXX ids (patch 1687751)

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

17 years agoadded more wxART_XXX ids (patch 1687750)
Vadim Zeitlin [Fri, 30 Mar 2007 18:50:31 +0000 (18:50 +0000)] 
added more wxART_XXX ids (patch 1687750)

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

17 years agoadded <set-wxlike> tag (patch 1691429)
Vadim Zeitlin [Fri, 30 Mar 2007 18:48:22 +0000 (18:48 +0000)] 
added <set-wxlike> tag (patch 1691429)

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

17 years agocompilation fix for Win64 (patch 1690999)
Vadim Zeitlin [Fri, 30 Mar 2007 18:34:07 +0000 (18:34 +0000)] 
compilation fix for Win64 (patch 1690999)

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

17 years agoadded check for index validity to OnTabButton()
Vadim Zeitlin [Fri, 30 Mar 2007 16:49:42 +0000 (16:49 +0000)] 
added check for index validity to OnTabButton()

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

17 years agoadded SetSelectionToPage/Window() to simplify code and fix more problems with passing...
Vadim Zeitlin [Fri, 30 Mar 2007 16:48:43 +0000 (16:48 +0000)] 
added SetSelectionToPage/Window() to simplify code and fix more problems with passing possibly negative indices to SetSelection()

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

17 years agodon't pass potentially negative index to SetSelection()
Vadim Zeitlin [Fri, 30 Mar 2007 16:37:31 +0000 (16:37 +0000)] 
don't pass potentially negative index to SetSelection()

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

17 years agoadded IO errors handling to TGA reading code
Vadim Zeitlin [Fri, 30 Mar 2007 16:33:12 +0000 (16:33 +0000)] 
added IO errors handling to TGA reading code

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

17 years agofix error handling in the generic branch of wxCopyFile()
Vadim Zeitlin [Fri, 30 Mar 2007 16:27:52 +0000 (16:27 +0000)] 
fix error handling in the generic branch of wxCopyFile()

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

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