]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agobuild fixes for MSVC
Vadim Zeitlin [Thu, 20 Sep 2007 00:16:14 +0000 (00:16 +0000)] 
build fixes for MSVC

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

17 years agorebake after libtiff changes
Vadim Zeitlin [Thu, 20 Sep 2007 00:02:53 +0000 (00:02 +0000)] 
rebake after libtiff changes

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

17 years agobuild updates for libtiff 3.8.2
Vadim Zeitlin [Thu, 20 Sep 2007 00:01:33 +0000 (00:01 +0000)] 
build updates for libtiff 3.8.2

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

17 years agoimport libtiff 3.8.2 into the trunk
Vadim Zeitlin [Wed, 19 Sep 2007 23:59:15 +0000 (23:59 +0000)] 
import libtiff 3.8.2 into the trunk

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

17 years agoremove the old hybrid libtiff sources
Vadim Zeitlin [Wed, 19 Sep 2007 23:51:55 +0000 (23:51 +0000)] 
remove the old hybrid libtiff sources

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

17 years agoGive wxPowerEvent wxRTTI
Robin Dunn [Wed, 19 Sep 2007 23:14:16 +0000 (23:14 +0000)] 
Give wxPowerEvent wxRTTI

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

17 years agoGTK+ selects the first item initially, II
Robert Roebling [Wed, 19 Sep 2007 13:55:24 +0000 (13:55 +0000)] 
GTK+ selects the first item initially, II

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

17 years agoGTK+ selects the first item initially
Robert Roebling [Wed, 19 Sep 2007 13:48:39 +0000 (13:48 +0000)] 
GTK+ selects the first item initially

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

17 years agouse update UI handler for the up and new directory buttons instead of manually updati...
Vadim Zeitlin [Wed, 19 Sep 2007 12:24:05 +0000 (12:24 +0000)] 
use update UI handler for the up and new directory buttons instead of manually updating the controls, this fixes a bug where up button wasn't enabled back after selecting a child of top level directory

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

17 years agouse drives paths, not names, in the dialog to avoid confusing HandleAction() with...
Vadim Zeitlin [Wed, 19 Sep 2007 12:14:23 +0000 (12:14 +0000)] 
use drives paths, not names, in the dialog to avoid confusing HandleAction() with the drive names which it fails to interpret properly

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

17 years agoCorrect alphabetical order
Robert Roebling [Wed, 19 Sep 2007 11:58:31 +0000 (11:58 +0000)] 
Correct alphabetical order

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

17 years agoremove platform check, always compile this file as it's needed at least by the dialog...
Vadim Zeitlin [Wed, 19 Sep 2007 11:47:27 +0000 (11:47 +0000)] 
remove platform check, always compile this file as it's needed at least by the dialogs sample on all platforms

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

17 years agofix warning about int->bool conversion; wrap long lines to 80 columns
Vadim Zeitlin [Wed, 19 Sep 2007 11:39:26 +0000 (11:39 +0000)] 
fix warning about int->bool conversion; wrap long lines to 80 columns

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

17 years agoLet wxListCtrl generate the context menu event itself
Robert Roebling [Wed, 19 Sep 2007 11:35:39 +0000 (11:35 +0000)] 
Let wxListCtrl generate the context menu event itself

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

17 years agouse fabs() instead of abs() to fix mingw32 compilation (bug 1797589)
Vadim Zeitlin [Wed, 19 Sep 2007 10:12:11 +0000 (10:12 +0000)] 
use fabs() instead of abs() to fix mingw32 compilation (bug 1797589)

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

17 years agoshut down GDI+ from a module instead of doing it during static object destruction...
Vadim Zeitlin [Wed, 19 Sep 2007 01:02:16 +0000 (01:02 +0000)] 
shut down GDI+ from a module instead of doing it during static object destruction time when it may be too late (patch 1792915)

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

17 years agoallow using wxSizerFlags with wxSizer methods adding spacers too (patch 1797272)
Vadim Zeitlin [Wed, 19 Sep 2007 00:45:31 +0000 (00:45 +0000)] 
allow using wxSizerFlags with wxSizer methods adding spacers too (patch 1797272)

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

17 years agofix bug with deleting and recreating entries in wxFileConfig (patch 1796866)
Vadim Zeitlin [Wed, 19 Sep 2007 00:41:55 +0000 (00:41 +0000)] 
fix bug with deleting and recreating entries in wxFileConfig (patch 1796866)

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

17 years agotemplate class WXDLLIMPEXP_FWD_XRC wxVector<wxXmlResourceHandler *>;
Michael Wetherell [Tue, 18 Sep 2007 21:49:27 +0000 (21:49 +0000)] 
template class WXDLLIMPEXP_FWD_XRC wxVector<wxXmlResourceHandler *>;
instantiates as well as forward declares, which gives us multiple definition
link errors on some systems. So trying WXDLLIMPEXP_FWD_XRC on the declaration
of m_handlers instead.

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

17 years agoRearrange code to fix some problems
Robert Roebling [Tue, 18 Sep 2007 17:43:17 +0000 (17:43 +0000)] 
Rearrange code to fix some problems

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

17 years agoCorrect setting of line width
Robert Roebling [Tue, 18 Sep 2007 17:09:12 +0000 (17:09 +0000)] 
Correct setting of line width

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

17 years agoreturn type for "grab-broken-event" is not void; remove some redundant conditionals
Paul Cornett [Tue, 18 Sep 2007 15:51:07 +0000 (15:51 +0000)] 
return type for "grab-broken-event" is not void; remove some redundant conditionals

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

17 years agoLayout corrections
Julian Smart [Tue, 18 Sep 2007 15:15:38 +0000 (15:15 +0000)] 
Layout corrections

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

17 years agofix for the last commit: reset the dummy wxRICHTEXT_DEFAULT_DROPTARGET pointer in...
Vadim Zeitlin [Tue, 18 Sep 2007 12:06:46 +0000 (12:06 +0000)] 
fix for the last commit: reset the dummy wxRICHTEXT_DEFAULT_DROPTARGET pointer in dtor to avoid crashing when trying to delete it in the base class dtor

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

17 years agoproperly NUL-terminate the buffer returned by wxMBConv::cMB2WC()
Vadim Zeitlin [Tue, 18 Sep 2007 12:04:39 +0000 (12:04 +0000)] 
properly NUL-terminate the buffer returned by wxMBConv::cMB2WC()

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

17 years agowxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
Julian Smart [Tue, 18 Sep 2007 10:48:05 +0000 (10:48 +0000)] 
wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
as opposed to wxBORDER_NONE which may or may not show a border, depending on control.

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

17 years agoFixed compilo
Julian Smart [Tue, 18 Sep 2007 09:47:55 +0000 (09:47 +0000)] 
Fixed compilo

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

17 years agovarious small cleanups
Paul Cornett [Mon, 17 Sep 2007 17:24:44 +0000 (17:24 +0000)] 
various small cleanups

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

17 years agoInstantiate NSSecureTextField instead of NSTextField when wxTE_PASSWORD is specified.
David Elliott [Mon, 17 Sep 2007 16:43:30 +0000 (16:43 +0000)] 
Instantiate NSSecureTextField instead of NSTextField when wxTE_PASSWORD is specified.
Copyright 2007 Software 2000 Ltd.

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

17 years agoAdding prototype script for creating a wx Mac framework from a configure-based wxPyth...
Kevin Ollivier [Mon, 17 Sep 2007 15:41:48 +0000 (15:41 +0000)] 
Adding prototype script for creating a wx Mac framework from a configure-based wxPython build.

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

17 years agofix compilation due to wxCmdLineEntryDesc changes once again
Vadim Zeitlin [Mon, 17 Sep 2007 14:37:12 +0000 (14:37 +0000)] 
fix compilation due to wxCmdLineEntryDesc changes once again

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

17 years agoAlways rearrange wxListBook and send out size event, otherwise scrollbar overlaps...
Robert Roebling [Mon, 17 Sep 2007 13:37:52 +0000 (13:37 +0000)] 
Always rearrange wxListBook and send out size event, otherwise scrollbar overlaps icons

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

17 years agocompilation
Robert Roebling [Mon, 17 Sep 2007 13:34:20 +0000 (13:34 +0000)] 
compilation

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

17 years agoDon't compile with < GTK 2.4
Robert Roebling [Mon, 17 Sep 2007 10:56:51 +0000 (10:56 +0000)] 
Don't compile with < GTK 2.4

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

17 years agoAlways make wxWindow::SetFocus() focus the window, overriding SetCanFocus, some more...
Robert Roebling [Mon, 17 Sep 2007 10:17:12 +0000 (10:17 +0000)] 
Always make wxWindow::SetFocus() focus the window, overriding SetCanFocus, some more focus related docs

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

17 years agorename wxFileList to wxFileListCtrl
Vadim Zeitlin [Mon, 17 Sep 2007 10:01:00 +0000 (10:01 +0000)] 
rename wxFileList to wxFileListCtrl

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

17 years agoreverted accidental change to this file as part of rev 48732
Vadim Zeitlin [Mon, 17 Sep 2007 09:52:56 +0000 (09:52 +0000)] 
reverted accidental change to this file as part of rev 48732

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

17 years agoRemoved restriction that multiple centre panes can't be resized
Julian Smart [Mon, 17 Sep 2007 09:28:28 +0000 (09:28 +0000)] 
Removed restriction that multiple centre panes can't be resized

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

17 years agoAdded omitted variable copy
Julian Smart [Mon, 17 Sep 2007 09:26:08 +0000 (09:26 +0000)] 
Added omitted variable copy

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

17 years agoRemoved "not yet working" comment for --enable-universal_binary
Julian Smart [Mon, 17 Sep 2007 09:24:42 +0000 (09:24 +0000)] 
Removed "not yet working" comment for --enable-universal_binary

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

17 years agodeclare wxVector<wxXmlResourceHandler *> as DLL-exported to avoid VC++ warnings in...
Vadim Zeitlin [Mon, 17 Sep 2007 00:40:10 +0000 (00:40 +0000)] 
declare wxVector<wxXmlResourceHandler *> as DLL-exported to avoid VC++ warnings in shared build

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

17 years agodon't abbreviate 'control' to 'ctrl' (patch 1780280)
Vadim Zeitlin [Mon, 17 Sep 2007 00:32:57 +0000 (00:32 +0000)] 
don't abbreviate 'control' to 'ctrl' (patch 1780280)

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

17 years agodefine wxUSE_CAIRO as 0 for non-GTK builds to avoid warnings about using undefined...
Vadim Zeitlin [Mon, 17 Sep 2007 00:25:50 +0000 (00:25 +0000)] 
define wxUSE_CAIRO as 0 for non-GTK builds to avoid warnings about using undefined symbols in preprocessor conditions

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

17 years agoreverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
Vadim Zeitlin [Mon, 17 Sep 2007 00:22:05 +0000 (00:22 +0000)] 
reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems

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

17 years agoadded new and improved wxFileCtrl implementation (patch 1763164)
Vadim Zeitlin [Mon, 17 Sep 2007 00:14:34 +0000 (00:14 +0000)] 
added new and improved wxFileCtrl implementation (patch 1763164)

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

17 years agodon't access m_clientDataItemsType directly
Vadim Zeitlin [Mon, 17 Sep 2007 00:12:13 +0000 (00:12 +0000)] 
don't access m_clientDataItemsType directly

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

17 years agocompilation fix
Vadim Zeitlin [Sun, 16 Sep 2007 23:53:16 +0000 (23:53 +0000)] 
compilation fix

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

17 years agodon't use NULL when we mean 0
Vadim Zeitlin [Sun, 16 Sep 2007 23:40:08 +0000 (23:40 +0000)] 
don't use NULL when we mean 0

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

17 years agofix warnings due to use of WXDLLEXPORT on forward declarations
Vadim Zeitlin [Sun, 16 Sep 2007 23:27:06 +0000 (23:27 +0000)] 
fix warnings due to use of WXDLLEXPORT on forward declarations

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

17 years agofix access to client data of wxComboBox in wxUniv by virtualizing access to wxControl...
Vadim Zeitlin [Sun, 16 Sep 2007 23:12:27 +0000 (23:12 +0000)] 
fix access to client data of wxComboBox in wxUniv by virtualizing access to wxControlWithItems::m_clientDataItemsType

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

17 years agoinclude wx/beforestd.h before iostream headers to avoid problems with visibility...
Vadim Zeitlin [Sun, 16 Sep 2007 18:53:37 +0000 (18:53 +0000)] 
include wx/beforestd.h before iostream headers to avoid problems with visibility in Unix build

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

17 years agofix for VC6 sorry
Chris Elliott [Sun, 16 Sep 2007 17:51:52 +0000 (17:51 +0000)] 
fix for VC6 sorry

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

17 years agofix for VC6
Chris Elliott [Sun, 16 Sep 2007 17:47:03 +0000 (17:47 +0000)] 
fix for VC6

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

17 years agoremove refernce to removed samples
Chris Elliott [Sun, 16 Sep 2007 17:29:30 +0000 (17:29 +0000)] 
remove refernce to removed samples

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

17 years agomore fixes for using wxSocket in console applications (patch 1756260)
Vadim Zeitlin [Sun, 16 Sep 2007 14:29:42 +0000 (14:29 +0000)] 
more fixes for using wxSocket in console applications (patch 1756260)

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

17 years agoexpand the table cells to fill the entire table width (patch 1722794)
Vadim Zeitlin [Sun, 16 Sep 2007 11:19:46 +0000 (11:19 +0000)] 
expand the table cells to fill the entire table width (patch 1722794)

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

17 years agofix divide by 0 bug in UpdateScrollbars() (part of patch 1716763)
Vadim Zeitlin [Sun, 16 Sep 2007 11:04:26 +0000 (11:04 +0000)] 
fix divide by 0 bug in UpdateScrollbars() (part of patch 1716763)

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

17 years agodestroy the old clipping region before setting the new one (part of patch 1716763)
Vadim Zeitlin [Sun, 16 Sep 2007 10:57:01 +0000 (10:57 +0000)] 
destroy the old clipping region before setting the new one (part of patch 1716763)

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

17 years agoremoved apparent off by 1 bug in the end line calculation in ShowPosition() (part...
Vadim Zeitlin [Sun, 16 Sep 2007 10:55:35 +0000 (10:55 +0000)] 
removed apparent off by 1 bug in the end line calculation in ShowPosition() (part of patch 1716763)

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

17 years agoadded XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch...
Vadim Zeitlin [Sun, 16 Sep 2007 10:50:01 +0000 (10:50 +0000)] 
added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch 1782080)

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

17 years agouse ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for...
Vadim Zeitlin [Sun, 16 Sep 2007 10:24:45 +0000 (10:24 +0000)] 
use ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for it to the sample

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

17 years agocheck whether clipping region is empty, not whether it's null; disable USE_PAINT_REGI...
Vadim Zeitlin [Sat, 15 Sep 2007 23:52:02 +0000 (23:52 +0000)] 
check whether clipping region is empty, not whether it's null; disable USE_PAINT_REGION which seems to be more harmful than useful (part of patch 1716763)

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

17 years agofix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch...
Vadim Zeitlin [Sat, 15 Sep 2007 23:43:03 +0000 (23:43 +0000)] 
fix off by one (or rather "off by border width") bug in ScrollWindow() (part of patch 1716763)

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

17 years agofix the bug with not showing all the text in the text control even if there is enough...
Vadim Zeitlin [Sat, 15 Sep 2007 23:35:18 +0000 (23:35 +0000)] 
fix the bug with not showing all the text in the text control even if there is enough space (replaces patch 1716758)

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

17 years agocorrected m_strings array creation broken by last changes
Vadim Zeitlin [Sat, 15 Sep 2007 22:30:00 +0000 (22:30 +0000)] 
corrected m_strings array creation broken by last changes

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

17 years agoImplement wxWindow::SetFocusIgnoringChildren for GTK+
Robert Roebling [Sat, 15 Sep 2007 22:06:22 +0000 (22:06 +0000)] 
Implement wxWindow::SetFocusIgnoringChildren for GTK+

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

17 years agowxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes
Vadim Zeitlin [Sat, 15 Sep 2007 21:23:19 +0000 (21:23 +0000)] 
wxX11 compilation fixes after wxTRANSLATE/wxCmdLineEntryDesc Unicode changes

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

17 years agoCorrect GetLabelItemRect to not include image (as per 2.8 branch)
Robert Roebling [Sat, 15 Sep 2007 11:05:38 +0000 (11:05 +0000)] 
Correct GetLabelItemRect to not include image (as per 2.8 branch)

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

17 years agoRemove redundant test later in keypress handling
Robert Roebling [Sat, 15 Sep 2007 10:31:38 +0000 (10:31 +0000)] 
Remove redundant test later in keypress handling

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

17 years agoOnly send keypress events to focus widget, not its parents
Robert Roebling [Sat, 15 Sep 2007 10:29:26 +0000 (10:29 +0000)] 
Only send keypress events to focus widget, not its parents

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

17 years agolet GtkRange clamp scroll position
Paul Cornett [Sat, 15 Sep 2007 02:58:14 +0000 (02:58 +0000)] 
let GtkRange clamp scroll position

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

17 years agoget rid of the built-in drop target in rich text controls before setting the user...
Vadim Zeitlin [Sat, 15 Sep 2007 01:09:01 +0000 (01:09 +0000)] 
get rid of the built-in drop target in rich text controls before setting the user-defined one as otherwise it fails

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

17 years agoalways NUL-terminate the buffers returned by cWC2MB/cMB2WC() overloads taking input...
Vadim Zeitlin [Sat, 15 Sep 2007 00:36:16 +0000 (00:36 +0000)] 
always NUL-terminate the buffers returned by cWC2MB/cMB2WC() overloads taking input length, even if the input is not NUL-terminated (part of patch 1795174)

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

17 years agofix wxStringOutputStream to deal with NUL bytes correctly (incidentally fixes bug...
Vadim Zeitlin [Sat, 15 Sep 2007 00:32:54 +0000 (00:32 +0000)] 
fix wxStringOutputStream to deal with NUL bytes correctly (incidentally fixes bug 1792727, part of patch 1795174)

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

17 years agouse wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)
Vadim Zeitlin [Sat, 15 Sep 2007 00:18:56 +0000 (00:18 +0000)] 
use wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString)

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

17 years agoalways return positive pixel size, even for negative LOGFONT height values
Vadim Zeitlin [Sat, 15 Sep 2007 00:17:58 +0000 (00:17 +0000)] 
always return positive pixel size, even for negative LOGFONT height values

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

17 years agofix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8...
Vadim Zeitlin [Sat, 15 Sep 2007 00:16:58 +0000 (00:16 +0000)] 
fix wxMBConvUTF8::cMB2WC/cWC2MB() broken by the introduction of wxMBConvStrictUTF8: as it overrides From/ToWChar(), wxMBConvUTF8 needs to do it (instead of deprecated MB2WC/WC2MB) as well

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

17 years agoundo revision 48162 as it broke unit tests
Vadim Zeitlin [Sat, 15 Sep 2007 00:03:47 +0000 (00:03 +0000)] 
undo revision 48162 as it broke unit tests

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

17 years agofix a couple of harmless warnings in MSVC build
Vadim Zeitlin [Fri, 14 Sep 2007 23:33:46 +0000 (23:33 +0000)] 
fix a couple of harmless warnings in MSVC build

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

17 years agofix wxCmdLineEntryDesc compilation after latest changes
Vadim Zeitlin [Fri, 14 Sep 2007 23:26:06 +0000 (23:26 +0000)] 
fix wxCmdLineEntryDesc compilation after latest changes

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

17 years agomention that support for reading alpha from TIFF images was added (rev 47204)
Vadim Zeitlin [Fri, 14 Sep 2007 23:22:07 +0000 (23:22 +0000)] 
mention that support for reading alpha from TIFF images was added (rev 47204)

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

17 years agoreverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile...
Vadim Zeitlin [Fri, 14 Sep 2007 21:05:12 +0000 (21:05 +0000)] 
reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead

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

17 years agoImplement wxDataViewCtrl::GetSortingColumn() and related code for GTK+
Robert Roebling [Fri, 14 Sep 2007 21:02:18 +0000 (21:02 +0000)] 
Implement wxDataViewCtrl::GetSortingColumn() and related code for GTK+

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

17 years agoadded WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnin...
Vadim Zeitlin [Fri, 14 Sep 2007 21:02:09 +0000 (21:02 +0000)] 
added WXDLLIMPEXP_TEMPLATE_INSTANCE_BASE() macro and use it to work around VC6 warnings about non DLL-exported templates

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

17 years agofix unused parameter warning
Vadim Zeitlin [Fri, 14 Sep 2007 21:00:27 +0000 (21:00 +0000)] 
fix unused parameter warning

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

17 years agoImplement and test _HEADER_RIGHT_CLICK event for GTK+
Robert Roebling [Fri, 14 Sep 2007 20:36:19 +0000 (20:36 +0000)] 
Implement and test _HEADER_RIGHT_CLICK event for GTK+

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

17 years agoImplement and test wxDataViewCtrl::GetColumnPosition() for GTK+
Robert Roebling [Fri, 14 Sep 2007 20:30:05 +0000 (20:30 +0000)] 
Implement and test wxDataViewCtrl::GetColumnPosition() for GTK+

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

17 years agoForgot this one
Robert Roebling [Fri, 14 Sep 2007 19:51:42 +0000 (19:51 +0000)] 
Forgot this one

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

17 years agoPatch from Hartwig wrt SELECTION_CHANGE event
Robert Roebling [Fri, 14 Sep 2007 19:50:35 +0000 (19:50 +0000)] 
Patch from Hartwig wrt SELECTION_CHANGE event

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

17 years agofix warning about not enough parameters for WX_DEFINE_GLOBAL_CONV2 with VC6
Vadim Zeitlin [Fri, 14 Sep 2007 18:54:24 +0000 (18:54 +0000)] 
fix warning about not enough parameters for WX_DEFINE_GLOBAL_CONV2 with VC6

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

17 years agoscrolling windows need wx[HV]SCROLL style
Paul Cornett [Fri, 14 Sep 2007 17:23:43 +0000 (17:23 +0000)] 
scrolling windows need wx[HV]SCROLL style

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

17 years agoadded WXDLLIMPEXP_BASE for a couple of template classes having only inline functions...
Vadim Zeitlin [Fri, 14 Sep 2007 17:04:27 +0000 (17:04 +0000)] 
added WXDLLIMPEXP_BASE for a couple of template classes having only inline functions as VC7 still needs them in DLL build if these classes are used as base classes or members of other DLL-exported classes (replaces first two parts of the patch 1779004)

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

17 years agofix some harmless warnings (last two parts of patch 1779004)
Vadim Zeitlin [Fri, 14 Sep 2007 17:00:45 +0000 (17:00 +0000)] 
fix some harmless warnings (last two parts of patch 1779004)

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

17 years agoadd missing sample
Chris Elliott [Fri, 14 Sep 2007 16:15:47 +0000 (16:15 +0000)] 
add missing sample

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

17 years agoFixed caret sizing bug
Julian Smart [Fri, 14 Sep 2007 12:18:50 +0000 (12:18 +0000)] 
Fixed caret sizing bug

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

17 years agoAPI change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events
Robert Roebling [Fri, 14 Sep 2007 08:59:07 +0000 (08:59 +0000)] 
API change: a single SELECTION_CHANGED not lots of SELECT and UNSELECT events

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

17 years agoFix ending label-editing bug when clicking elsewhere
Robert Roebling [Fri, 14 Sep 2007 07:58:06 +0000 (07:58 +0000)] 
Fix ending label-editing bug when clicking elsewhere

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

17 years agoremove m_blockScrollEvent from wxWindowGTK
Paul Cornett [Fri, 14 Sep 2007 04:26:33 +0000 (04:26 +0000)] 
remove m_blockScrollEvent from wxWindowGTK

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

17 years agobuild fix
Paul Cornett [Fri, 14 Sep 2007 04:22:04 +0000 (04:22 +0000)] 
build fix

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

17 years agomore value updating fixes
Paul Cornett [Fri, 14 Sep 2007 04:11:01 +0000 (04:11 +0000)] 
more value updating fixes

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