Commit Graph

46065 Commits

Author SHA1 Message Date
Vadim Zeitlin
e928566f7d document that text drawing is not affected by the current logical function and update the sample to not imply that it is (#9842)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:14:58 +00:00
Vadim Zeitlin
08de440369 honour useMask parameter in DrawBitmap() and StretchBlit() (#9841)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:12:44 +00:00
Vadim Zeitlin
e0ac7d941f continue even if the bitmaps can't be found; look for them in argv[0] directory too; use more clear name for ROP screen in the menu (#9839)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 21:06:21 +00:00
Vadim Zeitlin
42046cf5e3 don't always create DIBs in wxBitmap(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 20:43:48 +00:00
Julian Smart
afb0d55c83 Fixed default margin sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 16:08:32 +00:00
Robert Roebling
d9468a20c4 #9876 (GC: added sanity check to wxGraphicsPathData::AddEllipse())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 12:21:14 +00:00
Robert Roebling
5f22e8ccf8 Ticket #9858 gtk wxDC::DrawText() - draw text background natively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 12:06:11 +00:00
Stefan Csomor
c9d13e86a6 updating the comment as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:58:32 +00:00
Stefan Csomor
1c6dca77a1 using the 'new' bottleneck methods, fixing bugreport from Bengt Nilsson <bengt.nilsson11@spray.se>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:49:42 +00:00
Stefan Csomor
9a7fc42588 mimetype common implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 07:30:33 +00:00
Stefan Csomor
fb8dcb0528 cocoa specific implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 07:29:07 +00:00
Stefan Csomor
3ccc5735bf new common code files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 07:28:04 +00:00
Vadim Zeitlin
60a14f1bf2 mention DoPrepareDC() relative origin offsetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 00:13:41 +00:00
Václav Slavík
373c713ad4 fixed scaling of print preview if there's not enough RAM for the full page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-20 21:58:31 +00:00
Václav Slavík
fda71b397a re-fix MinGW DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-20 21:35:55 +00:00
Paul Cornett
c58d22381a remove text field from page data, add much more useful image widget pointer, lots of code simplification and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-19 16:28:40 +00:00
Paul Cornett
a99bcb5e5e non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-19 16:28:21 +00:00
Vadim Zeitlin
a0fa7d39f5 fix MSVC warning about int->bool conversion introduced by r55113 [forward port from 2.8 branch]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 20:05:51 +00:00
Vadim Zeitlin
aa74cc2120 don't use WXDLLIMPEXP_BASE_DATA() around member data, this results in an error in MSVC DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 19:52:00 +00:00
Vadim Zeitlin
11986debff don't use the same tool ids for multiple tools, this is bad idea under Windows and breaks tool commands handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 13:40:18 +00:00
Vadim Zeitlin
d2ffaf168d add support for using bitmap2 for checked menu item bitmap in XRC (#9878)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 13:27:58 +00:00
Vadim Zeitlin
4a5ed5bfc1 paint the space remaining after the columns too in wxListHeaderWindow::OnPaint() (#9855)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 12:02:01 +00:00
Vadim Zeitlin
f6a39dfaa6 use CLSCTX_ALL instead of CLSCTX_LOCAL_SERVER in CreateInstance() (#9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:57:55 +00:00
Vadim Zeitlin
bfafa6288f don't terminate the event loop in EndModal() if it was already terminated because of an exception thrown inside it (#9838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:51:53 +00:00
Vadim Zeitlin
42561c3caf document wxSpinCtrlDouble (#9834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:41:27 +00:00
Vadim Zeitlin
2753fd96ff add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Vadim Zeitlin
f78c70f34b fix spurious assert failure in DestroyGripper() which happened if the dialog hadn't been shown at all (#9824)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-16 10:53:02 +00:00
Vadim Zeitlin
af39599d1d compilation fix for wxUSE_STL build after r54926 (#9810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 23:04:31 +00:00
Vadim Zeitlin
d026fee446 compilation fix for wxUniv/MSW after r54937 (#9866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 23:01:28 +00:00
Paul Cornett
75c6febf44 fix for page change not working after veto, #3808
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 04:52:13 +00:00
Václav Slavík
c21faa0a3e added wxString benchmark using 2.8's HTML parser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:48:09 +00:00
Václav Slavík
4c25eaccc9 HAVE_BOOST_THREAD should be off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:47:20 +00:00
Stefan Csomor
78a9167e55 adding generic BUNDLE_RESOURCES for copying any special resources into the bundle, renaming BUNDLE_ICONS to BUNDLE_ICON = the path of the app icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:20:57 +00:00
Stefan Csomor
0b1345939a fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:14:31 +00:00
Paul Cornett
1e4db45055 move notebook event definition to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 14:56:42 +00:00
Vadim Zeitlin
1f16b85005 fix typo in __WWXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 12:31:13 +00:00
Václav Slavík
31b9d29fd7 add assert checking that GetCapture() and ms_winCaptureCurrentare in sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 09:00:36 +00:00
Václav Slavík
26fba7b2a3 apply Stefan's fix for wxHtmlDCRenderer clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 16:03:17 +00:00
Václav Slavík
03af437f75 made wxCharTypeBuffer<T>::release() const again, for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 15:10:57 +00:00
Václav Slavík
0654c03aff added microbenchmark for wxCharBuffer performance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-11 19:31:23 +00:00
Robin Dunn
78806f0c41 Use WXUNUSED and give more explaination for the handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:54:35 +00:00
Paul Cornett
4cdf71be82 don't modify position for default border if button is in a native widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:45:06 +00:00
Paul Cornett
205177b0b4 add control items from child inserter, so that correct style is set early enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:44:51 +00:00
Václav Slavík
7113846bc8 DLLs linking fix wxCharTypeBuffer<T>::NullData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:41:10 +00:00
Václav Slavík
e00d33048d pch-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:40:48 +00:00
Václav Slavík
283c84c224 compilation fix: wxUString uses it's own wxCharTypeBuffer<T> specializations and so needs NullData definitions for them too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:29:11 +00:00
Václav Slavík
95691abd43 radically simplified declarations of wxUString-specific char buffers: there are no compatibility concerns, so they can simply be typedefs for wxCharTypeBuffer<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:28:20 +00:00
Václav Slavík
5c1de526d2 added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 19:37:51 +00:00
Paul Cornett
f2448f2110 some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 18:26:33 +00:00
Paul Cornett
3abfbb4354 set extra widget from child inserter, so that correct style is set early enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 18:24:21 +00:00