Commit Graph

41618 Commits

Author SHA1 Message Date
Robert Roebling
05b743ba80 [ 1816944 ] GTK - wxMenuBar bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:55:55 +00:00
Vadim Zeitlin
624f89c2d7 don't update the tree unnecessarily in Expand/CollapseAllChildren() (patch 1809520)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:55:50 +00:00
Vadim Zeitlin
c4b64a941e add support for detached threads in wxThreadHelper (patch 1809015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:49:10 +00:00
Vadim Zeitlin
576b18f214 spelling and other minor fixes (patch 1806283)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:45:46 +00:00
Vadim Zeitlin
14ee8dcc83 add discussion about the problems of using Yield() part of patch 1806283)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:42:03 +00:00
Vadim Zeitlin
060668a1f6 export wxInvalidSize from DLL builds (patch 1805738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:34:43 +00:00
Robert Roebling
816964cfd8 Only draw cell in selected style when control has focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 10:43:57 +00:00
Robert Roebling
4cda739ce4 Use BTNFACE colour for rendering selected item when widget is unfocussed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 10:33:32 +00:00
Robert Roebling
1cfc497117 Support hover over effect for DrawHeaderButton for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 10:20:29 +00:00
Paul Cornett
abdf096a05 use a GtkAlignment to set size of toolbar controls, instead of trying to "correct" size_allocate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 03:47:33 +00:00
David Elliott
67612ff18e Fix wxVsnprintf-using code on both trunk and 2.8 and document how native
functions are supposed to behave as well as how some of them do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 03:44:01 +00:00
Robert Roebling
df1bc4fa5c minor corr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:07:33 +00:00
Robert Roebling
83b852b070 minor corr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:04:16 +00:00
Julian Smart
c8058a09e5 Added wxVariantData::Clone and wxVariant::Unshare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:01:54 +00:00
Robert Roebling
b0d7707bc4 Use wxPointList instead of wxList in wxDC code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 14:53:55 +00:00
Julian Smart
24b209464f Show debug report directory in long form on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 11:40:29 +00:00
David Elliott
f8aeb3e356 Improve behavior of menubar switching when windows are activated.
Specifically, if a non-wx (e.g. internal Cocoa) window becomes key but a
wx window remains main, be sure to use the wx window's menubar rather
than swapping it out for the menubar we show when no wx window
is active.  Fixes Leopard issue.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 05:39:18 +00:00
David Elliott
2263f62d9b Add missing wxT().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 04:42:23 +00:00
David Elliott
30cfcda5b5 Add ProcessPendingEvents to wxApp::Yield which makes the code almost identical
to wxMSW's implementation save for using Cocoa instead of MSW.
Add a wxAutoNSAutoreleasePool around wxApp::WakeUpIdle so that calling it from
a thread does not leak the NSEvent.
Add several hundred lines of comments explaining the unique method that
wxCocoa uses to hook the underlying event loop and run loop so that wxCocoa
is able to provide things like wx idle events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 02:13:13 +00:00
Robert Roebling
736fe67c66 Added PrependColumn methods and short cuts. Added test for DeleteColumn to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 20:56:38 +00:00
Paul Cornett
383144c756 simplify toolbar and statusbar create/set code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 17:20:38 +00:00
Robert Roebling
e44ac7bcd8 Pixel fiddling for correct placement of text with and without icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 16:35:16 +00:00
Robin Dunn
a36885a079 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:49:41 +00:00
Robin Dunn
4412408856 Make event overview doc more clear about instances of wxEvtHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:48:15 +00:00
Robert Roebling
b89cac3f09 Corrected wrong initial/min size of generic wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:07:11 +00:00
Robert Roebling
438fb233a0 Implement HasContainerColumns in generic code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 14:40:08 +00:00
Vadim Zeitlin
43ea4e37eb removed extraneous semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 10:06:32 +00:00
David Elliott
5a9d14c1b5 Fix crasher caused by wxProcessTerminationEventHandler::OnTerminate killing
itself inside the context of wxEvtHandler::ProcessPendingEvents which
still needs itself to be valid because it accesses it's m_eventsLocker.

NOTE: This code is no longer used on trunk and hopefully soon won't be
used in 2.8 either, but at least it doesn't crash now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:31:21 +00:00
Vadim Zeitlin
b24442f845 corrected GetKeyInfo() (bug 1815516)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:22:55 +00:00
David Elliott
500659a897 Added fontfactory.h that should have been part of 49213.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:01:37 +00:00
David Elliott
51146826fc Halfway reasonable implementation of wxFont for wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 07:54:43 +00:00
David Elliott
ada162b932 Ignore generated autoconf.m4f file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 07:19:22 +00:00
David Elliott
dd6c8be6e9 Apply modified patch 1785299 to trunk and 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 21:52:02 +00:00
Robert Roebling
ce0cf2b871 Make wxRenderer::DrawItemSelectionRect() draw a focus outline of wxCONTROL_CURRENT and wxCONTROL_FOCUSED is given, blind patch for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 20:57:01 +00:00
Vadim Zeitlin
e00b31799c explicitly mention that IsChecked() can't be used with wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:30:58 +00:00
Vadim Zeitlin
e256b53a3d remove wxWindow::Clear() from wxDFB and wxMGL which was unused (probably replaced by ClearBackground()) and conflicted with methods with the same name in other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:22:15 +00:00
Vadim Zeitlin
76c39b5df1 test for __DARWIN__ with ifdef, not if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:19:29 +00:00
Vadim Zeitlin
d3b8fe1071 include -DWXUSINGDLL in wx-config output under all platforms and not only Cygwin/Mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:55:25 +00:00
Vadim Zeitlin
fb06f27139 fix references to wxCmdLineParser ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:32:16 +00:00
Vadim Zeitlin
2df2a65b2d fix broken links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:29:14 +00:00
Robert Roebling
001f0f8273 Correct focus rect to not appear in unfocussed controls (currently doesn't appear at all under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:43:19 +00:00
Robert Roebling
49fc3b9c03 Correct EnsureVisible() to show last item entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:21:04 +00:00
Robert Roebling
e2da67f6d7 More alignment issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:17:32 +00:00
Robert Roebling
69357fa0cb Change default alignment to centre vertically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:50:22 +00:00
Robert Roebling
c7c5a6197d Document alignment parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:49:16 +00:00
Robert Roebling
67be459bba Ensure item is visible when selection moves, remove compile warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:37:48 +00:00
Robert Roebling
9743a4495c Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:03:46 +00:00
Robert Roebling
8abbc646c8 Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:57:40 +00:00
Robert Roebling
4d373bc038 Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:56:42 +00:00
Robert Roebling
729a8b9b44 Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:56:19 +00:00