wxWidgets.git
16 years agouse libtiff/libjpeg VC-specific include files for all Win32 compilers, including...
Vadim Zeitlin [Fri, 21 Sep 2007 14:13:15 +0000 (14:13 +0000)] 
use libtiff/libjpeg VC-specific include files for all Win32 compilers, including mingw32 (and even when using configure which is wrong but will be fixed later)

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

16 years agoremoved extra semicolon
Vadim Zeitlin [Fri, 21 Sep 2007 13:57:30 +0000 (13:57 +0000)] 
removed extra semicolon

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

16 years agoput __attribute__((deprecated)) before declaration and not after it as gcc seems...
Vadim Zeitlin [Fri, 21 Sep 2007 13:57:07 +0000 (13:57 +0000)] 
put __attribute__((deprecated)) before declaration and not after it as gcc seems to accept both and doing it like this allows to simplify wxDEPRECATED_INLINE() definition by using the same expansion for all compilers

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

16 years agoCorrected typo
Julian Smart [Fri, 21 Sep 2007 13:35:31 +0000 (13:35 +0000)] 
Corrected typo

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

16 years agono changes, just a typo fix
Vadim Zeitlin [Fri, 21 Sep 2007 13:34:03 +0000 (13:34 +0000)] 
no changes, just a typo fix

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

16 years agoSize of help window tabs reduced to prevent ugly overlap
Julian Smart [Fri, 21 Sep 2007 13:30:50 +0000 (13:30 +0000)] 
Size of help window tabs reduced to prevent ugly overlap

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

16 years agoReverted unnecessary fix
Julian Smart [Fri, 21 Sep 2007 12:44:59 +0000 (12:44 +0000)] 
Reverted unnecessary fix

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

16 years agofix VC6 warnings
Vadim Zeitlin [Fri, 21 Sep 2007 12:44:10 +0000 (12:44 +0000)] 
fix VC6 warnings

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

16 years agoMake SetFont actually do something
Julian Smart [Fri, 21 Sep 2007 12:40:08 +0000 (12:40 +0000)] 
Make SetFont actually do something

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

16 years agoadded wxDEPRECATED_INLINE, use it for wxPixelData<wxBitmap>::UseAlpha() to fix Sun...
Vadim Zeitlin [Fri, 21 Sep 2007 12:34:32 +0000 (12:34 +0000)] 
added wxDEPRECATED_INLINE, use it for wxPixelData<wxBitmap>::UseAlpha() to fix Sun CC compilation

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

16 years agomake wxScopeGuardImplBase copy ctor public to avoid Sun CC warnings
Vadim Zeitlin [Fri, 21 Sep 2007 12:27:25 +0000 (12:27 +0000)] 
make wxScopeGuardImplBase copy ctor public to avoid Sun CC warnings

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

16 years agovarious warning fixes for icc 9.1 compilation
Vadim Zeitlin [Fri, 21 Sep 2007 12:00:25 +0000 (12:00 +0000)] 
various warning fixes for icc 9.1 compilation

- variable shadowing
- unused code and variables
- extra semicolons

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

16 years agodon't do anything before including the PCH header
Vadim Zeitlin [Fri, 21 Sep 2007 11:55:42 +0000 (11:55 +0000)] 
don't do anything before including the PCH header

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

16 years agodon't do anything before including the PCH header
Vadim Zeitlin [Fri, 21 Sep 2007 11:53:23 +0000 (11:53 +0000)] 
don't do anything before including the PCH header

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

16 years agoinclude vms_jackets.h directly from wx/platform.h instead of doing it before wx/wxpre...
Vadim Zeitlin [Fri, 21 Sep 2007 11:34:19 +0000 (11:34 +0000)] 
include vms_jackets.h directly from wx/platform.h instead of doing it before wx/wxprec.h as this breaks PCH usage

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

16 years agofix icc warnings about shadowed variables and mismatching printf format
Vadim Zeitlin [Fri, 21 Sep 2007 11:27:13 +0000 (11:27 +0000)] 
fix icc warnings about shadowed variables and mismatching printf format

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

16 years agofunctions not taking argument must be declared as (void) in C, not ()
Vadim Zeitlin [Fri, 21 Sep 2007 11:25:11 +0000 (11:25 +0000)] 
functions not taking argument must be declared as (void) in C, not ()

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

16 years agoremoved wxEVT_POWER which wasn't declared nor used anywhere anyhow
Vadim Zeitlin [Fri, 21 Sep 2007 11:22:02 +0000 (11:22 +0000)] 
removed wxEVT_POWER which wasn't declared nor used anywhere anyhow

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

16 years agomore work on wxDC reorganizing
Robert Roebling [Fri, 21 Sep 2007 10:59:21 +0000 (10:59 +0000)] 
more work on wxDC reorganizing

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

16 years agoremoved an extra semicolon
Vadim Zeitlin [Fri, 21 Sep 2007 10:56:58 +0000 (10:56 +0000)] 
removed an extra semicolon

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

16 years agodon't shadow declaration of nIndex variable
Vadim Zeitlin [Fri, 21 Sep 2007 10:54:21 +0000 (10:54 +0000)] 
don't shadow declaration of nIndex variable

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

16 years agoOptimized update events by only sending them to visible windows
Julian Smart [Fri, 21 Sep 2007 10:51:31 +0000 (10:51 +0000)] 
Optimized update events by only sending them to visible windows

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

16 years agouse the lower-case version of the parameter in GetEndianness() as intended (thanks...
Vadim Zeitlin [Fri, 21 Sep 2007 10:51:14 +0000 (10:51 +0000)] 
use the lower-case version of the parameter in GetEndianness() as intended (thanks icc for the warning)

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

16 years agocheck whether compiler supports visibility pragmas used for broken libstdc++ visibili...
Vadim Zeitlin [Fri, 21 Sep 2007 10:50:13 +0000 (10:50 +0000)] 
check whether compiler supports visibility pragmas used for broken libstdc++ visibility workaround and don't use visibility at all if it doesn't (which is the case for icc)

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

16 years agoMention that DrawLines( wxList *) is deprecated
Robert Roebling [Fri, 21 Sep 2007 10:39:03 +0000 (10:39 +0000)] 
Mention that DrawLines( wxList *) is deprecated

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

16 years agoCorrected bug in in revision 47973
Julian Smart [Fri, 21 Sep 2007 10:34:33 +0000 (10:34 +0000)] 
Corrected bug in in revision 47973

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

16 years agoFix for wxLIST_STATE_SELECTED not being returned when calling GetItem[State]
Julian Smart [Fri, 21 Sep 2007 08:48:36 +0000 (08:48 +0000)] 
Fix for wxLIST_STATE_SELECTED not being returned when calling GetItem[State]

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

16 years agowcstod seems to be more widely available than wcstof
Paul Cornett [Fri, 21 Sep 2007 02:48:56 +0000 (02:48 +0000)] 
wcstod seems to be more widely available than wcstof

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

16 years agobuild fix for AIX
Paul Cornett [Fri, 21 Sep 2007 02:39:23 +0000 (02:39 +0000)] 
build fix for AIX

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

16 years agofix for HP and IBM compilers, calls to static template functions must be qualified
Paul Cornett [Fri, 21 Sep 2007 02:39:08 +0000 (02:39 +0000)] 
fix for HP and IBM compilers, calls to static template functions must be qualified

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

16 years agoallow the user to press Esc to close preview frame wherever the focus is, not only...
Vadim Zeitlin [Thu, 20 Sep 2007 23:11:22 +0000 (23:11 +0000)] 
allow the user to press Esc to close preview frame wherever the focus is, not only if it's on the canvas itself (patch 1719276)

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

16 years agouse wxWindow::NewControlId() instead of wxNewId() to avoid clashes with user-defined...
Vadim Zeitlin [Thu, 20 Sep 2007 22:58:55 +0000 (22:58 +0000)] 
use wxWindow::NewControlId() instead of wxNewId() to avoid clashes with user-defined ids; bug fixes in wxMSW for negative menu and toolbar items ids

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

16 years agoupdate from Antonio Cardoso Martins
Vadim Zeitlin [Thu, 20 Sep 2007 22:22:04 +0000 (22:22 +0000)] 
update from Antonio Cardoso Martins

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

16 years agoPatch from Bo for new selection API and impl. of GetColumnPos
Robert Roebling [Thu, 20 Sep 2007 19:38:57 +0000 (19:38 +0000)] 
Patch from Bo for new selection API and impl. of GetColumnPos

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

16 years agoapply XRCID() automatically to XRCSIZERITEM() argument (patch 1798697)
Vadim Zeitlin [Thu, 20 Sep 2007 16:29:05 +0000 (16:29 +0000)] 
apply XRCID() automatically to XRCSIZERITEM() argument (patch 1798697)

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

16 years agofix round trip check in wxMBConv_win32::WC2MB() when the buffer size is 0
Vadim Zeitlin [Thu, 20 Sep 2007 13:16:37 +0000 (13:16 +0000)] 
fix round trip check in wxMBConv_win32::WC2MB() when the buffer size is 0

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

16 years agoUkrainian translation update from Yuri Chornoivan
Vadim Zeitlin [Thu, 20 Sep 2007 12:40:36 +0000 (12:40 +0000)] 
Ukrainian translation update from Yuri Chornoivan

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

16 years agoadded Portuguese translation from Antonio Cardoso Martins
Vadim Zeitlin [Thu, 20 Sep 2007 12:20:45 +0000 (12:20 +0000)] 
added Portuguese translation from Antonio Cardoso Martins

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

16 years agoremove extra colons and semicolons
Vadim Zeitlin [Thu, 20 Sep 2007 10:23:20 +0000 (10:23 +0000)] 
remove extra colons and semicolons

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

16 years agoadded missing wxUSE_RICHEDIT test
Vadim Zeitlin [Thu, 20 Sep 2007 10:22:09 +0000 (10:22 +0000)] 
added missing wxUSE_RICHEDIT test

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

16 years agofix HAVE_ macros not being converted to uppercase on Solaris
Paul Cornett [Thu, 20 Sep 2007 02:06:04 +0000 (02:06 +0000)] 
fix HAVE_ macros not being converted to uppercase on Solaris

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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