Commit Graph

24871 Commits

Author SHA1 Message Date
Kevin Ollivier
b12a7313f5 Respect the wxNO_BORDER flag for tool windows without a titlebar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 04:28:40 +00:00
Kevin Ollivier
3d52bdd8c6 Fix memory leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 03:03:54 +00:00
Vadim Zeitlin
998b0cb417 don't use deprecated wxMenuItem ctor and don't use an unnecessary #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 00:31:32 +00:00
Vadim Zeitlin
eecf97a5ee changed wxAuiBlendColour() to work with unsigned chars instead of doubles as it's always used with them [forward port of rr55210 from 2.8]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 00:30:23 +00:00
Benjamin Williams
93dcd337cd fix undefined variable color to colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 12:00:09 +00:00
Benjamin Williams
c95340c234 don't use MacSetTheme()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 10:56:51 +00:00
Benjamin Williams
b7ae02541f fixed include problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 10:21:57 +00:00
Benjamin Williams
1154f91b6a added wxAuiToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 09:28:07 +00:00
Stefan Csomor
f033830e25 cocoa implementation files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 12:55:54 +00:00
Stefan Csomor
e53b3d16de common implementation files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 12:43:44 +00:00
Robert Roebling
4df230b81e wxComboCtrlBase::Enable() does not refresh the control #9900
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 08:19:42 +00:00
Julian Smart
e2d0875aa7 Improved auto list numbering
Fixed selection bugs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 15:21:50 +00:00
Julian Smart
44bcee116e Cleanup of previous fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 11:32:23 +00:00
Julian Smart
b331ca89b2 Generic carent no longer invisible on a dark background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 10:34:14 +00:00
Robert Roebling
de2fcf0332 #9854 (AddPendingEvent - protect during wxEvtHandler destruction)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 09:18:30 +00:00
Stefan Csomor
b503b036c1 osx-cocoa event loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 06:47:58 +00:00
Vadim Zeitlin
45c6df33ec make ellipses drawn by wxDC more consistent with wxGC ones (closes #9887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 22:51:31 +00:00
Vadim Zeitlin
e1bd1db228 use Pango to draw rotated text if possible (this supports text background and should be more efficient), fall back to the old method for old libraries (closes #9861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 22:31:36 +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
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
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
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
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
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
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
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
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
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
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
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
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
Robin Dunn
c2cbae6bb8 Avoid default child window focus behavior in generic wxListCtrl. Fixes #9563
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:26:53 +00:00
Paul Cornett
fd6c5101a5 fix previous commit to respect minimum width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:19:56 +00:00