]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agosecond part of #10320: move wxApp event handling functions to wxEventLoopBase (in...
Francesco Montorsi [Sun, 15 Feb 2009 14:25:08 +0000 (14:25 +0000)] 
second part of #10320: move wxApp event handling functions to wxEventLoopBase (in particular move Yield() functions); add backward compatible redirections to wxApp; update docs; remove global lists wxPendingEvents and wxPendingEventsLocker

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

15 years agofix (harmless)m ingw32 warning; use anonymous namespace instead of a bunch of static...
Vadim Zeitlin [Sun, 15 Feb 2009 14:25:04 +0000 (14:25 +0000)] 
fix (harmless)m ingw32 warning; use anonymous namespace instead of a bunch of static functions

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

15 years agodo not export compare functions in the wx ABI
Francesco Montorsi [Sun, 15 Feb 2009 12:48:31 +0000 (12:48 +0000)] 
do not export compare functions in the wx ABI

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

15 years agoeven more user-friendly message (as suggested by John Roberts)
Francesco Montorsi [Sun, 15 Feb 2009 12:19:08 +0000 (12:19 +0000)] 
even more user-friendly message (as suggested by John Roberts)

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

15 years agoadd changelogs for my (relatively) recent commits
Francesco Montorsi [Sun, 15 Feb 2009 12:15:47 +0000 (12:15 +0000)] 
add changelogs for my (relatively) recent commits

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

15 years agoFix typo (sorry, thought I compiled before committing.)
Kevin Ollivier [Sat, 14 Feb 2009 17:07:56 +0000 (17:07 +0000)] 
Fix typo (sorry, thought I compiled before committing.)

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

15 years agoFixed assertion that could appear under wxGTK if wxComboCtrl drop-down button was...
Jaakko Salli [Sat, 14 Feb 2009 16:42:40 +0000 (16:42 +0000)] 
Fixed assertion that could appear under wxGTK if wxComboCtrl drop-down button was clicked too quickly

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

15 years agoreduce tarballs as discussed on wx-dev
Chris Elliott [Sat, 14 Feb 2009 12:09:30 +0000 (12:09 +0000)] 
reduce tarballs as discussed on wx-dev

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

15 years agoFixed wxPropertyGrid::HitTest() documentation
Jaakko Salli [Sat, 14 Feb 2009 08:48:46 +0000 (08:48 +0000)] 
Fixed wxPropertyGrid::HitTest() documentation

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

15 years agoStart on implementation for wxTE_MULTILINE / wxTE_RICH* support using NSTextView...
Kevin Ollivier [Sat, 14 Feb 2009 08:06:34 +0000 (08:06 +0000)] 
Start on implementation for wxTE_MULTILINE / wxTE_RICH* support using NSTextView/NSScrollView.

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

15 years agoRemove the "double border" around the search ctrl.
Kevin Ollivier [Sat, 14 Feb 2009 08:01:56 +0000 (08:01 +0000)] 
Remove the "double border" around the search ctrl.

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

15 years agoAdd a tracking rect on resize so that the view will receive mouse entered and exited...
Kevin Ollivier [Sat, 14 Feb 2009 08:00:43 +0000 (08:00 +0000)] 
Add a tracking rect on resize so that the view will receive mouse entered and exited events.

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

15 years agouse WXDLLIMPEXP_FWD_CORE instead of WXDLLIMPEXP_CORE to avoid mingw32 warnings
Vadim Zeitlin [Fri, 13 Feb 2009 23:23:03 +0000 (23:23 +0000)] 
use WXDLLIMPEXP_FWD_CORE instead of WXDLLIMPEXP_CORE to avoid mingw32 warnings

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

15 years agoclickCount is not available for mouse entered/exited events also, just use respondsTo...
Kevin Ollivier [Fri, 13 Feb 2009 20:16:13 +0000 (20:16 +0000)] 
clickCount is not available for mouse entered/exited events also, just use respondsToSelector to make sure we catch this always, and add some stubs for mouse entered / exited events.

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

15 years agoImplement NSPanel support to get wxFRAME_TOOL_WINDOW and wxMiniFrame working.
Kevin Ollivier [Fri, 13 Feb 2009 20:15:05 +0000 (20:15 +0000)] 
Implement NSPanel support to get wxFRAME_TOOL_WINDOW and wxMiniFrame working.

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

15 years agodirect wxFrame events support (paint was not delivered directly)
Stefan Csomor [Fri, 13 Feb 2009 19:47:00 +0000 (19:47 +0000)] 
direct wxFrame events support (paint was not delivered directly)

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

15 years agodifferent contentview-offset code, otherwise 'wx' synthetic borders are also taken...
Stefan Csomor [Fri, 13 Feb 2009 19:23:58 +0000 (19:23 +0000)] 
different contentview-offset code, otherwise 'wx' synthetic borders are also taken into account, and round-trips woulnd't be correct anymore

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

15 years agopaint event was missing the id, Connect not working for this otherwise
Stefan Csomor [Fri, 13 Feb 2009 19:21:51 +0000 (19:21 +0000)] 
paint event was missing the id, Connect not working for this otherwise

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

15 years agoClarified wxPropertyGrid::HitTest() docs
Jaakko Salli [Fri, 13 Feb 2009 16:15:12 +0000 (16:15 +0000)] 
Clarified wxPropertyGrid::HitTest() docs

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

15 years agoMore GTK prefixing for internal methods
Robert Roebling [Fri, 13 Feb 2009 10:25:38 +0000 (10:25 +0000)] 
More GTK prefixing for internal methods

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

15 years agoGTK prefix for internal tooltip methods
Robert Roebling [Fri, 13 Feb 2009 10:10:36 +0000 (10:10 +0000)] 
GTK prefix for internal tooltip methods

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

15 years agoRemoved unneeded FixUpMouse() method, some more GTK prefixing
Robert Roebling [Fri, 13 Feb 2009 10:00:22 +0000 (10:00 +0000)] 
Removed unneeded FixUpMouse() method, some more GTK prefixing

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

15 years agoReorder code so that you can actually set the size of a picker control at startup
Robert Roebling [Fri, 13 Feb 2009 09:34:04 +0000 (09:34 +0000)] 
Reorder code so that you can actually set the size of a picker control at startup

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

15 years agoForgot to commit file for giving a GTK specific methid the prefix GTK
Robert Roebling [Fri, 13 Feb 2009 09:33:15 +0000 (09:33 +0000)] 
Forgot to commit file for giving a GTK specific methid the prefix GTK

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

15 years agoGTK compilo: looks like a header missed the r58850 commit.
Bryan Petty [Fri, 13 Feb 2009 07:35:48 +0000 (07:35 +0000)] 
GTK compilo: looks like a header missed the r58850 commit.

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

15 years agoadded a period at the end of a sentence (test commit, really)
Vadim Zeitlin [Thu, 12 Feb 2009 23:29:20 +0000 (23:29 +0000)] 
added a period at the end of a sentence (test commit, really)

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

15 years agoreturn radio box own help text when origin is Origin_Unknown to make sure GetHelpText...
Vadim Zeitlin [Thu, 12 Feb 2009 23:18:29 +0000 (23:18 +0000)] 
return radio box own help text when origin is Origin_Unknown to make sure GetHelpText() returns the same value as was passed to SetHelpText()

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

15 years agomaximize pane should ignore floating windows (#4066)
Benjamin Williams [Thu, 12 Feb 2009 22:46:21 +0000 (22:46 +0000)] 
maximize pane should ignore floating windows (#4066)

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

15 years agoDon't use native file/dir picker buttons when using an associated text control
Robert Roebling [Thu, 12 Feb 2009 21:11:09 +0000 (21:11 +0000)] 
Don't use native file/dir picker buttons when using an associated text control

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

15 years agowxFilePickerCtrl's button should know if it has an associated text control
Robert Roebling [Thu, 12 Feb 2009 21:09:20 +0000 (21:09 +0000)] 
wxFilePickerCtrl's button should know if it has an associated text control

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

15 years agoFixed old font-related code that caused problems on wxMAC, also replaced all accesses...
Jaakko Salli [Thu, 12 Feb 2009 16:55:19 +0000 (16:55 +0000)] 
Fixed old font-related code that caused problems on wxMAC, also replaced all accesses to m_font with GetFont()

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

15 years agomade wxArrayString::assign(iterator, iterator) a template function; also fixed a...
Vadim Zeitlin [Thu, 12 Feb 2009 12:09:13 +0000 (12:09 +0000)] 
made wxArrayString::assign(iterator, iterator) a template function; also fixed a bad bug in it: it didn't call clear(); mention existence of std::vector-like methods in the docs

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

15 years agoFixed wxRichTextRange != operator
Julian Smart [Thu, 12 Feb 2009 10:17:44 +0000 (10:17 +0000)] 
Fixed wxRichTextRange != operator

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

15 years agorenaming clickedAction callbacks to more generic controlAction, textctrl updates
Stefan Csomor [Thu, 12 Feb 2009 07:17:46 +0000 (07:17 +0000)] 
renaming clickedAction callbacks to more generic controlAction, textctrl updates

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

15 years agoCGContextFlush is already called in SetNativeContext
Stefan Csomor [Thu, 12 Feb 2009 07:16:32 +0000 (07:16 +0000)] 
CGContextFlush is already called in SetNativeContext

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

15 years agoRestore DrawRadioButton to the main wxRenderer API, create a method overload for...
Kevin Ollivier [Thu, 12 Feb 2009 01:06:53 +0000 (01:06 +0000)] 
Restore DrawRadioButton to the main wxRenderer API, create a method overload for the wxUniv API so that it can coexist with the wxUniv method of the same name.

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

15 years agoFix assertion when passing nil to setKeyEquivalent.
Kevin Ollivier [Thu, 12 Feb 2009 01:02:42 +0000 (01:02 +0000)] 
Fix assertion when passing nil to setKeyEquivalent.

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

15 years agosupporting graphics context on invisible views, icon refs are available under 64...
Stefan Csomor [Tue, 10 Feb 2009 07:00:03 +0000 (07:00 +0000)] 
supporting graphics context on invisible views, icon refs are available under 64 bit cocoa as well, turn drawing on again, fixes #10490

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

15 years agocorrected build fix, new code does work with GTK+ < 2.10
Paul Cornett [Tue, 10 Feb 2009 03:43:30 +0000 (03:43 +0000)] 
corrected build fix, new code does work with GTK+ < 2.10

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

15 years agoFixed section identifiers (the added section needed a unique id) in topic overviews...
Bryan Petty [Tue, 10 Feb 2009 00:38:20 +0000 (00:38 +0000)] 
Fixed section identifiers (the added section needed a unique id) in topic overviews page in the manual.

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

15 years agofix for when wxUSE_DRAG_AND_DROP==0 (e.g. in wxX11)
Francesco Montorsi [Tue, 10 Feb 2009 00:15:37 +0000 (00:15 +0000)] 
fix for when wxUSE_DRAG_AND_DROP==0 (e.g. in wxX11)

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

15 years agocompilation fix for GTK+ < 2.10
Vadim Zeitlin [Mon, 9 Feb 2009 21:17:02 +0000 (21:17 +0000)] 
compilation fix for GTK+ < 2.10

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

15 years agoWe'll get an unhandled exception if the view is hidden, fortunately, lockFocusIfCanDr...
Kevin Ollivier [Mon, 9 Feb 2009 18:48:20 +0000 (18:48 +0000)] 
We'll get an unhandled exception if the view is hidden, fortunately, lockFocusIfCanDraw does the right thing here, or at least the best we can hope for.

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

15 years agopaint event handling fixes and wxClientDC implementation for osx-cocoa
Stefan Csomor [Mon, 9 Feb 2009 18:03:13 +0000 (18:03 +0000)] 
paint event handling fixes and wxClientDC implementation for osx-cocoa

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

15 years agomake sure no delegates/impl ptrs are still set during destruction
Stefan Csomor [Mon, 9 Feb 2009 17:59:37 +0000 (17:59 +0000)] 
make sure no delegates/impl ptrs are still set during destruction

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

15 years agoflipped accessor conforming to plain c++ impl
Stefan Csomor [Mon, 9 Feb 2009 17:53:02 +0000 (17:53 +0000)] 
flipped accessor conforming to plain c++ impl

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

15 years agoFixed (hopefully) wx_dll.dsw regarding propgrid and stc (closes #10463)
Jaakko Salli [Mon, 9 Feb 2009 16:43:41 +0000 (16:43 +0000)] 
Fixed (hopefully) wx_dll.dsw regarding propgrid and stc (closes #10463)

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

15 years agodon't use invalid item indices in wxLC_HRULES-drawing code (closes #10484)
Vadim Zeitlin [Mon, 9 Feb 2009 13:41:25 +0000 (13:41 +0000)] 
don't use invalid item indices in wxLC_HRULES-drawing code (closes #10484)

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

15 years agofix MSVC warnings about possibly uninitialized variables; some reindentation
Vadim Zeitlin [Mon, 9 Feb 2009 13:16:42 +0000 (13:16 +0000)] 
fix MSVC warnings about possibly uninitialized variables; some reindentation

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

15 years agocompilation fix for wxUSE_STL build after latest changes
Vadim Zeitlin [Mon, 9 Feb 2009 13:12:53 +0000 (13:12 +0000)] 
compilation fix for wxUSE_STL build after latest changes

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

15 years agoMention wxTaskBarIcon reimplementation, other details
Robert Roebling [Mon, 9 Feb 2009 10:19:22 +0000 (10:19 +0000)] 
Mention wxTaskBarIcon reimplementation, other details

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

15 years agoCompile fix
Robert Roebling [Mon, 9 Feb 2009 09:54:53 +0000 (09:54 +0000)] 
Compile fix

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

15 years agodrawing code now in common file
Stefan Csomor [Mon, 9 Feb 2009 09:54:23 +0000 (09:54 +0000)] 
drawing code now in common file

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

15 years agoGetRegion is not needed anymore
Stefan Csomor [Mon, 9 Feb 2009 09:53:39 +0000 (09:53 +0000)] 
GetRegion is not needed anymore

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

15 years agoreplacing RgnHandle with HIShapeRef usage
Stefan Csomor [Mon, 9 Feb 2009 09:41:40 +0000 (09:41 +0000)] 
replacing RgnHandle with HIShapeRef usage

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

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