]>
git.saurik.com Git - wxWidgets.git/log
Francesco Montorsi [Sun, 15 Feb 2009 23:06:05 +0000 (23:06 +0000)]
revert previous commit - but don't include unneeded email headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58922
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 15 Feb 2009 21:22:55 +0000 (21:22 +0000)]
formatting fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58921
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 15 Feb 2009 20:08:41 +0000 (20:08 +0000)]
documenting new compositing, layering and antialiasing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58920
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 15 Feb 2009 19:34:58 +0000 (19:34 +0000)]
PCH-less build fix by Tim S
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58919
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 15 Feb 2009 16:52:05 +0000 (16:52 +0000)]
switching to compositing operators (fixes #9881), adding layers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58917
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 15 Feb 2009 15:42:15 +0000 (15:42 +0000)]
use YieldFor() in wxTopLevelWindowGTK::RequestUserAttention; comment on the use of YieldFor() in wxProgressDialog; add some TODOs near wxYieldIfNeeded()/wxSafeYield() calls in wxListCtrl, wxDataViewCtrl, wxTreeCtrl (closes #10320)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58916
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Feb 2009 15:26:07 +0000 (15:26 +0000)]
don't use AC_CANONICAL_TARGET in libtiff configure: this is unnecessary as it's not a cross-compiler and also doesn't work when running it as sub-configure when caching is enabled (because the host and the build aliases are cached by the top level configure but the target one is not and autoconf-generated code doesn't deal with this situation correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58914
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 15 Feb 2009 15:16:18 +0000 (15:16 +0000)]
remove GTK_CHECK_VERSION checks for GTK versions < 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58913
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 15 Feb 2009 14:54:31 +0000 (14:54 +0000)]
build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58912
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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