Commit Graph

48779 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
112d941fe1 mark the document as modified when its text control is (closes #10826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 22:52:31 +00:00
Vadim Zeitlin
e5033ed2f1 initialize wxDocChildFrameAnyBase before creating the real window to ensure that event handling is set up properly before the first events for the new window are received (closes #10825)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 22:46:18 +00:00
Vadim Zeitlin
ec86c7ce41 no real changes, just remove unneeded empty dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:54:09 +00:00
Vadim Zeitlin
5c3313a968 return the correct number of columns from wxGridStringTable, even when we don't have any rows (closes #10818)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:53:32 +00:00
Vadim Zeitlin
3e603cb713 fix unused parameter warning after r60715
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:37:05 +00:00
Vadim Zeitlin
46743ff8e5 don't clear the status bar help text if the wxEVT_MENU_HIGHLIGHT event was processed by user code (see #10822)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:25:10 +00:00
Vadim Zeitlin
f724f440fd implement wxGetActiveWindow() which is now used by wx itself (closes #10809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 18:14:40 +00:00
Vadim Zeitlin
c65c67beba allow 2 step creation of wxDocChildFrameAnyBase and derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 14:02:07 +00:00
Julian Smart
17547f0fe9 COrrected my misapplied fix, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 10:17:35 +00:00
Vadim Zeitlin
283965f0b3 don't use m_useProxy if !wxUSE_PROTOCOL_HTTP (see #10815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 23:02:21 +00:00
Vadim Zeitlin
c475468896 compilation fix in FindPaperType() after latest change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 22:58:08 +00:00
Julian Smart
331dbb617f Avoid resetting size if paper id not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:18:21 +00:00
Vadim Zeitlin
3cc5704485 do allow calling Hide() on the window before it is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:16:53 +00:00
Julian Smart
09e02fc7a2 Fixed invisible CHM tooltip text bug when window text colour is black.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:16:17 +00:00