]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agono changes, just deTABbed
Vadim Zeitlin [Thu, 13 Nov 2008 12:04:17 +0000 (12:04 +0000)] 
no changes, just deTABbed

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

16 years agouse -Woverloaded-virtual if g++ supports it
Vadim Zeitlin [Wed, 12 Nov 2008 15:58:56 +0000 (15:58 +0000)] 
use -Woverloaded-virtual if g++ supports it

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

16 years agoremove SO_SUFFIX from configure, this is handled by bakefile since many years and...
Vadim Zeitlin [Wed, 12 Nov 2008 15:41:38 +0000 (15:41 +0000)] 
remove SO_SUFFIX from configure, this is handled by bakefile since many years and keeping this here is just confusing

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

16 years agouse = in test, not == which is not standard and not understood by all shells
Vadim Zeitlin [Wed, 12 Nov 2008 15:38:54 +0000 (15:38 +0000)] 
use = in test, not == which is not standard and not understood by all shells

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

16 years agouse correct shared library extension for HP-UX on ia64 [forward port from the next...
Vadim Zeitlin [Wed, 12 Nov 2008 15:37:01 +0000 (15:37 +0000)] 
use correct shared library extension for HP-UX on ia64 [forward port from the next bakefile version]

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

16 years agofix large files support for HP-UX v11: we need _LARGEFILE_SOURCE there; OTOH don...
Vadim Zeitlin [Wed, 12 Nov 2008 15:31:44 +0000 (15:31 +0000)] 
fix large files support for HP-UX v11: we need _LARGEFILE_SOURCE there; OTOH don't use _LARGE_FILES everywhere as it's only needed under AIX

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

16 years agofix warning about hiding the base class LoadFile()
Vadim Zeitlin [Wed, 12 Nov 2008 14:40:28 +0000 (14:40 +0000)] 
fix warning about hiding the base class LoadFile()

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

16 years agoadded self-assignment check to wxListItem::operator=()
Vadim Zeitlin [Wed, 12 Nov 2008 14:36:21 +0000 (14:36 +0000)] 
added self-assignment check to wxListItem::operator=()

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

16 years agoadded check for self-assignment to wxPrintData::operator=() (thanks HP aCC for a...
Vadim Zeitlin [Wed, 12 Nov 2008 14:34:40 +0000 (14:34 +0000)] 
added check for self-assignment to wxPrintData::operator=() (thanks HP aCC for a genuinely useful warning) and also changed it return type to the standard one instead of void

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

16 years agothere is no sqrt(int) in standard C++ (although glibc seems to provide it); select...
Vadim Zeitlin [Wed, 12 Nov 2008 14:32:28 +0000 (14:32 +0000)] 
there is no sqrt(int) in standard C++ (although glibc seems to provide it); select sqrt(double) explicitly to fix HP-UX compilation

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

16 years agoremove consts from casts which don't do anything except provoking HP aCC warnings...
Vadim Zeitlin [Wed, 12 Nov 2008 14:29:44 +0000 (14:29 +0000)] 
remove consts from casts which don't do anything except provoking HP aCC warnings; also removed useless occurrences of inline keyword

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

16 years agorebake after r56738
Vadim Zeitlin [Wed, 12 Nov 2008 11:55:44 +0000 (11:55 +0000)] 
rebake after r56738

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

16 years agofix the dependencies directory name for traditional Unix compilers
Vadim Zeitlin [Wed, 12 Nov 2008 11:54:41 +0000 (11:54 +0000)] 
fix the dependencies directory name for traditional Unix compilers

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

16 years agoremove lines containing nothing but spaces: this is a (fatal) syntax error for HP...
Vadim Zeitlin [Wed, 12 Nov 2008 11:18:54 +0000 (11:18 +0000)] 
remove lines containing nothing but spaces: this is a (fatal) syntax error for HP-UX make

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

16 years agouse explicit global scope for a couple of more occurrences of new
Vadim Zeitlin [Mon, 10 Nov 2008 23:55:01 +0000 (23:55 +0000)] 
use explicit global scope for a couple of more occurrences of new

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

16 years agouse base class copy ctor in wxPGCell and wxPGChoiceEntry copy ctor implementation
Vadim Zeitlin [Mon, 10 Nov 2008 23:06:44 +0000 (23:06 +0000)] 
use base class copy ctor in wxPGCell and wxPGChoiceEntry copy ctor implementation

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

16 years agoother ifacecheck fixes
Francesco Montorsi [Mon, 10 Nov 2008 21:33:25 +0000 (21:33 +0000)] 
other ifacecheck fixes

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

16 years agoupdate screenshots using the default theme for Windows XP (looks more modern than...
Francesco Montorsi [Mon, 10 Nov 2008 20:12:36 +0000 (20:12 +0000)] 
update screenshots using the default theme for Windows XP (looks more modern than current Win98-like style); screenshots generated by Utensil Candel

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

16 years agofix yet another VC6 compilation error because of loop variable reuse
Vadim Zeitlin [Mon, 10 Nov 2008 16:44:39 +0000 (16:44 +0000)] 
fix yet another VC6 compilation error because of loop variable reuse

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

16 years agocompilation fix after wxFont changes (closes #10152)
Vadim Zeitlin [Mon, 10 Nov 2008 14:30:41 +0000 (14:30 +0000)] 
compilation fix after wxFont changes (closes #10152)

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

16 years agoAdded wxChoice renderer to wxDataViewCtrl
Robert Roebling [Mon, 10 Nov 2008 14:08:38 +0000 (14:08 +0000)] 
Added wxChoice renderer to wxDataViewCtrl

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

16 years agofix another VC6 compilation error because of loop variable reuse
Vadim Zeitlin [Mon, 10 Nov 2008 14:01:56 +0000 (14:01 +0000)] 
fix another VC6 compilation error because of loop variable reuse

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

16 years agofix VC6 broken for variable scope handling
Francesco Montorsi [Sun, 9 Nov 2008 16:49:52 +0000 (16:49 +0000)] 
fix VC6 broken for variable scope handling

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

16 years agoifacecheck manual fixes
Francesco Montorsi [Sun, 9 Nov 2008 16:46:52 +0000 (16:46 +0000)] 
ifacecheck manual fixes

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

16 years agouse wxEventType coherently with the docs
Francesco Montorsi [Sun, 9 Nov 2008 16:44:56 +0000 (16:44 +0000)] 
use wxEventType coherently with the docs

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

16 years agomore intelligence to avoid false warnings
Francesco Montorsi [Sun, 9 Nov 2008 16:30:50 +0000 (16:30 +0000)] 
more intelligence to avoid false warnings

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

16 years agofix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead...
Francesco Montorsi [Sun, 9 Nov 2008 15:36:36 +0000 (15:36 +0000)] 
fix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead, together with a new wxLog-derived target to print everything on stdout

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

16 years agofix typo: s/SetTimestamp/DisableTimestamp
Francesco Montorsi [Sun, 9 Nov 2008 15:20:49 +0000 (15:20 +0000)] 
fix typo: s/SetTimestamp/DisableTimestamp

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

16 years agouse global operator new to fix compilation errors if type T overloads new (as wxObjec...
Vadim Zeitlin [Sun, 9 Nov 2008 12:34:21 +0000 (12:34 +0000)] 
use global operator new to fix compilation errors if type T overloads new (as wxObject does with wxUSE_MEMORY_TRACING)

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

16 years agoanother wxFont OS2 blind build fix
Francesco Montorsi [Sun, 9 Nov 2008 11:33:12 +0000 (11:33 +0000)] 
another wxFont OS2 blind build fix

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

16 years agofix race condition which could result in assert failures in debug builds and infinite...
Vadim Zeitlin [Sat, 8 Nov 2008 22:41:10 +0000 (22:41 +0000)] 
fix race condition which could result in assert failures in debug builds and infinite loops in release (#9094)

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

16 years agoifacecheck fixes
Francesco Montorsi [Sat, 8 Nov 2008 15:25:07 +0000 (15:25 +0000)] 
ifacecheck fixes

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

16 years agoifacecheck fixes
Francesco Montorsi [Sat, 8 Nov 2008 15:17:16 +0000 (15:17 +0000)] 
ifacecheck fixes

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

16 years agouse wxFrameNameStr where possible instead of 'frame' string (for coherence with all...
Francesco Montorsi [Sat, 8 Nov 2008 15:01:00 +0000 (15:01 +0000)] 
use wxFrameNameStr where possible instead of 'frame' string (for coherence with all other wxWidgets frame classes)

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

16 years agogenerate the output gcc XML file always in the same folder where 'rungccxml.sh' scrip...
Francesco Montorsi [Sat, 8 Nov 2008 14:38:36 +0000 (14:38 +0000)] 
generate the output gcc XML file always in the same folder where 'rungccxml.sh' script is placed

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

16 years agodo not halt gccXML because wxUSE_ACCESSIBILITY, even if it's being used under linux
Francesco Montorsi [Sat, 8 Nov 2008 14:04:27 +0000 (14:04 +0000)] 
do not halt gccXML because wxUSE_ACCESSIBILITY, even if it's being used under linux

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

16 years agoblind fix based on buildbot logs
Francesco Montorsi [Sat, 8 Nov 2008 12:56:32 +0000 (12:56 +0000)] 
blind fix based on buildbot logs

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

16 years agorelease the mouse in wxGrid dtor to avoid asserts when the grid is destroyed during...
Vadim Zeitlin [Sat, 8 Nov 2008 00:06:34 +0000 (00:06 +0000)] 
release the mouse in wxGrid dtor to avoid asserts when the grid is destroyed during e.g. a cell selection operation

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

16 years agoFinnish translations update from Elias Julkunen
Vadim Zeitlin [Fri, 7 Nov 2008 22:50:33 +0000 (22:50 +0000)] 
Finnish translations update from Elias Julkunen

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

16 years agofix build
Francesco Montorsi [Fri, 7 Nov 2008 19:07:33 +0000 (19:07 +0000)] 
fix build

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

16 years agoPrevent activation of the AUI hint window (mini frame) on Mac.
Bryan Petty [Fri, 7 Nov 2008 00:47:35 +0000 (00:47 +0000)] 
Prevent activation of the AUI hint window (mini frame) on Mac.

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

16 years agocheck for NULL pointer in IsExtensionInList()
Vadim Zeitlin [Thu, 6 Nov 2008 23:31:26 +0000 (23:31 +0000)] 
check for NULL pointer in IsExtensionInList()

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

16 years agoRemoved property editor validation failure assertions when implicitly clearing select...
Jaakko Salli [Thu, 6 Nov 2008 18:05:09 +0000 (18:05 +0000)] 
Removed property editor validation failure assertions when implicitly clearing selection. Added relevant notes into documentation of member functions that previously asserted.

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

16 years agoTemporarily disable the email notifications as we're getting false ones from
Michael Wetherell [Thu, 6 Nov 2008 12:15:31 +0000 (12:15 +0000)] 
Temporarily disable the email notifications as we're getting false ones from
the Windows slave.

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

16 years agochanging depricated font-family enums into current ones
Jouk Jansen [Thu, 6 Nov 2008 08:12:48 +0000 (08:12 +0000)] 
changing depricated font-family enums into current ones

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

16 years agodocument wxRESIZE_BORDER side effect under Windows (see #9989)
Vadim Zeitlin [Wed, 5 Nov 2008 15:27:34 +0000 (15:27 +0000)] 
document wxRESIZE_BORDER side effect under Windows (see #9989)

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

16 years agoinserting generic mdi for OpenVMS Motif support
Jouk Jansen [Wed, 5 Nov 2008 12:35:43 +0000 (12:35 +0000)] 
inserting generic mdi for OpenVMS Motif support

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

16 years agoromoving motif-mdi for OpenVMS compile support
Jouk Jansen [Wed, 5 Nov 2008 12:27:08 +0000 (12:27 +0000)] 
romoving motif-mdi for OpenVMS compile support

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

16 years agoadd command line options for displaying the test name and time taken by them (closes...
Vadim Zeitlin [Wed, 5 Nov 2008 10:08:19 +0000 (10:08 +0000)] 
add command line options for displaying the test name and time taken by them (closes #10156)

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

16 years agoremove Motif MDI files not used any longer
Vadim Zeitlin [Wed, 5 Nov 2008 10:01:45 +0000 (10:01 +0000)] 
remove Motif MDI files not used any longer

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

16 years agodisable the test under Windows as it hangs and prevents buildbot from working
Vadim Zeitlin [Tue, 4 Nov 2008 12:15:24 +0000 (12:15 +0000)] 
disable the test under Windows as it hangs and prevents buildbot from working

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

16 years agoinclude wx/menu.h as we delete wxMenu pointer in this header (and creating a separate...
Vadim Zeitlin [Tue, 4 Nov 2008 12:11:30 +0000 (12:11 +0000)] 
include wx/menu.h as we delete wxMenu pointer in this header (and creating a separate .cpp file just to move the code doing it there seems impractical)

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

16 years agoReview/simplify/cleanup MDI classes for all platforms and introduce base
Vadim Zeitlin [Tue, 4 Nov 2008 02:46:19 +0000 (02:46 +0000)] 
Review/simplify/cleanup MDI classes for all platforms and introduce base
classes for wxMDI{Parent,Child}Frame and wxMDIClientWindow.

Also use generic MDI implementation for wxMotif as it seems to be more
functional and definitely is more maintained (we probably should use the
generic version for wxGTK too).

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

16 years agofix wxXPMDataHandler silently broken by long->wxBitmapType change
Vadim Zeitlin [Tue, 4 Nov 2008 01:42:33 +0000 (01:42 +0000)] 
fix wxXPMDataHandler silently broken by long->wxBitmapType change

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

16 years agoadded wxrc to the makefiles
Vadim Zeitlin [Mon, 3 Nov 2008 22:58:45 +0000 (22:58 +0000)] 
added wxrc to the makefiles

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

16 years agoinclude richtext library in BUILT_WX_LIBS (in particular so that it appears in 'wx...
Vadim Zeitlin [Mon, 3 Nov 2008 21:55:03 +0000 (21:55 +0000)] 
include richtext library in BUILT_WX_LIBS (in particular so that it appears in 'wx-config --libs all' output) if it's being built

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

16 years agobuild fix (the sample uses an undocumented function of wxFont)
Francesco Montorsi [Mon, 3 Nov 2008 19:32:23 +0000 (19:32 +0000)] 
build fix (the sample uses an undocumented function of wxFont)

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

16 years agobuild fix
Francesco Montorsi [Mon, 3 Nov 2008 18:50:41 +0000 (18:50 +0000)] 
build fix

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

16 years agobuild fixes
Francesco Montorsi [Mon, 3 Nov 2008 18:24:05 +0000 (18:24 +0000)] 
build fixes

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

16 years agobuild fixes
Francesco Montorsi [Mon, 3 Nov 2008 18:15:03 +0000 (18:15 +0000)] 
build fixes

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

16 years agodon't crash trying to draw buttons with invalid bitmaps (the real fix would be to...
Vadim Zeitlin [Mon, 3 Nov 2008 17:24:51 +0000 (17:24 +0000)] 
don't crash trying to draw buttons with invalid bitmaps (the real fix would be to avoid adding them to the toolbar in the first place, of course...)

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

16 years agofix (harmless) unused variable warning
Vadim Zeitlin [Mon, 3 Nov 2008 17:10:21 +0000 (17:10 +0000)] 
fix (harmless) unused variable warning

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

16 years agofix the incoherence pointed out by ifacecheck between wx docs, that documents usage...
Francesco Montorsi [Mon, 3 Nov 2008 17:02:25 +0000 (17:02 +0000)] 
fix the incoherence pointed out by ifacecheck between wx docs, that documents usage of the wxFontFamily, wxFontStyle and wxFontWeight enums in wxFont setters and getters, and the actual sources, which use 'int' instead; provided the same backward-compatibility pattern already used for wxBrush,wxPen both against 'int' overloads and against the wxDeprecatedGUIConstants enum values

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

16 years agoMoved Get/SetPropertyText/BackgroundColour() member functions from wxPropertyGrid...
Jaakko Salli [Mon, 3 Nov 2008 17:02:04 +0000 (17:02 +0000)] 
Moved Get/SetPropertyText/BackgroundColour() member functions from wxPropertyGrid to wxPropertyGridInterface

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

16 years agoremaining h* interface header revision
Francesco Montorsi [Mon, 3 Nov 2008 14:37:14 +0000 (14:37 +0000)] 
remaining h* interface header revision

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

16 years agodefine wxHAS_CONFIG_TEMPLATE_RW if template wxConfig::Read/Write() are available...
Vadim Zeitlin [Mon, 3 Nov 2008 13:36:08 +0000 (13:36 +0000)] 
define wxHAS_CONFIG_TEMPLATE_RW if template wxConfig::Read/Write() are available; use it to exclude the calls to these functions from the test to fix VC6 compilation

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

16 years agowx/tls.h belongs to base headers, not core (#10148)
Vadim Zeitlin [Mon, 3 Nov 2008 12:47:56 +0000 (12:47 +0000)] 
wx/tls.h belongs to base headers, not core (#10148)

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

16 years agodefine operator<<(wxLongLong_t) for VC6 whether wxUSE_STD_IOSTREAM is 0 or 1 (fixes...
Vadim Zeitlin [Mon, 3 Nov 2008 12:44:07 +0000 (12:44 +0000)] 
define operator<<(wxLongLong_t) for VC6 whether wxUSE_STD_IOSTREAM is 0 or 1 (fixes test compilation in the latter case)

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

16 years agofixed doxygen warnings produced by the ifacecheck fixes
Francesco Montorsi [Mon, 3 Nov 2008 11:57:07 +0000 (11:57 +0000)] 
fixed doxygen warnings produced by the ifacecheck fixes

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

16 years agoblind fix for yet another VC6 compilation error
Vadim Zeitlin [Mon, 3 Nov 2008 01:11:59 +0000 (01:11 +0000)] 
blind fix for yet another VC6 compilation error

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

16 years agoreally fix VC6 compilation of all testsi (without breaking VC9)
Vadim Zeitlin [Mon, 3 Nov 2008 00:31:16 +0000 (00:31 +0000)] 
really fix VC6 compilation of all testsi (without breaking VC9)

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

16 years agoundo the previous change, it's not needed any more now that we overload assertEquals...
Vadim Zeitlin [Sun, 2 Nov 2008 22:30:16 +0000 (22:30 +0000)] 
undo the previous change, it's not needed any more now that we overload assertEquals(int,long) too and it broke VC6 compilation again

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

16 years agodeclare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macro...
Francesco Montorsi [Sun, 2 Nov 2008 22:16:14 +0000 (22:16 +0000)] 
declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macros; in the process, change wxPropGrid window classes to take 'const wxString& name' arguments instead of 'const wxChar *name'

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

16 years agomake sure virtual method isn't inlined away
Stefan Csomor [Sun, 2 Nov 2008 19:13:54 +0000 (19:13 +0000)] 
make sure virtual method isn't inlined away

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

16 years agoreplace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
Vadim Zeitlin [Sun, 2 Nov 2008 02:43:11 +0000 (02:43 +0000)] 
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents

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

16 years agoreplace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
Vadim Zeitlin [Sun, 2 Nov 2008 02:39:52 +0000 (02:39 +0000)] 
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents

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

16 years agoadd yet another overload of assertEquals to fix another compilation error due to...
Vadim Zeitlin [Sun, 2 Nov 2008 02:34:12 +0000 (02:34 +0000)] 
add yet another overload of assertEquals to fix another compilation error due to using different types inside CPPUNIT_ASSERT_EQUAL

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

16 years agoremove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs...
Vadim Zeitlin [Sun, 2 Nov 2008 02:16:32 +0000 (02:16 +0000)] 
remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them

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

16 years agoremove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs...
Vadim Zeitlin [Sun, 2 Nov 2008 02:16:09 +0000 (02:16 +0000)] 
remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them

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

16 years agoexplicitly cast wxUniCharRef to char inside CPPUNIT_ASSERT_EQUAL
Vadim Zeitlin [Sun, 2 Nov 2008 01:59:34 +0000 (01:59 +0000)] 
explicitly cast wxUniCharRef to char inside CPPUNIT_ASSERT_EQUAL

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

16 years agoadded propgrid sources
Vadim Zeitlin [Sun, 2 Nov 2008 01:58:14 +0000 (01:58 +0000)] 
added propgrid sources

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

16 years agoresolve the DLL linking problems with MSVC due to use of static variables of template...
Vadim Zeitlin [Sun, 2 Nov 2008 01:48:36 +0000 (01:48 +0000)] 
resolve the DLL linking problems with MSVC due to use of static variables of template types by replacing them by a non-template unique untypedNullDataPtr

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

16 years agofix (justified) warnings about potential use of uninitialized variable in wxTCPEventH...
Vadim Zeitlin [Sun, 2 Nov 2008 01:43:55 +0000 (01:43 +0000)] 
fix (justified) warnings about potential use of uninitialized variable in wxTCPEventHandler::Client_OnRequest()

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

16 years agog++ compilation fix after latest changes
Vadim Zeitlin [Sun, 2 Nov 2008 01:11:17 +0000 (01:11 +0000)] 
g++ compilation fix after latest changes

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

16 years agoadd assertEquals(int,unsigned short) overload to resolve the ambiguity resulting...
Vadim Zeitlin [Sun, 2 Nov 2008 00:52:41 +0000 (00:52 +0000)] 
add assertEquals(int,unsigned short) overload to resolve the ambiguity resulting in tests comparing unsigned short with literal integer constants now that we have both assertEqals(int,unsigned int) and assertEquals(int, unsigned long) to satisfy VC6

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

16 years agoIn composed string values, entry for last children was often omitted if it was empty...
Jaakko Salli [Sat, 1 Nov 2008 18:40:29 +0000 (18:40 +0000)] 
In composed string values, entry for last children was often omitted if it was empty (and possibly unspecified, fixes wxPG sf bug #2197916)

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

16 years agoyet another compilation fix, this time for VC9
Vadim Zeitlin [Sat, 1 Nov 2008 18:05:59 +0000 (18:05 +0000)] 
yet another compilation fix, this time for VC9

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

16 years agoIt was not possible to set value of unspecified child by editing parent's composite...
Jaakko Salli [Sat, 1 Nov 2008 17:09:34 +0000 (17:09 +0000)] 
It was not possible to set value of unspecified child by editing parent's composite string (fixes wxPG sf bug #2186553)

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

16 years agoFix various warnings that only appear for release builds
Jaakko Salli [Sat, 1 Nov 2008 16:49:32 +0000 (16:49 +0000)] 
Fix various warnings that only appear for release builds

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

16 years agofix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)
Vadim Zeitlin [Fri, 31 Oct 2008 23:07:49 +0000 (23:07 +0000)] 
fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)

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

16 years agoReworked wxPGCell. It is now reference counted, and therefore much more user friendly...
Jaakko Salli [Fri, 31 Oct 2008 18:53:37 +0000 (18:53 +0000)] 
Reworked wxPGCell. It is now reference counted, and therefore much more user friendly, and is used internally as basis for most property colour values instead of separate row text and bg colours.

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

16 years agofix MSVC /Wp64 warning about size_t to int conversion (closes #10068)
Vadim Zeitlin [Fri, 31 Oct 2008 17:14:12 +0000 (17:14 +0000)] 
fix MSVC /Wp64 warning about size_t to int conversion (closes #10068)

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

16 years agofix compilation without wxUSE_FILESYSTEM (closes #10114)
Vadim Zeitlin [Fri, 31 Oct 2008 13:07:42 +0000 (13:07 +0000)] 
fix compilation without wxUSE_FILESYSTEM (closes #10114)

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

16 years agowxTLW: don't assert when setting null icons initially (#10138)
Václav Slavík [Fri, 31 Oct 2008 10:06:19 +0000 (10:06 +0000)] 
wxTLW: don't assert when setting null icons initially (#10138)

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

16 years agofix toolbar buttons so that they don't disappear temporarily when clicked if the...
Václav Slavík [Fri, 31 Oct 2008 09:41:47 +0000 (09:41 +0000)] 
fix toolbar buttons so that they don't disappear temporarily when clicked if the event handler causes window update

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

16 years agomake sure update UI handlers are called for accelerators, #10130
Paul Cornett [Fri, 31 Oct 2008 05:25:59 +0000 (05:25 +0000)] 
make sure update UI handlers are called for accelerators, #10130

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

16 years agogrid sample doesn't need neither html nor xml library
Vadim Zeitlin [Fri, 31 Oct 2008 02:06:25 +0000 (02:06 +0000)] 
grid sample doesn't need neither html nor xml library

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

16 years agoReviewed some g* interface headers.
Bryan Petty [Fri, 31 Oct 2008 01:22:58 +0000 (01:22 +0000)] 
Reviewed some g* interface headers.

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

16 years agodisable a correct test which VC6 just doesn't want to grok (hopefully last buildbot...
Vadim Zeitlin [Thu, 30 Oct 2008 23:23:07 +0000 (23:23 +0000)] 
disable a correct test which VC6 just doesn't want to grok (hopefully last buildbot error?)

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

16 years agofor some reason having int/size_t assertEquals() overload is not always enough for...
Vadim Zeitlin [Thu, 30 Oct 2008 23:22:10 +0000 (23:22 +0000)] 
for some reason having int/size_t assertEquals() overload is not always enough for VC6, so provide both unsigned int/long overloads instead and rely on size_t being one of them

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