]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agofix for last commit: didn't work if mask was white
Paul Cornett [Thu, 3 Jan 2008 06:58:11 +0000 (06:58 +0000)] 
fix for last commit: didn't work if mask was white

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

16 years agoFix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second...
Paul Cornett [Thu, 3 Jan 2008 05:28:22 +0000 (05:28 +0000)] 
Fix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second-most frequent color.
Simplify color cursor code.

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

16 years agodon't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
Vadim Zeitlin [Thu, 3 Jan 2008 01:13:44 +0000 (01:13 +0000)] 
don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)

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

16 years agoalso scroll vertically if necessary in MoveToItem() when the control is in a non...
Vadim Zeitlin [Thu, 3 Jan 2008 00:52:42 +0000 (00:52 +0000)] 
also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)

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

16 years agono changes, just updated the URL of KB article in a comment
Vadim Zeitlin [Thu, 3 Jan 2008 00:05:15 +0000 (00:05 +0000)] 
no changes, just updated the URL of KB article in a comment

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

16 years agoUse realloc() and placement new to manage vector's memory instead of
Václav Slavík [Wed, 2 Jan 2008 22:58:29 +0000 (22:58 +0000)] 
Use realloc() and placement new to manage vector's memory instead of
copying objects in T[] array. This is both more efficient and
matches std::vector<> semantics (erase() destroys the object immediately,
T doesn't have to be default-constructible).

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

16 years agoSuppressed the themed border by defining GetDefaultBorder
Julian Smart [Wed, 2 Jan 2008 21:39:10 +0000 (21:39 +0000)] 
Suppressed the themed border by defining GetDefaultBorder
Set custom background style

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

16 years agodon't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow...
Vadim Zeitlin [Wed, 2 Jan 2008 21:27:31 +0000 (21:27 +0000)] 
don't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow; do call it from Flush() however (replaces patch 1857589)

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

16 years agodon't lock the gs_prevCS critical section recursively (replaces patch 1857581)
Vadim Zeitlin [Wed, 2 Jan 2008 21:18:15 +0000 (21:18 +0000)] 
don't lock the gs_prevCS critical section recursively (replaces patch 1857581)

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

16 years agoallow creating empty ZIP archives (patch 1861030)
Vadim Zeitlin [Wed, 2 Jan 2008 20:31:31 +0000 (20:31 +0000)] 
allow creating empty ZIP archives (patch 1861030)

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

16 years agoremoved wxSTRING_TEXT() macro in favour of wxS()
Václav Slavík [Wed, 2 Jan 2008 17:33:31 +0000 (17:33 +0000)] 
removed wxSTRING_TEXT() macro in favour of wxS()

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

16 years agoreorder the methods in alphabetical order (patch 1861348)
Vadim Zeitlin [Wed, 2 Jan 2008 16:53:07 +0000 (16:53 +0000)] 
reorder the methods in alphabetical order (patch 1861348)

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

16 years agoremove redundant m_buffer_size member (patch 1861348)
Vadim Zeitlin [Wed, 2 Jan 2008 16:51:53 +0000 (16:51 +0000)] 
remove redundant m_buffer_size member (patch 1861348)

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

16 years agoadded wxS(); use it in a couple of places
Vadim Zeitlin [Wed, 2 Jan 2008 16:31:38 +0000 (16:31 +0000)] 
added wxS(); use it in a couple of places

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

16 years agoBlind fix for typo in 50972.
Stefan Neis [Wed, 2 Jan 2008 13:09:17 +0000 (13:09 +0000)] 
Blind fix for typo in 50972.

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

16 years agoMissing header.
Michael Wetherell [Wed, 2 Jan 2008 08:04:30 +0000 (08:04 +0000)] 
Missing header.

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

16 years agodo VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing...
Vadim Zeitlin [Tue, 1 Jan 2008 20:38:33 +0000 (20:38 +0000)] 
do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files

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

16 years agoCentreOnScreen() is in wxTLW, not wxWindow (bug 1861670)
Vadim Zeitlin [Tue, 1 Jan 2008 20:04:12 +0000 (20:04 +0000)] 
CentreOnScreen() is in wxTLW, not wxWindow (bug 1861670)

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

16 years agoEnsure AutoComp items with no type will set the item's image index to -1.
Robin Dunn [Mon, 31 Dec 2007 20:12:42 +0000 (20:12 +0000)] 
Ensure AutoComp items with no type will set the item's image index to -1.

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

16 years agoensure that gsockmsw.obj is linked in, it was optimized away by MSVC linker resulting...
Vadim Zeitlin [Mon, 31 Dec 2007 10:32:21 +0000 (10:32 +0000)] 
ensure that gsockmsw.obj is linked in, it was optimized away by MSVC linker resulting in socket manager not being initialized

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

16 years agoremoved support for Salford compiler (which was almost certainly broken anyhow) ...
Vadim Zeitlin [Mon, 31 Dec 2007 10:05:00 +0000 (10:05 +0000)] 
removed support for Salford compiler (which was almost certainly broken anyhow) (patch 1861133)

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

16 years agofixed incorrect use of wxVector<> in wxXRC
Václav Slavík [Mon, 31 Dec 2007 09:45:19 +0000 (09:45 +0000)] 
fixed incorrect use of wxVector<> in wxXRC

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

16 years agouse iterator in wxTextBuffer::Translate() instead of c_str()
Václav Slavík [Mon, 31 Dec 2007 08:58:05 +0000 (08:58 +0000)] 
use iterator in wxTextBuffer::Translate() instead of c_str()

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

16 years agoRemove declaration of wxScaledFontList wxHashMap, as that's used only in gtk1 port
Mart Raudsepp [Mon, 31 Dec 2007 06:49:23 +0000 (06:49 +0000)] 
Remove declaration of wxScaledFontList wxHashMap, as that's used only in gtk1 port

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

16 years agofix leak when creating wxCURSOR_BLANK
Paul Cornett [Mon, 31 Dec 2007 06:45:20 +0000 (06:45 +0000)] 
fix leak when creating wxCURSOR_BLANK

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

16 years agofix bug with parsing negative time zones in ParseRfc822Date()
Vadim Zeitlin [Sun, 30 Dec 2007 23:35:40 +0000 (23:35 +0000)] 
fix bug with parsing negative time zones in ParseRfc822Date()

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

16 years agodefine wxCurrentPoppuMenu for wxUniv too
Vadim Zeitlin [Sun, 30 Dec 2007 22:23:51 +0000 (22:23 +0000)] 
define wxCurrentPoppuMenu for wxUniv too

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

16 years agoclarify when wxMaximizeEvent is [not] sent
Vadim Zeitlin [Sun, 30 Dec 2007 22:20:58 +0000 (22:20 +0000)] 
clarify when wxMaximizeEvent is [not] sent

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

16 years agonon-pch build fix
Paul Cornett [Sun, 30 Dec 2007 19:27:44 +0000 (19:27 +0000)] 
non-pch build fix

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

16 years agonon-pch build fix
Paul Cornett [Sun, 30 Dec 2007 19:12:04 +0000 (19:12 +0000)] 
non-pch build fix

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

16 years agoReduction of includes
Julian Smart [Sun, 30 Dec 2007 16:09:29 +0000 (16:09 +0000)] 
Reduction of includes

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

16 years agoFixed pasting inefficiency
Julian Smart [Sun, 30 Dec 2007 14:20:49 +0000 (14:20 +0000)] 
Fixed pasting inefficiency

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

16 years agoinitial drag interface for wxDataViewCtrl
Robert Roebling [Sun, 30 Dec 2007 12:41:39 +0000 (12:41 +0000)] 
initial drag interface for wxDataViewCtrl

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

16 years agoTypo correction
Julian Smart [Sun, 30 Dec 2007 10:10:13 +0000 (10:10 +0000)] 
Typo correction

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

16 years agoAdded missing includes
Julian Smart [Sat, 29 Dec 2007 17:27:19 +0000 (17:27 +0000)] 
Added missing includes

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

16 years agoAdded missing include
Julian Smart [Sat, 29 Dec 2007 17:13:59 +0000 (17:13 +0000)] 
Added missing include

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

16 years agoAdded automatic dialog scrolling ability
Julian Smart [Sat, 29 Dec 2007 16:35:39 +0000 (16:35 +0000)] 
Added automatic dialog scrolling ability
Added ability to resize wizard bitmaps automatically
Made it easier to derive from wxWizard and override behaviour,
mainly by making members protected instead of private

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

16 years agowxDataViewCtrl DnD stubs, some reformating
Robert Roebling [Sat, 29 Dec 2007 13:46:18 +0000 (13:46 +0000)] 
wxDataViewCtrl DnD stubs, some reformating

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

16 years agoImplement rest of MSW's wxDataViewCtrl's native column reordering
Robert Roebling [Fri, 28 Dec 2007 23:07:30 +0000 (23:07 +0000)] 
Implement rest of MSW's wxDataViewCtrl's native column reordering

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

16 years agoRestore MSW's colour picker, II
Robert Roebling [Fri, 28 Dec 2007 22:13:35 +0000 (22:13 +0000)] 
Restore MSW's colour picker, II

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

16 years agoRestore MSW's colour picker
Robert Roebling [Fri, 28 Dec 2007 22:12:32 +0000 (22:12 +0000)] 
Restore MSW's colour picker

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

16 years agoFix wxX11 crash
Robert Roebling [Fri, 28 Dec 2007 21:38:20 +0000 (21:38 +0000)] 
Fix wxX11 crash

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

16 years agoIt is possible for a scrolled window to get focus events from children other than
Robin Dunn [Fri, 28 Dec 2007 18:01:13 +0000 (18:01 +0000)] 
It is possible for a scrolled window to get focus events from children other than
the target window's children (the wxGrid label windows for example) so don't
trigger an assert about it.

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

16 years agoFix XPM decoder for images using color (1,0,0) and also using a mask.
Paul Cornett [Fri, 28 Dec 2007 04:37:35 +0000 (04:37 +0000)] 
Fix XPM decoder for images using color (1,0,0) and also using a mask.
Mask color was always set to that value because
FindFirstUnusedColour was called on an empty image.

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

16 years agoAlso get header button height right
Robert Roebling [Thu, 27 Dec 2007 18:41:40 +0000 (18:41 +0000)] 
Also get header button height right

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

16 years agoRemove (wrong) theme border from header control
Robert Roebling [Thu, 27 Dec 2007 18:30:48 +0000 (18:30 +0000)] 
Remove (wrong) theme border from header control

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

16 years agoFix from Hartwig
Robert Roebling [Thu, 27 Dec 2007 17:45:40 +0000 (17:45 +0000)] 
Fix from Hartwig

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

16 years agoReturn type correction
Julian Smart [Thu, 27 Dec 2007 17:00:29 +0000 (17:00 +0000)] 
Return type correction

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

16 years agospeed up XPM decoding 30-40% by not creating temporary wxString for each pixel
Paul Cornett [Thu, 27 Dec 2007 03:04:56 +0000 (03:04 +0000)] 
speed up XPM decoding 30-40% by not creating temporary wxString for each pixel

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

16 years agoSome reorder code for MSW's dataviewctrl
Robert Roebling [Wed, 26 Dec 2007 21:37:03 +0000 (21:37 +0000)] 
Some reorder code for MSW's dataviewctrl

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

16 years agofixing exports
Stefan Csomor [Wed, 26 Dec 2007 18:34:38 +0000 (18:34 +0000)] 
fixing exports

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

16 years agoPatch from Hartwig and me for implementing reorderable dataview columns. Works on...
Robert Roebling [Wed, 26 Dec 2007 18:30:56 +0000 (18:30 +0000)] 
Patch from Hartwig and me for implementing reorderable dataview columns. Works on OS X and GTK+, breaks OS X a litte

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

16 years agofixing exports
Stefan Csomor [Wed, 26 Dec 2007 18:28:27 +0000 (18:28 +0000)] 
fixing exports

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

16 years agoUpdate some references of CVS to SVN, more remain that should be changed.
Mart Raudsepp [Tue, 25 Dec 2007 22:51:59 +0000 (22:51 +0000)] 
Update some references of CVS to SVN, more remain that should be changed.
Update the daily makefiles link in winCE project file downloading instructions.

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

17 years agocompilation fix for wxStrspn and wxStrcspn: WX_STR_FUNC should be used after all...
Václav Slavík [Mon, 24 Dec 2007 19:25:24 +0000 (19:25 +0000)] 
compilation fix for wxStrspn and wxStrcspn: WX_STR_FUNC should be used after all, WX_STR_FUNC_NO_INVERT is incomplete

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

17 years agofix setting client data
Paul Cornett [Mon, 24 Dec 2007 01:53:34 +0000 (01:53 +0000)] 
fix setting client data

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

17 years agoupdate mac gl, after rev 50900
Paul Cornett [Mon, 24 Dec 2007 00:05:24 +0000 (00:05 +0000)] 
update mac gl, after rev 50900

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

17 years agoinclude wx/dcclient.h to declare wxWindowDC (blind fix for buildbot compilation error)
Vadim Zeitlin [Sat, 22 Dec 2007 21:54:45 +0000 (21:54 +0000)] 
include wx/dcclient.h to declare wxWindowDC (blind fix for buildbot compilation error)

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

17 years agoCompilo
Robert Roebling [Sat, 22 Dec 2007 21:21:17 +0000 (21:21 +0000)] 
Compilo

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

17 years agoAdded a bit of cross-linking in the wxGrid docs
Robert Roebling [Sat, 22 Dec 2007 20:37:17 +0000 (20:37 +0000)] 
Added a bit of cross-linking in the wxGrid docs

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

17 years agoAdded more function groups to wxGrid docs
Robert Roebling [Sat, 22 Dec 2007 19:55:05 +0000 (19:55 +0000)] 
Added more function groups to wxGrid docs

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

17 years agoAdd HideCol/RowLabels
Robert Roebling [Sat, 22 Dec 2007 19:46:12 +0000 (19:46 +0000)] 
Add HideCol/RowLabels

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

17 years agoAdded API for column reordering
Robert Roebling [Sat, 22 Dec 2007 18:29:14 +0000 (18:29 +0000)] 
Added API for column reordering

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

17 years agonon-pch build fix
Paul Cornett [Sat, 22 Dec 2007 17:38:17 +0000 (17:38 +0000)] 
non-pch build fix

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

17 years agoallow centering wxMessageDialog on its parent window (patch 1836072)
Vadim Zeitlin [Sat, 22 Dec 2007 16:52:31 +0000 (16:52 +0000)] 
allow centering wxMessageDialog on its parent window (patch 1836072)

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

17 years agounset the window as invoking window of wxCurrentPopupMenu (which now exists in all...
Vadim Zeitlin [Sat, 22 Dec 2007 16:29:38 +0000 (16:29 +0000)] 
unset the window as invoking window of wxCurrentPopupMenu (which now exists in all ports and not just wxMSW-based ones) if it being destroyed before the menu itself (modified patch 1837214)

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

17 years agoimplement wxListCtrl::ScrollList() (in report view and vertical direction only) ...
Vadim Zeitlin [Sat, 22 Dec 2007 15:58:38 +0000 (15:58 +0000)] 
implement wxListCtrl::ScrollList() (in report view and vertical direction only) (slightly modified patch 1843647)

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

17 years agofixes to wxImage::ResambleBox() (patch 1843902)
Vadim Zeitlin [Sat, 22 Dec 2007 15:52:48 +0000 (15:52 +0000)] 
fixes to wxImage::ResambleBox() (patch 1843902)

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

17 years agomade SetCurrent() and SwapBuffers() return boolean status indicator instead of void...
Vadim Zeitlin [Sat, 22 Dec 2007 15:48:03 +0000 (15:48 +0000)] 
made SetCurrent() and SwapBuffers() return boolean status indicator instead of void (slightly modified patch 1844090)

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

17 years agohandle VT_ARRAY/VT_BYREF VARIANTs in wxConvertOleToVariant() (patch 1845897)
Vadim Zeitlin [Sat, 22 Dec 2007 15:22:16 +0000 (15:22 +0000)] 
handle VT_ARRAY/VT_BYREF VARIANTs in wxConvertOleToVariant() (patch 1845897)

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

17 years agoreplace wxWindowDC with wxDC in generic wxOverlayImpl too to fix compilation after...
Vadim Zeitlin [Sat, 22 Dec 2007 15:14:24 +0000 (15:14 +0000)] 
replace wxWindowDC with wxDC in generic wxOverlayImpl too to fix compilation after r50886--50890 changes

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

17 years agoadded wxColourBase::Init() and use DEFINE_STD_WXCOLOUR_CONSTRUCTORS() in all ports...
Vadim Zeitlin [Sat, 22 Dec 2007 15:03:58 +0000 (15:03 +0000)] 
added wxColourBase::Init() and use DEFINE_STD_WXCOLOUR_CONSTRUCTORS() in all ports now (patch 1851600)

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

17 years agodon't use rand() for selecting the colour of the bitmaps to append, this results...
Vadim Zeitlin [Sat, 22 Dec 2007 14:56:56 +0000 (14:56 +0000)] 
don't use rand() for selecting the colour of the bitmaps to append, this results in 2 pairs of identical colours here without srand() and looks too much like a bug

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

17 years agofix the size of bitmaps we create (bug 1851598)
Vadim Zeitlin [Sat, 22 Dec 2007 14:37:08 +0000 (14:37 +0000)] 
fix the size of bitmaps we create (bug 1851598)

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

17 years agodiscard any pending messages for the socket being destroyed to avoid the problem...
Vadim Zeitlin [Sat, 22 Dec 2007 14:05:25 +0000 (14:05 +0000)] 
discard any pending messages for the socket being destroyed to avoid the problem with having them delivered to the next socket we create which reuses the same message number (patch 1856012)

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

17 years agokeep the owning window
Stefan Csomor [Sat, 22 Dec 2007 09:25:37 +0000 (09:25 +0000)] 
keep the owning window

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

17 years agoremoving unnecessary casts
Stefan Csomor [Sat, 22 Dec 2007 09:23:16 +0000 (09:23 +0000)] 
removing unnecessary casts

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

17 years agochanging to wxDC, so that wxGCDC can be used as well
Stefan Csomor [Sat, 22 Dec 2007 09:16:57 +0000 (09:16 +0000)] 
changing to wxDC, so that wxGCDC can be used as well

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

17 years agochanging to wxDC, so that wxGCDC can be used as well
Stefan Csomor [Sat, 22 Dec 2007 09:13:38 +0000 (09:13 +0000)] 
changing to wxDC, so that wxGCDC can be used as well

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

17 years agochanging to wxDC, so that wxGCDC can be used as well
Stefan Csomor [Sat, 22 Dec 2007 09:12:18 +0000 (09:12 +0000)] 
changing to wxDC, so that wxGCDC can be used as well

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

17 years agochanging to wxDC, so that wxGCDC can be used as well
Stefan Csomor [Sat, 22 Dec 2007 09:10:38 +0000 (09:10 +0000)] 
changing to wxDC, so that wxGCDC can be used as well

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

17 years agochanging to wxDC, so that wxGCDC can be used as well
Stefan Csomor [Sat, 22 Dec 2007 09:07:56 +0000 (09:07 +0000)] 
changing to wxDC, so that wxGCDC can be used as well

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

17 years agochanging to wxDC, so that wxGCDC can be used as well
Stefan Csomor [Sat, 22 Dec 2007 09:06:39 +0000 (09:06 +0000)] 
changing to wxDC, so that wxGCDC can be used as well

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

17 years agokeeping the constness
Stefan Csomor [Sat, 22 Dec 2007 09:05:13 +0000 (09:05 +0000)] 
keeping the constness

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

17 years agoforgot to release capture
Stefan Csomor [Sat, 22 Dec 2007 08:57:28 +0000 (08:57 +0000)] 
forgot to release capture

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

17 years agoadding rubberbanding
Stefan Csomor [Sat, 22 Dec 2007 08:44:35 +0000 (08:44 +0000)] 
adding rubberbanding

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

17 years agofixed XRC handler for sizers to do the expected thing when putting controls into...
Václav Slavík [Fri, 21 Dec 2007 22:49:58 +0000 (22:49 +0000)] 
fixed XRC handler for sizers to do the expected thing when putting controls into wxScrolledWindow: let them determine virtual size, not real size

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

17 years agofixed wxScrolledWindow best size calculation: compute something (this was broken...
Václav Slavík [Fri, 21 Dec 2007 22:47:55 +0000 (22:47 +0000)] 
fixed wxScrolledWindow best size calculation: compute something (this was broken after 2.8) and don't use current size in computation; also removed now-unused ScrollGetWindowSizeForVirtualSize() method to simplify the code

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

17 years agotoplevel window is shown on screen even if its parent is hidden
Václav Slavík [Fri, 21 Dec 2007 13:53:41 +0000 (13:53 +0000)] 
toplevel window is shown on screen even if its parent is hidden

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

17 years agoUpdates For OpenVMS support and some extra includes to define wx(xxxx)DC types.
Jouk Jansen [Fri, 21 Dec 2007 09:58:20 +0000 (09:58 +0000)] 
Updates For OpenVMS support and some extra includes to define  wx(xxxx)DC types.

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

17 years agodon't use Unix-specific files which have Darwin-specific counterparts in wxMac/wxCoco...
Vadim Zeitlin [Fri, 21 Dec 2007 01:36:16 +0000 (01:36 +0000)] 
don't use Unix-specific files which have Darwin-specific counterparts in wxMac/wxCocoa (fixes linking of wxCocoa after socket changes)

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

17 years agoMove the intel Mac build to a different machine as the current one is down.
Michael Wetherell [Thu, 20 Dec 2007 20:50:27 +0000 (20:50 +0000)] 
Move the intel Mac build to a different machine as the current one is down.

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

17 years agowxScrolledWindow can get wxEVT_CHILD_FOCUS event for itself, handle that case too
Václav Slavík [Thu, 20 Dec 2007 20:04:46 +0000 (20:04 +0000)] 
wxScrolledWindow can get wxEVT_CHILD_FOCUS event for itself, handle that case too

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

17 years agocompilation fix for !wxUSE_THREADS
Václav Slavík [Thu, 20 Dec 2007 19:42:04 +0000 (19:42 +0000)] 
compilation fix for !wxUSE_THREADS

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

17 years agofixed wxHAS_GENERIC_PROCESS_CALLBACK check to use #ifdef, not #if
Václav Slavík [Thu, 20 Dec 2007 19:34:58 +0000 (19:34 +0000)] 
fixed wxHAS_GENERIC_PROCESS_CALLBACK check to use #ifdef, not #if

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

17 years agoskip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can...
Václav Slavík [Thu, 20 Dec 2007 18:30:38 +0000 (18:30 +0000)] 
skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too

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

17 years agoPlaying with wxgrid, adding optionnally native columns labels
Robert Roebling [Thu, 20 Dec 2007 15:05:03 +0000 (15:05 +0000)] 
Playing with wxgrid, adding optionnally native columns labels

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

17 years agoregenerate after the recent changes (wxDataViewCtrl enabled by default, socket sample...
Vadim Zeitlin [Thu, 20 Dec 2007 14:12:53 +0000 (14:12 +0000)] 
regenerate after the recent changes (wxDataViewCtrl enabled by default, socket sample available in wxBase, ...)

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

17 years agoshow the message about test2 being unsupported on the console
Vadim Zeitlin [Thu, 20 Dec 2007 14:08:32 +0000 (14:08 +0000)] 
show the message about test2 being unsupported on the console

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

17 years agouse LF EOL style for Unix files
Vadim Zeitlin [Thu, 20 Dec 2007 12:03:34 +0000 (12:03 +0000)] 
use LF EOL style for Unix files

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