wxWidgets.git
15 years agocommon drawing code for osx-cocoa and osx-carbon, also since 10.5 HIShapeRef is in...
Stefan Csomor [Mon, 9 Feb 2009 09:01:19 +0000 (09:01 +0000)] 
common drawing code for osx-cocoa and osx-carbon, also since 10.5 HIShapeRef is in ApplicationServices, so this can be used for all osx-cocoa builds as native wxRegion implementation

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

15 years agoFixes #10454, Applied patch for wxDataViewCtrl should not change the selection when...
Robert Roebling [Mon, 9 Feb 2009 08:48:14 +0000 (08:48 +0000)] 
Fixes #10454, Applied patch for wxDataViewCtrl should not change the selection when clicking the expander. Thanks.

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

15 years agoRemove delegates before releasing the native object, so that we don't have delegate...
Kevin Ollivier [Mon, 9 Feb 2009 05:22:45 +0000 (05:22 +0000)] 
Remove delegates before releasing the native object, so that we don't have delegate methods getting called during destruction.

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

15 years agoDo a sanity check to make sure GetWindow() has a valid window, and assert if it doesn...
Kevin Ollivier [Mon, 9 Feb 2009 02:21:30 +0000 (02:21 +0000)] 
Do a sanity check to make sure GetWindow() has a valid window, and assert if it doesn't. On OS X Cocoa, try to continue on in release mode.

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

15 years agoInitial support for EVT_ERASE_BACKGROUND for OS X Cocoa.
Kevin Ollivier [Mon, 9 Feb 2009 02:20:03 +0000 (02:20 +0000)] 
Initial support for EVT_ERASE_BACKGROUND for OS X Cocoa.

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

15 years agofix memory leak; allocate the DC before SetFont() is called on the status bar
Francesco Montorsi [Mon, 9 Feb 2009 00:53:58 +0000 (00:53 +0000)] 
fix memory leak; allocate the DC before SetFont() is called on the status bar

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

15 years agoUpdate OS X Cocoa build files after recent changes and rebake.
Kevin Ollivier [Mon, 9 Feb 2009 00:46:59 +0000 (00:46 +0000)] 
Update OS X Cocoa build files after recent changes and rebake.

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

15 years agosave the current status text for each pane inside wxStatusBarPane: native controls...
Francesco Montorsi [Mon, 9 Feb 2009 00:33:19 +0000 (00:33 +0000)] 
save the current status text for each pane inside wxStatusBarPane: native controls now store the (eventually) ellipsized version of the string; remove code for managing the status strings currently inside the [native|generic] control; add ellipsization support under wxMSW; now that all SetFieldsCount() implementation rrely on wxStatusBarBase::SetFieldsCount document how it behaves when adding new panes.

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

15 years agoEnable wxDVC on OS X Cocoa using the generic control.
Kevin Ollivier [Sun, 8 Feb 2009 23:24:29 +0000 (23:24 +0000)] 
Enable wxDVC on OS X Cocoa using the generic control.

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

15 years agoStub out GetMatchingPair() for now to allow us to use the generic wxDVC on Cocoa.
Kevin Ollivier [Sun, 8 Feb 2009 23:21:22 +0000 (23:21 +0000)] 
Stub out GetMatchingPair() for now to allow us to use the generic wxDVC on Cocoa.

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

15 years agoCrash fix for when a wxNullBitmap is passed in as the bitmap to use.
Kevin Ollivier [Sun, 8 Feb 2009 23:08:20 +0000 (23:08 +0000)] 
Crash fix for when a wxNullBitmap is passed in as the bitmap to use.

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

15 years agoHeader fix for OS X Cocoa build.
Kevin Ollivier [Sun, 8 Feb 2009 23:05:19 +0000 (23:05 +0000)] 
Header fix for OS X Cocoa build.

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

15 years agorevert changes erroneously committed (sorry)
Francesco Montorsi [Sun, 8 Feb 2009 22:33:08 +0000 (22:33 +0000)] 
revert changes erroneously committed (sorry)

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

15 years agogit-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58778 c3d73ce0-8a6f...
Francesco Montorsi [Sun, 8 Feb 2009 22:25:33 +0000 (22:25 +0000)] 
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agonew wxTaskBarIcon implementation for GTK2
Paul Cornett [Sun, 8 Feb 2009 22:21:24 +0000 (22:21 +0000)] 
new wxTaskBarIcon implementation for GTK2

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

15 years agoallow the user to set the status bar font
Francesco Montorsi [Sun, 8 Feb 2009 22:11:26 +0000 (22:11 +0000)] 
allow the user to set the status bar font

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

15 years agouse a single update UI handler for all menu commands which act only on the default...
Francesco Montorsi [Sun, 8 Feb 2009 21:34:02 +0000 (21:34 +0000)] 
use a single update UI handler for all menu commands which act only on the default status bar

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

15 years agonon-pch build fix
Paul Cornett [Sun, 8 Feb 2009 20:54:48 +0000 (20:54 +0000)] 
non-pch build fix

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

15 years agodo only what is necessary in SetScrollbars(), let the base class do the rest
Paul Cornett [Sun, 8 Feb 2009 20:51:44 +0000 (20:51 +0000)] 
do only what is necessary in SetScrollbars(), let the base class do the rest

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

15 years agofixed creation of tests/benchmarks VC++ project files - name them correctly
Václav Slavík [Sun, 8 Feb 2009 20:38:44 +0000 (20:38 +0000)] 
fixed creation of tests/benchmarks VC++ project files - name them correctly

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

15 years agodo not deselect the item the user has just selected: it just modifies the normal...
Francesco Montorsi [Sun, 8 Feb 2009 19:21:30 +0000 (19:21 +0000)] 
do not deselect the item the user has just selected: it just modifies the normal behaviour of the control in an unexpected way (no highlight rectangle, etc) and seems to block any item-specific operation when instead you can double click an item to get more info on it

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

15 years agooptimize rendering code by calling GetClientSize(), GetTextExtent() and CalculateAbsW...
Francesco Montorsi [Sun, 8 Feb 2009 19:17:07 +0000 (19:17 +0000)] 
optimize rendering code by calling GetClientSize(), GetTextExtent() and CalculateAbsWidth() only when strictly needed; update cache from an OnSize() event handler; fix RTL code: wxDC::DrawText() is RTL-aware itself and doesn't need special calculations

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

15 years agorevert insert=>append change; only for wxELLIPSIZE_END append() is valid
Francesco Montorsi [Sun, 8 Feb 2009 19:14:56 +0000 (19:14 +0000)] 
revert insert=>append change; only for wxELLIPSIZE_END append() is valid

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

15 years agoremove mobile samples from samples.bkl (last part of r58765)
Francesco Montorsi [Sun, 8 Feb 2009 19:11:37 +0000 (19:11 +0000)] 
remove mobile samples from samples.bkl (last part of r58765)

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

15 years agoturning on icons for osx-cocoa
Stefan Csomor [Sun, 8 Feb 2009 18:24:07 +0000 (18:24 +0000)] 
turning on icons for osx-cocoa

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

15 years agoremove remaining traces of samples/mobile (continuation of r58765)
Vadim Zeitlin [Sun, 8 Feb 2009 15:59:04 +0000 (15:59 +0000)] 
remove remaining traces of samples/mobile (continuation of r58765)

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

15 years agoremove 'mobile' samples as they're not useful from a didactive POV nor they show...
Francesco Montorsi [Sun, 8 Feb 2009 15:38:30 +0000 (15:38 +0000)] 
remove 'mobile' samples as they're not useful from a didactive POV nor they show specific features

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

15 years agoupdate italian translation; add a Q+A for updating an existing internat translation
Francesco Montorsi [Sun, 8 Feb 2009 15:33:18 +0000 (15:33 +0000)] 
update italian translation; add a Q+A for updating an existing internat translation

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

15 years agoput MyFrame creation code in its ctor, not in MyApp; create a status bar to show...
Francesco Montorsi [Sun, 8 Feb 2009 15:31:40 +0000 (15:31 +0000)] 
put MyFrame creation code in its ctor, not in MyApp; create a status bar to show its RTL features; add some help strings to menu items

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

15 years agodon't react to wxEVT_DESTROY events from child windows
Vadim Zeitlin [Sun, 8 Feb 2009 15:20:37 +0000 (15:20 +0000)] 
don't react to wxEVT_DESTROY events from child windows

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

15 years agouse Ellipsize() in wxStatusBarGeneric so that the text is correctly ellipsized when...
Francesco Montorsi [Sun, 8 Feb 2009 13:30:40 +0000 (13:30 +0000)] 
use Ellipsize() in wxStatusBarGeneric so that the text is correctly ellipsized when exceeding field width; avoid that text overlaps the size grip

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

15 years agosplit wxControl::Ellipsize() in two functions for better readability of the code...
Francesco Montorsi [Sun, 8 Feb 2009 12:56:14 +0000 (12:56 +0000)] 
split wxControl::Ellipsize() in two functions for better readability of the code; add support for ellipsization flags which allow to disable special processing of TAB/mnemonics characters

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

15 years agomenu fixes, also fixes #10479
Stefan Csomor [Sun, 8 Feb 2009 11:49:46 +0000 (11:49 +0000)] 
menu fixes, also fixes #10479

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

15 years agoadd wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS...
Vadim Zeitlin [Sun, 8 Feb 2009 11:45:59 +0000 (11:45 +0000)] 
add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros

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

15 years agoadding scroll wheel support
Stefan Csomor [Sun, 8 Feb 2009 11:35:23 +0000 (11:35 +0000)] 
adding scroll wheel support

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

15 years agoonly do (c) and (C) translation in Unicode build
Vadim Zeitlin [Sun, 8 Feb 2009 09:47:07 +0000 (09:47 +0000)] 
only do (c) and (C) translation in Unicode build

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

15 years agomake dtor public to fix VC6 build
Vadim Zeitlin [Sun, 8 Feb 2009 09:28:15 +0000 (09:28 +0000)] 
make dtor public to fix VC6 build

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

15 years agouse bitmap mask if any in splash screen (closes #10470)
Vadim Zeitlin [Sun, 8 Feb 2009 09:16:50 +0000 (09:16 +0000)] 
use bitmap mask if any in splash screen (closes #10470)

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

15 years agosome more SetIcon() calls added; cleanup indentation of some samples
Francesco Montorsi [Sun, 8 Feb 2009 01:20:35 +0000 (01:20 +0000)] 
some more SetIcon() calls added; cleanup indentation of some samples

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

15 years agoalways call SetIcon() on the main frame of the sample; some small cleanup
Francesco Montorsi [Sun, 8 Feb 2009 01:01:00 +0000 (01:01 +0000)] 
always call SetIcon() on the main frame of the sample; some small cleanup

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

15 years agomerge wxEditableListBox sample in widgets sample (it was a 60-lines sample of a singl...
Francesco Montorsi [Sun, 8 Feb 2009 00:47:04 +0000 (00:47 +0000)] 
merge wxEditableListBox sample in widgets sample (it was a 60-lines sample of a single control showing limited features)

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

15 years agofix other insert() overloads to work when inserting at the end of the list, continuat...
Vadim Zeitlin [Sat, 7 Feb 2009 23:46:53 +0000 (23:46 +0000)] 
fix other insert() overloads to work when inserting at the end of the list, continuation of r56299 (see #10103)

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

15 years agoremoved wrong check from splice(it, list, first)
Vadim Zeitlin [Sat, 7 Feb 2009 23:23:49 +0000 (23:23 +0000)] 
removed wrong check from splice(it, list, first)

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

15 years agoImplement GetDashCount() for Carbon/Cocoa.
Kevin Ollivier [Sat, 7 Feb 2009 23:23:18 +0000 (23:23 +0000)] 
Implement GetDashCount() for Carbon/Cocoa.

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

15 years agoAdd (currently unimplemented) missing wxRegion constructors for wxRegionGeneric.
Kevin Ollivier [Sat, 7 Feb 2009 23:20:45 +0000 (23:20 +0000)] 
Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric.

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

15 years agoAssert if these methods are triggered to alert the user they are not implemented.
Kevin Ollivier [Sat, 7 Feb 2009 23:19:35 +0000 (23:19 +0000)] 
Assert if these methods are triggered to alert the user they are not implemented.

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

15 years agobuild wrapsizer sample when wxUSE_GUI==1
Francesco Montorsi [Sat, 7 Feb 2009 23:19:27 +0000 (23:19 +0000)] 
build wrapsizer sample when wxUSE_GUI==1

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

15 years agoThe GL library needs access to this.
Kevin Ollivier [Sat, 7 Feb 2009 23:17:52 +0000 (23:17 +0000)] 
The GL library needs access to this.

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

15 years agofix wxList::erase(it, end()) in non-STL build (see #10103)
Vadim Zeitlin [Sat, 7 Feb 2009 23:10:56 +0000 (23:10 +0000)] 
fix wxList::erase(it, end()) in non-STL build (see #10103)

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

15 years agofix (harmless for now) g++ warning about non-virtual dtor
Vadim Zeitlin [Sat, 7 Feb 2009 23:03:30 +0000 (23:03 +0000)] 
fix (harmless for now) g++ warning about non-virtual dtor

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

15 years agofix repaint problems when resizing the frame
Francesco Montorsi [Sat, 7 Feb 2009 22:30:56 +0000 (22:30 +0000)] 
fix repaint problems when resizing the frame

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

15 years agoyet another wxUSE_DRAG_AND_DROP==0 compilation fix
Vadim Zeitlin [Sat, 7 Feb 2009 21:46:31 +0000 (21:46 +0000)] 
yet another wxUSE_DRAG_AND_DROP==0 compilation fix

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

15 years agoanother attempt to run tests with verbose logging in STL trunk build
Vadim Zeitlin [Sat, 7 Feb 2009 21:44:52 +0000 (21:44 +0000)] 
another attempt to run tests with verbose logging in STL trunk build

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

15 years agoadd semicolons after wxDEFINE_EVENT()
Vadim Zeitlin [Sat, 7 Feb 2009 21:04:47 +0000 (21:04 +0000)] 
add semicolons after wxDEFINE_EVENT()

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

15 years agowxrc: fix incorrectly generated code with --extra-cpp-code (fixes #9631)
Václav Slavík [Sat, 7 Feb 2009 19:32:05 +0000 (19:32 +0000)] 
wxrc: fix incorrectly generated code with  --extra-cpp-code (fixes #9631)

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

15 years agorequire semicolon after wxDECLARE/DEFINE_EVENT() (closes #10456)
Vadim Zeitlin [Sat, 7 Feb 2009 18:59:25 +0000 (18:59 +0000)] 
require semicolon after wxDECLARE/DEFINE_EVENT() (closes #10456)

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

15 years agoallow the user to set the contents of the status fields
Francesco Montorsi [Sat, 7 Feb 2009 17:40:22 +0000 (17:40 +0000)] 
allow the user to set the contents of the status fields

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

15 years agoupdate custom event definition documentation; document wxDEFINE/DECLARE_EVENT()
Vadim Zeitlin [Sat, 7 Feb 2009 16:07:59 +0000 (16:07 +0000)] 
update custom event definition documentation; document wxDEFINE/DECLARE_EVENT()

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

15 years agofix typo in last commit
Vadim Zeitlin [Sat, 7 Feb 2009 15:29:52 +0000 (15:29 +0000)] 
fix typo in last commit

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

15 years agorename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT
Vadim Zeitlin [Sat, 7 Feb 2009 15:29:29 +0000 (15:29 +0000)] 
rename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT

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

15 years agoupdate/reorganize events overview and changed links to it to reflect the fact that...
Vadim Zeitlin [Sat, 7 Feb 2009 15:22:14 +0000 (15:22 +0000)] 
update/reorganize events overview and changed links to it to reflect the fact that it speaks about events in general and not just about handling them

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

15 years agodo not use preprocessor macros in interface headers; doxygen doesn't know about prepr...
Francesco Montorsi [Sat, 7 Feb 2009 15:09:48 +0000 (15:09 +0000)] 
do not use preprocessor macros in interface headers; doxygen doesn't know about preprocessor symbols used in the real headers

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

15 years agoextract the important overviews in their own section and order them by importance
Vadim Zeitlin [Sat, 7 Feb 2009 14:51:16 +0000 (14:51 +0000)] 
extract the important overviews in their own section and order them by importance

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

15 years agoOSX currently doesn't expose an OnPaint anymore
Stefan Csomor [Sat, 7 Feb 2009 14:47:55 +0000 (14:47 +0000)] 
OSX currently doesn't expose an OnPaint anymore

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

15 years agodocument the wxWindow::Get/SetLayoutDirection functions
Francesco Montorsi [Sat, 7 Feb 2009 14:42:40 +0000 (14:42 +0000)] 
document the wxWindow::Get/SetLayoutDirection functions

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

15 years agono real change: put event handlers together at the end of the file
Francesco Montorsi [Sat, 7 Feb 2009 14:11:33 +0000 (14:11 +0000)] 
no real change: put event handlers together at the end of the file

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

15 years agoEliminated two unneeded arguments from wxPropertyGrid::DoDrawItems()
Jaakko Salli [Sat, 7 Feb 2009 13:38:27 +0000 (13:38 +0000)] 
Eliminated two unneeded arguments from wxPropertyGrid::DoDrawItems()

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

15 years agoFixed and refactored wxPropertyGridManager decsription text box painting
Jaakko Salli [Sat, 7 Feb 2009 13:35:26 +0000 (13:35 +0000)] 
Fixed and refactored wxPropertyGridManager decsription text box painting

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

15 years agoreworking event handling to redirect to c++ virtual functions
Stefan Csomor [Sat, 7 Feb 2009 13:25:58 +0000 (13:25 +0000)] 
reworking event handling to redirect to c++ virtual functions

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

15 years agoAdded workaround for a bug that causes splitters not be drawn correctly if GetUpdateR...
Jaakko Salli [Sat, 7 Feb 2009 13:16:36 +0000 (13:16 +0000)] 
Added workaround for a bug that causes splitters not be drawn correctly if GetUpdateRegion().GetBox() in paint event does not cover the entire grid width

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

15 years agocorrect shortcuts on mac, fixes #10464
Stefan Csomor [Sat, 7 Feb 2009 13:07:43 +0000 (13:07 +0000)] 
correct shortcuts on mac, fixes #10464

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

15 years agoremove incorrect cast of wxString to char* (unnecessary and breaks wxUSE_STL build)
Vadim Zeitlin [Fri, 6 Feb 2009 21:55:09 +0000 (21:55 +0000)] 
remove incorrect cast of wxString to char* (unnecessary and breaks wxUSE_STL build)

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

15 years agocompilation fix for wxEVENTS_COMPATIBILITY_2_8 case
Vadim Zeitlin [Fri, 6 Feb 2009 21:54:09 +0000 (21:54 +0000)] 
compilation fix for wxEVENTS_COMPATIBILITY_2_8 case

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

15 years agofix some typos (return types)
Francesco Montorsi [Fri, 6 Feb 2009 21:43:31 +0000 (21:43 +0000)] 
fix some typos (return types)

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

15 years agoremove typo
Francesco Montorsi [Fri, 6 Feb 2009 18:43:46 +0000 (18:43 +0000)] 
remove typo

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

15 years agofix title of the previously-modified section
Francesco Montorsi [Fri, 6 Feb 2009 18:42:08 +0000 (18:42 +0000)] 
fix title of the previously-modified section

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

15 years agoallow handling events in a function taking the base class of the event class correspo...
Vadim Zeitlin [Fri, 6 Feb 2009 18:33:01 +0000 (18:33 +0000)] 
allow handling events in a function taking the base class of the event class corresponding to the event type and not exactly the event class itself: this is more flexible (while still being safe) and incidentally fixes compatibility issues with existing code using explicit casts to wxObjectEventFunction (see #10477)

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

15 years agomore user-friendly error message
Francesco Montorsi [Fri, 6 Feb 2009 17:03:12 +0000 (17:03 +0000)] 
more user-friendly error message

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

15 years agomention wxwindow::SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY ) in the validator...
Francesco Montorsi [Fri, 6 Feb 2009 17:00:47 +0000 (17:00 +0000)] 
mention wxwindow::SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY ) in the validator overview; cosmetic changes in the rest of the validator

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

15 years agofix LoadPanel() docs (closes #10467)
Francesco Montorsi [Thu, 5 Feb 2009 18:54:49 +0000 (18:54 +0000)] 
fix LoadPanel() docs (closes #10467)

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

15 years agodocument the protected functions of wxTextValidator; it helps user to eventually...
Francesco Montorsi [Thu, 5 Feb 2009 18:50:43 +0000 (18:50 +0000)] 
document the protected functions of wxTextValidator; it helps user to eventually derive classes from wxTextValidator (closes #10474)

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

15 years agoremove mention of wxMutexGuiEnter/leave from the multithreading topic overview; docum...
Francesco Montorsi [Thu, 5 Feb 2009 18:24:27 +0000 (18:24 +0000)] 
remove mention of wxMutexGuiEnter/leave from the multithreading topic overview; document that wxMutexGuiEnter only works for wxMSW as the code seems to confirm this (see #10366)

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

15 years agofix the size of the generated controls using wxDefaultSize instead of manually-specif...
Francesco Montorsi [Thu, 5 Feb 2009 18:02:20 +0000 (18:02 +0000)] 
fix the size of the generated controls using wxDefaultSize instead of manually-specified sizes; use wxDefaultPosition instead of manually-specified sizes: they were disregarded anyhow since we use sizers; fix a tooltip message

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

15 years agoadd code for debugging sizers/window sizes; it may be very useful for other purposes...
Francesco Montorsi [Thu, 5 Feb 2009 17:54:17 +0000 (17:54 +0000)] 
add code for debugging sizers/window sizes; it may be very useful for other purposes as well

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

15 years agoalways use wxSTAY_ON_TOP (closes #10447)
Francesco Montorsi [Thu, 5 Feb 2009 17:46:00 +0000 (17:46 +0000)] 
always use wxSTAY_ON_TOP (closes #10447)

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

15 years agofix warning about function hiding by using the 'On' prefix for event handlers
Francesco Montorsi [Thu, 5 Feb 2009 17:43:45 +0000 (17:43 +0000)] 
fix warning about function hiding by using the 'On' prefix for event handlers

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

15 years agofix warning
Francesco Montorsi [Thu, 5 Feb 2009 17:42:50 +0000 (17:42 +0000)] 
fix warning

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

15 years agoadd many references to the overview_windowsizing topic in wxWindow's size functions...
Francesco Montorsi [Thu, 5 Feb 2009 17:40:10 +0000 (17:40 +0000)] 
add many references to the overview_windowsizing topic in wxWindow's size functions; add maximum size and virtual size to the topic overview

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

15 years agouse the right GdkWindow and origin for non-pizza widget with wxClientDC
Paul Cornett [Thu, 5 Feb 2009 05:45:40 +0000 (05:45 +0000)] 
use the right GdkWindow and origin for non-pizza widget with wxClientDC

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

15 years agoDocumented wxAuiManagerEvent and it's related event macros.
Bryan Petty [Thu, 5 Feb 2009 01:03:31 +0000 (01:03 +0000)] 
Documented wxAuiManagerEvent and it's related event macros.

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

15 years agofix MSVC warning about implicit int to bool conversion
Vadim Zeitlin [Wed, 4 Feb 2009 23:06:29 +0000 (23:06 +0000)] 
fix MSVC warning about implicit int to bool conversion

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

15 years agoProperly distribute docs on string comparison operators, and remove from named groups.
Bryan Petty [Wed, 4 Feb 2009 22:50:11 +0000 (22:50 +0000)] 
Properly distribute docs on string comparison operators, and remove from named groups.

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

15 years agoPCH-less compilation fix
Vadim Zeitlin [Wed, 4 Feb 2009 21:52:38 +0000 (21:52 +0000)] 
PCH-less compilation fix

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

15 years agoUse gtk_range_set_value() to set scrollbar and do that after SetVirtualSize() since...
Robert Roebling [Wed, 4 Feb 2009 21:28:00 +0000 (21:28 +0000)] 
Use gtk_range_set_value() to set scrollbar and do that after SetVirtualSize() since the latter can shrink the legal range and gtk_range_set_value() checks for that. It also sends out a value_changed signal which will scroll the window

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

15 years agouse WXDLLIMPEXP_FWD_BASE instead of WXDLLIMPEXP_BASE in friend declaration
Vadim Zeitlin [Wed, 4 Feb 2009 21:27:33 +0000 (21:27 +0000)] 
use WXDLLIMPEXP_FWD_BASE instead of WXDLLIMPEXP_BASE in friend declaration

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

15 years agoanother compilation fix to switch in DoYield()
Vadim Zeitlin [Wed, 4 Feb 2009 21:25:00 +0000 (21:25 +0000)] 
another compilation fix to switch in DoYield()

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

15 years agofix no-PCH builds for wxMac
Francesco Montorsi [Wed, 4 Feb 2009 21:17:02 +0000 (21:17 +0000)] 
fix no-PCH builds for wxMac

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

15 years agoUse wxRound() instead of (int)(my_double + 0.5);
Robert Roebling [Wed, 4 Feb 2009 21:12:16 +0000 (21:12 +0000)] 
Use wxRound() instead of (int)(my_double + 0.5);

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

15 years agocompilation fixes to DoYield() after latest changes
Vadim Zeitlin [Wed, 4 Feb 2009 20:36:20 +0000 (20:36 +0000)] 
compilation fixes to DoYield() after latest changes

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

15 years agoadd a wxEventType argument to wxThreadEvent for coherency with other event classes...
Francesco Montorsi [Wed, 4 Feb 2009 19:44:55 +0000 (19:44 +0000)] 
add a wxEventType argument to wxThreadEvent for coherency with other event classes; rewrite its Clone() function

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