Commit Graph

48793 Commits

Author SHA1 Message Date
Vadim Zeitlin
255c07b4df extracted wxTextWrapper in its own header and made it public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 20:12:07 +00:00
Vadim Zeitlin
01b56a96ae don't redefine HAVE_STRFTIME as it can already be defined by configure (forgotten part of r60842)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:40:57 +00:00
Vadim Zeitlin
4feecbb929 added wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBufferedPaintDC font is correctly initialized from the window font, as it already happens with wxPaintDC that it mimics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:40:04 +00:00
Vadim Zeitlin
6de9def05d set focus to the window when the mouse is clicked in it explicitly as we don't let the default mouse click handling take place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:20:20 +00:00
Václav Slavík
a5c1223d2f use enhanced metafiles for wxMSW print preview: this is as accurate as previous code, but much faster (fixes #9970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:15:07 +00:00
Václav Slavík
cc3445715d add ability to create wxEnhMetaFileDC based on a reference DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:11:15 +00:00
Vadim Zeitlin
dd36b5a3e5 don't redefine HAVE_STRFTIME as it can already be defined by configure (closes #10861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 18:57:20 +00:00
Francesco Montorsi
3b36f093d9 group wxPlatformInfo functions for easier browsing; add more descriptions; link the related function group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 16:34:13 +00:00
Vadim Zeitlin
4b14a2f79b added default ctor to wxMouseEventsManager, this is convenient when deriving window classes (which must provide default ctors to e.g. allow loading them from XRC) from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 14:43:01 +00:00
Vadim Zeitlin
0598625cb2 don't add client area origin when positioning the child MDI frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:22:45 +00:00
Vadim Zeitlin
51a5c8df7c improve wxTreeCtrl::ScrollTo() behaviour in the generic version and add a test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:08:16 +00:00
Vadim Zeitlin
671683c445 enable OpenGL library build by default under Windows too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 12:55:11 +00:00
Vadim Zeitlin
4fd66e4c56 remove duplicate wxUSE_GSTREAMER definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 12:54:16 +00:00
Vadim Zeitlin
f1a73c6a81 added wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 09:49:31 +00:00
Vadim Zeitlin
24f618eea6 allow overriding wxUSE_GLCANVAS value in setup.h by using USE_OPENGL=1 with make (closes #10832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 09:12:20 +00:00
Jaakko Salli
0ce8e27f68 Added wxPGProperty::SetDefaultValue(v), as a shortcut for SetAttribute(DefaultValue, v)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 08:58:38 +00:00
Vadim Zeitlin
e1983cad7c implement Update() properly for the generic wxListCtrl (see #10857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 22:25:42 +00:00
Vadim Zeitlin
68fe70ea1f define HAVE_LARGEFILE_SUPPORT in setup.h when large files support is available and test for it in wx/filefn.h (closes #10844); document that wx/filefn.h must be included before testing for wxHAS_LARGE_(F)FILES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 17:15:36 +00:00
Vadim Zeitlin
785b63731b fix ANSI build compilation (closes #10846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 17:02:46 +00:00
Vadim Zeitlin
a2641c8d27 added power, svg, taborder and xrc samples (closes #10849)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 16:42:51 +00:00
Francesco Montorsi
7b4138e284 refactor printf benchmarks to fit the new wxWidgets benchmarking framework; fix tests and benchmarks builds (at least on linux) which were failing because of wrong order of <wx-lib> tags in the bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 13:54:22 +00:00
Vadim Zeitlin
46b38b02ce compilation fix for wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 11:46:15 +00:00
Jaakko Salli
14bac4b5b9 More forward-ported wxPython-bindings related cleanup from 2.9.0 branch, also documented wxPGProperty::GetItemAtY()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 11:20:35 +00:00
Jaakko Salli
b512ed9320 Forward-ported wxPython-bindings related cleanup from 2.9.0 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 10:49:05 +00:00
Julian Smart
a7d8506b4f Ensure the tooltip has been created before enabling or setting the delay, or they will be no-ops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-29 13:32:42 +00:00
Francesco Montorsi
421962befc avoid leaking allocated tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 20:31:38 +00:00
Vadim Zeitlin
bba60a82b9 remove redundant extern keywords from wxEmptyString definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 15:06:56 +00:00
Stefan Csomor
353249a8e7 fixing length param, see #10846
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 09:59:32 +00:00
Vadim Zeitlin
f6363458bc avoid g++ 4.3 warnings about conflict between parameter and method names (closes #10843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 09:49:20 +00:00
Vadim Zeitlin
fa2b06e7b1 compilation fix for STL/!UNICODE case (closes #10846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 09:42:08 +00:00
Stefan Csomor
e3d6cbb9aa fixing non-unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 19:20:22 +00:00
Jouk Jansen
575cf8b134 update setup for OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 12:48:14 +00:00
Stefan Csomor
71c5a4d19d moving common code up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 12:33:27 +00:00
Stefan Csomor
536bfe3d76 updating cursor code from Dave's newer version, fixes #10798
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 10:17:34 +00:00
Stefan Csomor
f95dd972d9 allowing font changes on multi-line textctrls, see #10801
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 09:52:23 +00:00
Stefan Csomor
c2dad387fd make sure NSScrollers are always having the desired orientation, fixes #10803
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 08:17:47 +00:00
Michael Wetherell
22015a0224 Send mail notifications to wx-buildbot@googlegroups.com
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-27 02:21:06 +00:00
Vadim Zeitlin
7ca19ddbb8 no changes, simply mention a possible misuse of API in a comment (see #60296)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-25 20:48:57 +00:00
Vadim Zeitlin
56270af4ba ensure that Excel is visible and has an opened workbook (closes #10837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-25 20:42:39 +00:00
Vadim Zeitlin
881f5a1c71 correct a typo in wxSplitterWindow gravity parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-25 13:08:00 +00:00
Vadim Zeitlin
ef18e79223 add support for defining list control columns in XRC too (and correct a few things in previously added list items support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-25 13:00:28 +00:00
Vadim Zeitlin
9cd203f776 added a timer updating a counter in the background to be able to easily check visually whether the events are processed or not during the synchronous child proces execution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 19:40:24 +00:00
Vadim Zeitlin
abd694417a remove wxMSW-specific (but copied into wxPalm too) wxAppTraits::AlwaysYield(), it's useless now that wxEventLoop is in wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 19:39:40 +00:00
Vadim Zeitlin
dbbcfbb642 always dispatch messages for the hidden window which receives process termination notifications; otherwise calling wxExecute(wxEXEC_SYNC) without an active event loop never returns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 19:37:02 +00:00
Vadim Zeitlin
fb4079af5b fill in the fields of wxListItem in a wxListEvent before handling the event (closes #10820)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 18:04:37 +00:00
Vadim Zeitlin
31cc5049d3 correct the inversed assert check in LVN_DELETEITEM handler (closes #10831)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 17:39:49 +00:00
Vadim Zeitlin
e8b9048267 compilation fix for wxOSX_USE_EXPERIMENTAL_FONTDIALOG==0 (closes #10834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 17:27:51 +00:00
Vadim Zeitlin
787de19a13 update CRT environment block in wxSetEnv() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 15:33:33 +00:00
Vadim Zeitlin
5508feb8f7 wxUSE_GSTREAMER is Unix-specific, remove it from common wx/setup_inc.h; it also requires wxUSE_THREADS, check for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 09:40:15 +00:00
Vadim Zeitlin
6528a7f145 make wxWindow::SetAutoLayout() now works for all windows, not just panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-23 11:26:58 +00:00