Compare commits

..

251 Commits

Author SHA1 Message Date
Bryan Petty
2b2748dcc1 This commit was manufactured by cvs2svn to create tag 'wxPy_2_7_1_2'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_2_7_1_2@42287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:52:20 +00:00
Robin Dunn
e02c0a1360 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:27:32 +00:00
Robin Dunn
bbc3761ee8 No need to use wxPyMake_wxObject for wxImageList. There are no
derived types, and it is not OOR.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:14:31 +00:00
Robin Dunn
cd0a59fb7f the Append also does an INCREF, that's one more than we need.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:13:04 +00:00
Robin Dunn
d819fba8ae Patch #1581767: Another fix for wx.lib.calendar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:12:12 +00:00
Robin Dunn
0a27f39436 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:08:27 +00:00
Robin Dunn
9443113386 Lots of little tweaks, mostly to draw selected items better such that
they look right with the new wxMac DC, but also other general
improvements as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:07:21 +00:00
Robin Dunn
9a9ed31993 Animation support added to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:00:37 +00:00
Robin Dunn
8e8d11eeaa Add Get/SetInactiveBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:59:51 +00:00
Robin Dunn
6240681f37 #include dcgraph.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:59:09 +00:00
Robin Dunn
f629895c92 Add dcgraph.h to files.bkl and rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:58:27 +00:00
Paul Cornett
43af39c863 move some definitions out of datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 19:53:05 +00:00
Robert Roebling
ad0b4329d7 Use wxGCDC in wxGTK to draw "Alpha" test page
in drawing sample. Pretty amazing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:44:44 +00:00
Robert Roebling
1ed4f1a747 Remove C++ dynamic cast for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:43:00 +00:00
Paul Cornett
b687dd2fc1 wxGraphicContext --> wxGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:00:11 +00:00
Paul Cornett
fd8bb4662a wxGraphicContext --> wxGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:46:33 +00:00
Paul Cornett
cc5de8fe04 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:46:22 +00:00
Stefan Neis
e4b5d0e37a Fixed port name used in #ifdef.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:22:50 +00:00
Robert Roebling
ddb0ed69a9 Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:22:07 +00:00
Stefan Neis
d9c9196e34 Corrected port name used in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:19:11 +00:00
Robert Roebling
375829bb01 Update Makefile.in after annimatectrlxrc addition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:57:38 +00:00
Vadim Zeitlin
6614aa496d fix for tabs drawing in RTL (patch 1552881)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:55:07 +00:00
Vadim Zeitlin
72c1ba98f2 add some #if wxUSE_XXX (patch 1581470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:39:42 +00:00
Vadim Zeitlin
e4164aa980 filter out duplicate date changed events sent by the native control (part of bug 1482773)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:29:33 +00:00
Vadim Zeitlin
e7e9ac91c2 one more correction to wxCondition::WaitTimeout() return code: don't overwrite err with the semaphore wait result (bug 1387179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:06:11 +00:00
Vadim Zeitlin
4cbc928afc restore the old status bar text when DoGiveHelp(false) is called (should fix bug 1340887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:56:24 +00:00
Vadim Zeitlin
e112f01999 removed OnToolEnter() handler which interfered with the default tool long help handling; add long help for a couple of tools for testing purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:54:47 +00:00
Vadim Zeitlin
aafb997862 load _TrackMouseEvent dynamically to make it possible to run wx programs on systems with comctl32.dll 4.70 (closes 1215615)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:37:55 +00:00
Vadim Zeitlin
f2346d3fd6 don't use GetFileAttributesEx() which doesn't exist in Win95 and so prevented any wx program from even starting up there; besides it was unneeded anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 15:18:38 +00:00
Vadim Zeitlin
194b226768 also define wxLstat for non-Unix platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:45:40 +00:00
Vadim Zeitlin
ee8d76ec2e also define wxLstat in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:42:17 +00:00
Vadim Zeitlin
56614e51f9 added wxLstat() (one of patches from bug 1052385)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:41:20 +00:00
Robert Roebling
a0d95a1ead additions for animatectrl xrc sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:09:26 +00:00
Vadim Zeitlin
abce4ee622 don't allow switches (i.e. options without value) to have values (closes 781373)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:04:27 +00:00
Robert Roebling
9e29cd0a28 [ 1581391 ] wxAnimationCtrl XRC handler
(most of)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:59:25 +00:00
Robert Roebling
8e458bb539 [ 1580776 ] wxAnimationCtrl::SetInactiveBitmap
Additionally call UnShare() in it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:51:38 +00:00
Vadim Zeitlin
1a5e269be8 (blind) fix for Tru64 compilation (bug 769360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:23:20 +00:00
Stefan Csomor
8acd14d177 untangling dc and gc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:37:42 +00:00
Robert Roebling
8f3f46357d Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:23:49 +00:00
Julian Smart
5c6e84b696 Added wxUSE_RICHTEXT guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 07:10:48 +00:00
Robin Dunn
cca20a649c Simplified EVT_PAINT handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:25:26 +00:00
Robin Dunn
2fa7c075da Don't raise NotImplementedError from GetMark, just silently return
(0,0) for now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:23:52 +00:00
Robin Dunn
8292b82b35 Some API updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:22:49 +00:00
Robin Dunn
6d44273eec Avoid assert on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:22:11 +00:00
Robin Dunn
70e8e9b8f2 wxMac apparently doesn't send EVT_SHOW, so just use wx.CallAfter instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:21:21 +00:00
Robin Dunn
84752aa52a Change Refresh to Reset to avoid conflict with base class Refresh
Don't use wx.ClientDC, just draw to the bitmap when needed, and then
use Refresh for painting.  This works better on Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:20:43 +00:00
Robin Dunn
6d6d86a684 Avoid nested DC assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:17:21 +00:00
Robin Dunn
7ed14752be more informative FAIL message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:16:41 +00:00
Robin Dunn
be01a40397 use consistent names (Graphic vs. Graphics)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:15:33 +00:00
Robin Dunn
54eb75b5fb Forward SetFont, SetBackgroundColour and SetForegroundCOlour to the
generic listctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:12:57 +00:00
Vadim Zeitlin
a2d6d21099 fix warnings (double to int conversions and unused variables); removed hard TABs and extra spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 23:59:55 +00:00
Stefan Csomor
513b47e9b7 screendc implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:50:48 +00:00
Stefan Csomor
bf2185eb8b new method needed for screendc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:46:07 +00:00
Stefan Csomor
8bf12709e9 setting a non valid font is permitted, implemented now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 19:29:30 +00:00
Stefan Csomor
04bad5edef fixing the screen dc, non 64 bit solution however
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 19:26:35 +00:00
Stefan Csomor
7471064e1d creating graphics context with the correct origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:25:54 +00:00
Stefan Csomor
80f0a1be13 offsetting dcs correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:24:09 +00:00
Stefan Csomor
1e81241f3a moving the offsets into dcclient.cpp so that native event handlers can be called through
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:22:00 +00:00
Stefan Csomor
b28a9af9d5 offseting the graphics context correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 16:41:18 +00:00
Václav Slavík
68ab959c55 fixed computation of status bar fields width if the total width is not divisible by the number of fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 14:54:14 +00:00
Vadim Zeitlin
3febc967a9 put #if wxUSE_STATBOX around wxStaticBox usage (bug 1568939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 14:33:49 +00:00
Stefan Csomor
0b1cc7bffb mac methodname fixed, so all use the same now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:14:31 +00:00
Stefan Csomor
4a4ab1b6a8 adding same methodname as gtk and msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:12:23 +00:00
Julian Smart
f089713f9e Added the ability to use built-in bullet styles, currently standard/circle or standard/square.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:04:12 +00:00
Stefan Csomor
13bc5380f2 fixing classname
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 12:58:30 +00:00
Stefan Csomor
6c3bbd61e7 dummy implementations for new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 12:43:38 +00:00
Stefan Csomor
539e27950f dummy implementations for new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:59:10 +00:00
Stefan Csomor
1056ddcf24 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:56:32 +00:00
Stefan Csomor
f7862d3e49 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:46:28 +00:00
Stefan Csomor
4130e41449 new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:35:43 +00:00
Vadim Zeitlin
73a0b98c1b define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:32:30 +00:00
Stefan Csomor
977d15a6ae new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:07:00 +00:00
Stefan Csomor
8168167976 avoiding nesting dcs on the same window concurrently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:01:50 +00:00
Stefan Csomor
f2ee37d5ae extending implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:58:22 +00:00
Stefan Csomor
cd7d36c065 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:56:36 +00:00
Stefan Csomor
6ff41b1697 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:27:41 +00:00
Stefan Csomor
24a7b71889 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:34:11 +00:00
Vadim Zeitlin
90c0f63a83 define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:16:41 +00:00
Włodzimierz Skiba
e8f5bc9b5c Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:43:39 +00:00
Włodzimierz Skiba
80a779275a Updated list of subprojects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:20:32 +00:00
Chris Elliott
f762140de8 missing backticks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:15:25 +00:00
Włodzimierz Skiba
2c92065fad Updated list of subprojects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:01:06 +00:00
Włodzimierz Skiba
41a852156f Whitespaces and headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 07:48:31 +00:00
Stefan Csomor
774f4d1221 start using wxGraphicsContext for OS X instead of old core graphics implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 06:27:58 +00:00
Stefan Csomor
7113b61aaf cleaning up the runloop source properly (was causing crashes in embedded situations, as the runloop source persisted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 06:04:12 +00:00
Paul Cornett
91641d0443 Remove unnecessary size members from GtkPizzaChild.
Move some declarations out of header.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 05:47:15 +00:00
Paul Cornett
9c08a8165c buid fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 05:07:33 +00:00
Robin Dunn
17d87392c6 wxPython 2.7.1.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:25:59 +00:00
Robin Dunn
81bfc17cc6 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:24:08 +00:00
Robin Dunn
f1b4640404 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:22:35 +00:00
Robin Dunn
7aa69ab26b fixes for non-Mac platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:11:49 +00:00
Robin Dunn
039550b00e Add the version number to the name displayed on the top-right of the page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:40:33 +00:00
Robin Dunn
0967b57b85 overwrite old wx DLLs even if the version numbers match
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:39:34 +00:00
Robin Dunn
b93f7ba634 ensure that the MasedEditMixin's version of IsEmpty is the one used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:38:55 +00:00
Robin Dunn
5555861c29 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:38:17 +00:00
Julian Smart
8987e7d6e8 Added missing WXDLLIMPEXP_RICHTEXT symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 19:55:49 +00:00
Julian Smart
d33700db0c Spin control usage correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 16:22:54 +00:00
Vadim Zeitlin
92d6f088c6 added samples/internat/ar/* files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 16:15:42 +00:00
Vadim Zeitlin
f3e86476fd update from Hakki Dogusan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 16:07:27 +00:00
Julian Smart
bcedac4469 Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:56:40 +00:00
Vadim Zeitlin
27d8e1b34c removed non-existing richedit.dmc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:55:47 +00:00
Vadim Zeitlin
9fd47c4847 added include/wx/gtk/private/string.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:28:09 +00:00
Vadim Zeitlin
29131e8a54 fixed X11 Unicode build compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:25:59 +00:00
Vadim Zeitlin
479c790cb7 must use PKG_PROG_PKG_CONFIG before PKG_CHECK_MODULES; fixes configure for Unicode wxX11 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:12:46 +00:00
Stefan Csomor
8946d7fd68 using graphics context for core graphics switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:04:32 +00:00
Vadim Zeitlin
b1f3b29c42 split the incompatible changes section in silent changes and the others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:02:39 +00:00
Vadim Zeitlin
b098b62129 extracted wxGtkString in a separate file, it's also needed by wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:42:01 +00:00
Vadim Zeitlin
b886fae648 Main change is that we now close X11 display on program exit: as this couldn't
be done in wxApp dtor (too early), a special module had to be created for it
and module dependencies added for the other modules which have to be cleaned
up while the display is still open.

Also a few minor formatting changes and removed a couple of unused variables
from wxApp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:39:53 +00:00
Julian Smart
36751d973e Added style organiser dialog and list style editor page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:09:05 +00:00
Julian Smart
e472363403 Separated out list formatting into new menu.
Added use of style organiser dialog.
Demonstrated style organiser being used as Bullets & Numbers
dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:05:36 +00:00
Julian Smart
dadd4f5523 Added a list style editor page to the formatting dialog.
Added a style organiser dialog, which can be used to browse
for and apply styles and can be limited to show one of
the three style types, or all three.
Added a font name cache since it's an expensive operation
that's used frequently by the rich text dialogs.
Added ability to switch off tooltips for new dialogs
(off by default). Improved the previews. Pressing tab or shift-tab
at the start of a list item now demotes or promotes the item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:04:13 +00:00
Vadim Zeitlin
0c7e0a8771 added newline at end of file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 13:09:48 +00:00
Robert Roebling
d65fd4e93f Made wxStreamBase::IsOk() virtual;
Overrride in file streams to test foe base class and
    for correctly opened files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:30:59 +00:00
Vadim Zeitlin
522d32e508 fixed the problem in 2 last commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:12:40 +00:00
Robert Roebling
03b5e90b0e Fix mem leak.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:08:29 +00:00
Włodzimierz Skiba
dc5a84857d Rescale images automatically with informations about internal requirements (Jaakko Salli).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:06:00 +00:00
Vadim Zeitlin
e44d5a5892 fix memory leak in wxGetTempFileName(const wxString&, wxString&) overload; also define wxGetTempFileName(const wxString&, wxChar *) overload in terms of the other one and not vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 11:58:48 +00:00
Mart Raudsepp
2649725398 Include defs.h before including wxchar.h to make init.h self-contained (able to include this header in
applications as the only one).
Before with only include wxchar.h it was missing ATTRIBUTE_PRINTF and other things due to wxchar.h not including
defs.h because of defs.h including wxchar.h itself.
We probably don't need to include wxchar.h anymore in init.h then, but I don't want to rely on wxchar.h being
always included from defs.h (if we can rely on that, please change if appropriate)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 07:43:24 +00:00
Paul Cornett
45388803ec fix memory leak in Freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 02:53:54 +00:00
Kevin Ollivier
448f8f12b9 Several wxWebKitCtrl enhancements/fixes. Including:
- new methods for increasing/decreasing text size, getting selection, getting/setting scroll position, printing, enabling editing, and running JavaScripts on the page.

- added new event (wxWebKitBeforeLoadEvent) for catching, and possibly vetoing, load events before they occur.

- wxWebKitCtrl now fires mouse events for certain events that it was eating before. This improves wxSplitterWindow resizing behavior.

- refactoring of the sizing logic to move the Cocoa view. I've tested this with splitter windows, panels, notebooks and all position correctly with this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:40:23 +00:00
Kevin Ollivier
bdf895fdd9 Allow other classes to access the SetupMouseEvent function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:22:11 +00:00
Robin Dunn
24f6c4e865 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:51:19 +00:00
Robin Dunn
72156afeb5 some changes to make epydoc happy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:50:01 +00:00
Robin Dunn
26e4b9d063 docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:49:22 +00:00
Robin Dunn
974a50f1bb regen ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:46:44 +00:00
Robin Dunn
7b61ea68e2 remove "pre"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:45:42 +00:00
Robin Dunn
77f62aa7b6 Patch #1579801: wxBufferedDC shared buffer bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:36:36 +00:00
Robin Dunn
6231770f89 Patch from Andrea: fixes no page chang* events with mouse right click,
plus a couple of other minor issues


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:09:18 +00:00
Robert Roebling
88bbc3329b Test for KDE and GNOME using session manager vendor.
Use it in mime types initialization.
   Add wxUSE_DETECT_SM


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 21:55:54 +00:00
Robert Roebling
0fb2e8796d Support wxFULLSCREEN_NOSTATUSBAR
Correct Get/SetClientSize() accordingly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 19:17:10 +00:00
Robert Roebling
3a8b3bd159 Support wxFULLSCREEN_NOMENUBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 19:02:29 +00:00
Robert Roebling
40131743c6 Ref counting overview.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:24:55 +00:00
Robert Roebling
a91225b27b [ 1578529 ] better docs for reference-counted objects
This already includes the change for wxBitmap, which
  is not COW yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:23:42 +00:00
Robert Roebling
15d4b8cdb5 [ 1579280 ] small src/unix/mimetype.cpp optimizations
I'm not sure if this actually changes the assembly in
a smart compiler, but who knows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:19:22 +00:00
Robert Roebling
dcc36b34be [ 1579793 ] numerous bug fixes when mask is used
Corrects PNG handling and wxImage::Paste()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 17:06:11 +00:00
Robin Dunn
17b5a3eccb If an empty string is passed, remove the tooltip instead of setting it
to "".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:54:48 +00:00
Robin Dunn
122c2bae32 don't clear the tooltip unless there is one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:41:50 +00:00
Paul Cornett
5f8047a69b use generic wxAnimationCtrl in wxGTK-universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:32:52 +00:00
Kevin Hock
e225fe17a8 Do not send a changed event if a button is clicked for down/up when the control is already at min/max and wrap is not specified. Fixes both wxSpinButton and wxSpinCtrl. Bug #1578523.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 00:06:55 +00:00
Robin Dunn
61b3549028 More updates from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 22:41:17 +00:00
Robin Dunn
7753ca6bed reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 20:49:16 +00:00
Robin Dunn
d4ca60e8a6 Need to subtract the m_miniTitle to get client size, not add it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:51:16 +00:00
Robin Dunn
fd39f7a893 Add impl for IsFrozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:50:03 +00:00
Robin Dunn
ba53bf083e GetSpacer returns a copy, not a reference to the size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:59 +00:00
Robin Dunn
37840b8bc1 updates from Andrea, plus some fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:16 +00:00
Julian Smart
f6fc052ae5 SetSelection(wxNOT_FOUND) now works correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 18:21:05 +00:00
Julian Smart
f17e0ebd63 Fixed assert when moving out of a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:18:57 +00:00
Julian Smart
daad5a23b7 Support wxDF_UNICODETEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:16:53 +00:00
Julian Smart
ffd73a2c76 Draw tool transparently if we have a mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 16:57:03 +00:00
Włodzimierz Skiba
1b88201ff5 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Julian Smart
082cfe55b9 Added various list commands to demonstrate new list features.
Now uses wxRichTextStyleListCtrl giving a choice of style types to display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:12:03 +00:00
Julian Smart
38f833b10c Added list style to text attributes, independent from paragraph style
Added list style definition
Added SetListStyle, ClearListStyle, NumberList, PromoteList to
buffer and control classes
Changed style listbox so double-click applies style instead of
single click. This allows for multiple items to be applicable,
and also in future to edit styles from this listbox without
accidentally applying the style to content.
Added wxRichTextStyleListCtrl which also shows a wxChoice for
selecting the type of style to display.
Style sheets can form a chain to allow inheritance from current
style sheet (not yet supported by style list controls).
Added PushStyleSheet/PopStyleSheet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:09:14 +00:00
Stefan Csomor
daca43d847 fixing coordinate conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 09:27:46 +00:00
Paul Cornett
edba2de33e remove assert from PurgeOtherRepresentations,we'll have to trust that callers know what they're doing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 05:50:10 +00:00
Paul Cornett
fd7a7443bc use common AllocExclusive, rather than custom code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 04:20:47 +00:00
Paul Cornett
e3e89a9370 implement {Create,Clone}RefData for gtk wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:19:20 +00:00
Paul Cornett
93c5f7558e add public wxObject::UnShare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:18:28 +00:00
Robin Dunn
c78a1b7649 Patch #1576397, fix to properly render months that start on a Sunday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 00:15:33 +00:00
Robin Dunn
2c7816ffd1 Show the AlphaDrawing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:55:41 +00:00
Robin Dunn
9b9401385f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:53:14 +00:00
Robin Dunn
a0fd79ba38 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:52:41 +00:00
Robert Roebling
0a82ca5b33 Correct wxComboBox height in wxToolbar for old
GtkCombo-based implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:44:22 +00:00
Robin Dunn
52e22a61ce Compile fix: forward decalare wxFloatingPane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:56:58 +00:00
Robert Roebling
1ed6bbc207 Fix wxMiniFrame caption height.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:55:59 +00:00
Robert Roebling
bc429ce01f [ 1578466 ] Support for custom floating panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:36:11 +00:00
Robert Roebling
fa96a36ecf [ 1578468 ] full support for "destroy on close" flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:27:37 +00:00
Robin Dunn
73703a8063 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:26:02 +00:00
Robin Dunn
5f2502393e use the right number in the tarball filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:25:14 +00:00
Robin Dunn
a49b2d272a put the gdiplus.dll with the wx DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:24:24 +00:00
Robin Dunn
41c4b3ef21 use wx.GCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:22:33 +00:00
Robin Dunn
e2e0b76a95 Destroy the FileDialog when finished with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 19:50:21 +00:00
Robin Dunn
f9c1b462c7 Add a utility function that can calculate word-wrap line breaks, and
use it in the AboutBox demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 19:49:43 +00:00
Robin Dunn
d1cf7e2aa4 Don't make a property out of GetEnableEffects, it hides the
EnableEffects method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:27:03 +00:00
Robin Dunn
cd46ad2be4 Call wxRichTextModuleInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:25:43 +00:00
Robert Roebling
4a10e43b27 Made wxWindow::Update() a little clearer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:16:49 +00:00
Robin Dunn
c18fa7a4b6 Merge new item attributes if any are already existing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:13:55 +00:00
Robin Dunn
f1d6804f7c Add wxRichTextModuleInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:12:17 +00:00
Włodzimierz Skiba
e8a8d0dc2d [#1577388] - fix for scaling in wxImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 13:26:08 +00:00
Włodzimierz Skiba
59185e297d Added test for scaling and bluring wxImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 13:22:13 +00:00
Włodzimierz Skiba
8d0ca2928b Allow building without calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 12:37:29 +00:00
Włodzimierz Skiba
1c4e8f384d CVS tags cleaning (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:30:01 +00:00
Włodzimierz Skiba
008a265578 Fix for assert in 'dynarray.cpp' by Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:04:21 +00:00
Robert Roebling
d218e518d8 Readd gtk_widget_set_size_request() to prevent
-1,-1 from being allocated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 20:21:23 +00:00
Robert Roebling
ecf3b4a57f Implement mnemnic support for wxToggleButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 20:12:41 +00:00
Paul Cornett
e47c778924 remove gtk_pizza_expose, its purpose is easily accomplished from existing expose-event handler in window.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:59:31 +00:00
Robert Roebling
e60022505d I don't think anylonger that DrawHeaderButton() should
be used for drawing grid row/col buttons. Also, the
   GTK2 port should not waste space per line of wxMSW
   doesn' waste it neither.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:44:39 +00:00
Robert Roebling
34445cc76d Left unused variable around.
Adjust window placement in the correct direction
    in RTL. This corrects in-place editing in wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:18:48 +00:00
Robert Roebling
55dc8e189d Use widget->allocation instead of querying the
window size with a gdk_  call.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:13:18 +00:00
Robert Roebling
1e89eecdc2 Do not remove GDK events for native GTK+ controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:11:19 +00:00
Robert Roebling
9c862cfb93 [ 1577675 ] Fix for GTK warnings in wxNotebook::DoRemovePage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:44:33 +00:00
Paul Cornett
9fd707a51f non-pch build fix, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:05:25 +00:00
Paul Cornett
ad0023978e non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:04:23 +00:00
Paul Cornett
fc964c0d23 probable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:03:36 +00:00
Mattia Barbon
9fd8f2dd3d Fix setting the clipping region for a DC when the region is an
actual wxRegion.
  Fix some positioning/sizing bugs, mosting affecting controls
inside scrolled windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:51:35 +00:00
Mattia Barbon
653752be8a Added wxRTTI macros to buffered DCs.
Fix a signed/unsigned warning.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:45:13 +00:00
Robert Roebling
8db7faf281 Correct window placement only once.
This fixes edit label control placement in wxListCtrl in RTL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:03:17 +00:00
Stefan Csomor
fe63cfad2b adding missing typedefs for 10.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:57:03 +00:00
Stefan Csomor
cdac585c3b availability does not include any other headers, but it provides the necessary macros everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:46:49 +00:00
Paul Cornett
87d658e5d7 wrong caption for html window, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:59 +00:00
Paul Cornett
af05af4d87 store GtkPizza border width in GtkContainer.border_width, eliminate GtkPizza.shadow_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:36 +00:00
Paul Cornett
02ae785a8a put back obviously-not-redundant resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 05:42:13 +00:00
Paul Cornett
23c085422e remove redundant resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 05:36:45 +00:00
Paul Cornett
d41e1ab481 replace use of deprecated GtkPixmap, gtk_container_border_width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 04:36:31 +00:00
Paul Cornett
83b96a06ca logical vs. boolean operators, unused decls and vars, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 03:43:11 +00:00
Paul Cornett
b0ae510a86 deprecation fixes, plus some code size reduction and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 01:10:01 +00:00
Paul Cornett
e338053c00 replace use of deprecated GtkPixmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 19:01:34 +00:00
Robin Dunn
64b75e644a Ensure Cairo is installed before setting wxUSE_GRAPHICS_CONTEXT for
wxGTK builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:07:42 +00:00
Robin Dunn
37c9624ecf Don't build animate by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:04:47 +00:00
Robin Dunn
62f51f1f90 Update to InnoSetup 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:03:55 +00:00
Robin Dunn
3a5608d3cf Don't build the animate contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 18:02:49 +00:00
Paul Cornett
8c4e2405ca remove obsolete checks, minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 17:39:38 +00:00
Stefan Csomor
4f74e0d132 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:55:55 +00:00
Paul Cornett
50679f941e correct access for virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:50:04 +00:00
Paul Cornett
eba91e51e8 replace use of deprecated GtkPixmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:49:14 +00:00
Stefan Csomor
7cd7bc23d5 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:18:09 +00:00
Stefan Csomor
4913272f9c cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:02:39 +00:00
Stefan Csomor
f387b80e0e cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:48:32 +00:00
Stefan Csomor
e6c3d3e655 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:30:02 +00:00
Stefan Csomor
fb743cab53 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:15:00 +00:00
Stefan Csomor
eb89f88a43 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:55:46 +00:00
Stefan Csomor
8c9fd6e54e cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:46:31 +00:00
Robert Roebling
fc2d420900 Make status bar grip move to the left in RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:36:18 +00:00
Robert Roebling
80fdb7b34d Remove tree control lines unconditionally under
GTK2 (similar to what wxMac does) as it simply
    looks wrong (as we are using GTK+ tree buttons).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 13:24:26 +00:00
Robert Roebling
39b5648ed2 Forgot border when reversing coordinates for RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 13:22:37 +00:00
Robert Roebling
47892637d3 Left in debug printf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:10:14 +00:00
Robert Roebling
db71eb0640 Better place for coordinate mirroring and removal
of stupid hack.
  This makes the positioning correct in the end but
    leaves window hopping when resizing unsolved
    in RTL mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:06:50 +00:00
Paul Cornett
bfeeb7f3a2 remove unused XIM code, minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 04:03:24 +00:00
Robin Dunn
8e99bda941 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:57:27 +00:00
Robin Dunn
d9c8cf74dd text tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:56:45 +00:00
Robin Dunn
b8dc98c8f5 This works ok on Mac now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:55:29 +00:00
Robin Dunn
b7dd8ad1b4 comment out prints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:32:15 +00:00
Robin Dunn
5b20646ea8 Add USE_GDIPLUS=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:20:49 +00:00
Robin Dunn
96285a18aa wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.

Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:19:36 +00:00
Robin Dunn
19c9f36f13 Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:14:21 +00:00
Robin Dunn
99ceaa26e4 some fixes in the compatibility class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:06:50 +00:00
Robin Dunn
6850c57605 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:01:02 +00:00
Robin Dunn
432efcb004 wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:48:36 +00:00
Robin Dunn
51ad652fa2 Fix for wxToolbook, allow oldSel == wxNOT_FOUND when changing to a
new selection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:33:54 +00:00
Julian Smart
cfa3b25626 Fixed tab selection bug
Slight improvement to kerning-related jumpy text when selecting
Default tab efficiency improvement and naming conventions cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 14:30:40 +00:00
Włodzimierz Skiba
9654efd332 Fix for assert in setting image from file by Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 14:15:06 +00:00
Stefan Csomor
820716c69f removing double definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 11:59:04 +00:00
Stefan Csomor
c819dcf7d3 setting according to a minimum system of 10.3 and supporting 64 bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 11:58:02 +00:00
Robert Roebling
eda276b092 Remove method GetWindow() returning a GdkWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 09:16:22 +00:00
Robert Roebling
8913c40c32 Applied part of [ 1575767 ] Init/size/check fixes for sockets
Left out the time out parameter change.
Left out the improper test for arbitrary too large value upon
read failure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 09:00:06 +00:00
Robert Roebling
ddd5387387 Prevent bogus event which GTK 2.4 sends after
typing text in the text area begins and the
    text there has no match in the list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 08:39:27 +00:00
Robin Dunn
a525c564dc update build and install docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 00:16:37 +00:00
Robin Dunn
8170f2ee3e can put back the wx.BufferedPaintDC now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 00:15:57 +00:00
Robin Dunn
331139716c updates from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 23:24:40 +00:00
Vadim Zeitlin
c66068835e inserted missing back quotes around echo lost by previous change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 19:57:23 +00:00
Chris Elliott
6ff2b4376b post 2.7.1 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 19:47:12 +00:00
Vadim Zeitlin
19fea3417d mention that wxBufferedDC doesn't inherit from wxMemoryDC any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 12:34:58 +00:00
455 changed files with 32483 additions and 10141 deletions

View File

@@ -1262,6 +1262,7 @@ XRCDLL_CXXFLAGS = $(__xrcdll_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
-DWXMAKINGDLL_XRC $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
XRCDLL_OBJECTS = \
$(__xrcdll___win32rc) \
xrcdll_xh_animatctrl.o \
xrcdll_xh_bmp.o \
xrcdll_xh_bmpcbox.o \
xrcdll_xh_bmpbt.o \
@@ -1320,6 +1321,7 @@ XRCLIB_CXXFLAGS = $(__xrclib_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
$(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) \
$(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) $(CPPFLAGS) $(CXXFLAGS)
XRCLIB_OBJECTS = \
xrclib_xh_animatctrl.o \
xrclib_xh_bmp.o \
xrclib_xh_bmpcbox.o \
xrclib_xh_bmpbt.o \
@@ -1410,7 +1412,8 @@ RICHTEXTDLL_OBJECTS = \
richtextdll_richtextxml.o \
richtextdll_richtexthtml.o \
richtextdll_richtextformatdlg.o \
richtextdll_richtextsymboldlg.o
richtextdll_richtextsymboldlg.o \
richtextdll_richtextstyledlg.o
RICHTEXTDLL_ODEP = $(___pch_wxprec_richtextdll_wx_wxprec_h_gch___depname)
RICHTEXTLIB_CXXFLAGS = $(__richtextlib_PCH_INC) -D__WX$(TOOLKIT)__ \
$(__WXUNIV_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
@@ -1424,7 +1427,8 @@ RICHTEXTLIB_OBJECTS = \
richtextlib_richtextxml.o \
richtextlib_richtexthtml.o \
richtextlib_richtextformatdlg.o \
richtextlib_richtextsymboldlg.o
richtextlib_richtextsymboldlg.o \
richtextlib_richtextstyledlg.o
RICHTEXTLIB_ODEP = $(___pch_wxprec_richtextlib_wx_wxprec_h_gch___depname)
GLDLL_CXXFLAGS = $(__gldll_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
@@ -2589,6 +2593,7 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_ADVANCED_PLATFORM_HDR = \
wx/unix/joystick.h \
wx/unix/sound.h \
wx/unix/taskbarx11.h \
wx/generic/animate.h \
wx/gtk/animate.h
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@ADVANCED_PLATFORM_HDR = $(COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_ADVANCED_PLATFORM_HDR)
COND_TOOLKIT_MAC_ADVANCED_PLATFORM_HDR = \
@@ -2775,6 +2780,7 @@ COND_USE_GUI_1_ALL_GUI_HEADERS = \
wx/cursor.h \
wx/dc.h \
wx/dcclient.h \
wx/dcgraph.h \
wx/dcmemory.h \
wx/dcprint.h \
wx/dcscreen.h \
@@ -2972,6 +2978,7 @@ COND_USE_GUI_1_ALL_GUI_HEADERS = \
wx/debugrpt.h \
wx/dbgrid.h \
wx/xrc/xh_all.h \
wx/xrc/xh_animatctrl.h \
wx/xrc/xh_bmpbt.h \
wx/xrc/xh_bmp.h \
wx/xrc/xh_bmpcbox.h \
@@ -3034,7 +3041,8 @@ COND_USE_GUI_1_ALL_GUI_HEADERS = \
wx/richtext/richtextstyles.h \
wx/richtext/richtextxml.h \
wx/richtext/richtextformatdlg.h \
wx/richtext/richtextsymboldlg.h
wx/richtext/richtextsymboldlg.h \
wx/richtext/richtextstyledlg.h
@COND_USE_GUI_1@ALL_GUI_HEADERS = $(COND_USE_GUI_1_ALL_GUI_HEADERS)
COND_MONOLITHIC_1_SHARED_1___monodll___depname = \
$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3)
@@ -3273,6 +3281,7 @@ COND_USE_GUI_1___MONOLIB_GUI_SRC_OBJECTS = \
monodll_debugrpt.o \
monodll_dbgrptg.o \
monodll_dbgrid.o \
monodll_xh_animatctrl.o \
monodll_xh_bmp.o \
monodll_xh_bmpcbox.o \
monodll_xh_bmpbt.o \
@@ -3336,7 +3345,8 @@ COND_USE_GUI_1___MONOLIB_GUI_SRC_OBJECTS = \
monodll_richtextxml.o \
monodll_richtexthtml.o \
monodll_richtextformatdlg.o \
monodll_richtextsymboldlg.o
monodll_richtextsymboldlg.o \
monodll_richtextstyledlg.o
@COND_USE_GUI_1@__MONOLIB_GUI_SRC_OBJECTS = $(COND_USE_GUI_1___MONOLIB_GUI_SRC_OBJECTS)
COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS = \
$(__LOWLEVEL_SRC_OBJECTS) \
@@ -5012,6 +5022,7 @@ COND_USE_GUI_1___MONOLIB_GUI_SRC_OBJECTS_1 = \
monolib_debugrpt.o \
monolib_dbgrptg.o \
monolib_dbgrid.o \
monolib_xh_animatctrl.o \
monolib_xh_bmp.o \
monolib_xh_bmpcbox.o \
monolib_xh_bmpbt.o \
@@ -5075,7 +5086,8 @@ COND_USE_GUI_1___MONOLIB_GUI_SRC_OBJECTS_1 = \
monolib_richtextxml.o \
monolib_richtexthtml.o \
monolib_richtextformatdlg.o \
monolib_richtextsymboldlg.o
monolib_richtextsymboldlg.o \
monolib_richtextstyledlg.o
@COND_USE_GUI_1@__MONOLIB_GUI_SRC_OBJECTS_1 = $(COND_USE_GUI_1___MONOLIB_GUI_SRC_OBJECTS_1)
COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS_1 = \
$(__LOWLEVEL_SRC_OBJECTS_2) \
@@ -10678,6 +10690,7 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___ADVANCED_PLATFORM_SRC_OBJECTS = \
monodll_joystick.o \
monodll_sound.o \
monodll_taskbarx11.o \
monodll_animateg.o \
monodll_aboutdlg.o \
monodll_animate.o \
monodll_taskbar.o \
@@ -10747,6 +10760,7 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___ADVANCED_PLATFORM_SRC_OBJECTS_0 = \
monolib_joystick.o \
monolib_sound.o \
monolib_taskbarx11.o \
monolib_animateg.o \
monolib_aboutdlg.o \
monolib_animate.o \
monolib_taskbar.o \
@@ -10819,6 +10833,7 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___ADVANCED_PLATFORM_SRC_OBJECTS_8 = \
advdll_joystick.o \
advdll_sound.o \
advdll_taskbarx11.o \
advdll_animateg.o \
advdll_aboutdlg.o \
advdll_animate.o \
advdll_taskbar.o \
@@ -10885,6 +10900,7 @@ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2___ADVANCED_PLATFORM_SRC_OBJECTS_9 = \
advlib_joystick.o \
advlib_sound.o \
advlib_taskbarx11.o \
advlib_animateg.o \
advlib_aboutdlg.o \
advlib_animate.o \
advlib_taskbar.o \
@@ -12597,6 +12613,9 @@ monodll_dbgrptg.o: $(srcdir)/src/generic/dbgrptg.cpp $(MONODLL_ODEP)
monodll_dbgrid.o: $(srcdir)/src/common/dbgrid.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/common/dbgrid.cpp
monodll_xh_animatctrl.o: $(srcdir)/src/xrc/xh_animatctrl.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_animatctrl.cpp
monodll_xh_bmp.o: $(srcdir)/src/xrc/xh_bmp.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xrc/xh_bmp.cpp
@@ -12789,6 +12808,9 @@ monodll_richtextformatdlg.o: $(srcdir)/src/richtext/richtextformatdlg.cpp $(MONO
monodll_richtextsymboldlg.o: $(srcdir)/src/richtext/richtextsymboldlg.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/richtext/richtextsymboldlg.cpp
monodll_richtextstyledlg.o: $(srcdir)/src/richtext/richtextstyledlg.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/richtext/richtextstyledlg.cpp
monodll_xml.o: $(srcdir)/src/xml/xml.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/xml/xml.cpp
@@ -15915,6 +15937,9 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@monodll_animateg.o: $(srcdir)/src/generic/animateg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@monodll_animateg.o: $(srcdir)/src/generic/animateg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@monodll_animateg.o: $(srcdir)/src/generic/animateg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@@ -16635,6 +16660,9 @@ monolib_dbgrptg.o: $(srcdir)/src/generic/dbgrptg.cpp $(MONOLIB_ODEP)
monolib_dbgrid.o: $(srcdir)/src/common/dbgrid.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/common/dbgrid.cpp
monolib_xh_animatctrl.o: $(srcdir)/src/xrc/xh_animatctrl.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_animatctrl.cpp
monolib_xh_bmp.o: $(srcdir)/src/xrc/xh_bmp.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_bmp.cpp
@@ -16827,6 +16855,9 @@ monolib_richtextformatdlg.o: $(srcdir)/src/richtext/richtextformatdlg.cpp $(MONO
monolib_richtextsymboldlg.o: $(srcdir)/src/richtext/richtextsymboldlg.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/richtext/richtextsymboldlg.cpp
monolib_richtextstyledlg.o: $(srcdir)/src/richtext/richtextstyledlg.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/richtext/richtextstyledlg.cpp
monolib_xml.o: $(srcdir)/src/xml/xml.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/xml/xml.cpp
@@ -19953,6 +19984,9 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@monolib_animateg.o: $(srcdir)/src/generic/animateg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MOTIF_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@monolib_animateg.o: $(srcdir)/src/generic/animateg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@monolib_animateg.o: $(srcdir)/src/generic/animateg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@@ -27246,6 +27280,9 @@ advdll_wizard.o: $(srcdir)/src/generic/wizard.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_MOTIF@advdll_animateg.o: $(srcdir)/src/generic/animateg.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_MOTIF@ $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@advdll_animateg.o: $(srcdir)/src/generic/animateg.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@ $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@advdll_animateg.o: $(srcdir)/src/generic/animateg.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@ $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@@ -27465,6 +27502,9 @@ advlib_wizard.o: $(srcdir)/src/generic/wizard.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_MOTIF@advlib_animateg.o: $(srcdir)/src/generic/animateg.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_MOTIF@ $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@advlib_animateg.o: $(srcdir)/src/generic/animateg.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@ $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@advlib_animateg.o: $(srcdir)/src/generic/animateg.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@ $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/generic/animateg.cpp
@@ -27900,6 +27940,9 @@ xmllib_xtixml.o: $(srcdir)/src/common/xtixml.cpp $(XMLLIB_ODEP)
xrcdll_version_rc.o: $(srcdir)/src/msw/version.rc $(XRCDLL_ODEP)
$(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_58) $(__EXCEPTIONS_DEFINE_p_57) $(__RTTI_DEFINE_p_57) $(__THREAD_DEFINE_p_57) --define WXDLLNAME=$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG) $(__RCDEFDIR_p) --include-dir $(top_srcdir)/include
xrcdll_xh_animatctrl.o: $(srcdir)/src/xrc/xh_animatctrl.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_animatctrl.cpp
xrcdll_xh_bmp.o: $(srcdir)/src/xrc/xh_bmp.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xh_bmp.cpp
@@ -28056,6 +28099,9 @@ xrcdll_xmlres.o: $(srcdir)/src/xrc/xmlres.cpp $(XRCDLL_ODEP)
xrcdll_xmlrsall.o: $(srcdir)/src/xrc/xmlrsall.cpp $(XRCDLL_ODEP)
$(CXXC) -c -o $@ $(XRCDLL_CXXFLAGS) $(srcdir)/src/xrc/xmlrsall.cpp
xrclib_xh_animatctrl.o: $(srcdir)/src/xrc/xh_animatctrl.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_animatctrl.cpp
xrclib_xh_bmp.o: $(srcdir)/src/xrc/xh_bmp.cpp $(XRCLIB_ODEP)
$(CXXC) -c -o $@ $(XRCLIB_CXXFLAGS) $(srcdir)/src/xrc/xh_bmp.cpp
@@ -28269,6 +28315,9 @@ richtextdll_richtextformatdlg.o: $(srcdir)/src/richtext/richtextformatdlg.cpp $(
richtextdll_richtextsymboldlg.o: $(srcdir)/src/richtext/richtextsymboldlg.cpp $(RICHTEXTDLL_ODEP)
$(CXXC) -c -o $@ $(RICHTEXTDLL_CXXFLAGS) $(srcdir)/src/richtext/richtextsymboldlg.cpp
richtextdll_richtextstyledlg.o: $(srcdir)/src/richtext/richtextstyledlg.cpp $(RICHTEXTDLL_ODEP)
$(CXXC) -c -o $@ $(RICHTEXTDLL_CXXFLAGS) $(srcdir)/src/richtext/richtextstyledlg.cpp
richtextlib_richtextctrl.o: $(srcdir)/src/richtext/richtextctrl.cpp $(RICHTEXTLIB_ODEP)
$(CXXC) -c -o $@ $(RICHTEXTLIB_CXXFLAGS) $(srcdir)/src/richtext/richtextctrl.cpp
@@ -28290,6 +28339,9 @@ richtextlib_richtextformatdlg.o: $(srcdir)/src/richtext/richtextformatdlg.cpp $(
richtextlib_richtextsymboldlg.o: $(srcdir)/src/richtext/richtextsymboldlg.cpp $(RICHTEXTLIB_ODEP)
$(CXXC) -c -o $@ $(RICHTEXTLIB_CXXFLAGS) $(srcdir)/src/richtext/richtextsymboldlg.cpp
richtextlib_richtextstyledlg.o: $(srcdir)/src/richtext/richtextstyledlg.cpp $(RICHTEXTLIB_ODEP)
$(CXXC) -c -o $@ $(RICHTEXTLIB_CXXFLAGS) $(srcdir)/src/richtext/richtextstyledlg.cpp
gldll_version_rc.o: $(srcdir)/src/msw/version.rc $(GLDLL_ODEP)
$(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_58) $(__EXCEPTIONS_DEFINE_p_57) $(__RTTI_DEFINE_p_57) $(__THREAD_DEFINE_p_57) --define WXDLLNAME=$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG) $(__RCDEFDIR_p) --include-dir $(top_srcdir)/include
@@ -28890,6 +28942,9 @@ SAMPLES_DIST: ALL_GUI_DIST
done
# copy the rest, not covered by the above loop
$(CP_P) $(SAMPDIR)/animate/hourglass.ani $(DISTDIR)/samples/hourglass.ani
$(CP_P) $(SAMPDIR)/animate/throbber.gif $(DISTDIR)/samples/animate
$(CP_P) $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
$(CP_P) $(SAMPDIR)/dialogs/tips.txt $(DISTDIR)/samples/dialogs

View File

@@ -682,6 +682,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/cursor.h
wx/dc.h
wx/dcclient.h
wx/dcgraph.h
wx/dcmemory.h
wx/dcprint.h
wx/dcscreen.h
@@ -2759,6 +2760,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
</set>
<set var="ADVANCED_GTK_SRC" hints="files">
src/generic/animateg.cpp
src/gtk/aboutdlg.cpp
src/gtk/animate.cpp
src/gtk/taskbar.cpp
@@ -2766,6 +2768,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/eggtrayicon.c
</set>
<set var="ADVANCED_GTK_HDR" hints="files">
wx/generic/animate.h
wx/gtk/animate.h
</set>
@@ -2918,6 +2921,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<!-- ====================================================================== -->
<set var="XRC_SRC" hints="files">
src/xrc/xh_animatctrl.cpp
src/xrc/xh_bmp.cpp
src/xrc/xh_bmpcbox.cpp
src/xrc/xh_bmpbt.cpp
@@ -2973,6 +2977,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
</set>
<set var="XRC_HDR" hints="files">
wx/xrc/xh_all.h
wx/xrc/xh_animatctrl.h
wx/xrc/xh_bmpbt.h
wx/xrc/xh_bmp.h
wx/xrc/xh_bmpcbox.h
@@ -3135,6 +3140,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/richtext/richtexthtml.cpp
src/richtext/richtextformatdlg.cpp
src/richtext/richtextsymboldlg.cpp
src/richtext/richtextstyledlg.cpp
</set>
<set var="RICHTEXT_HDR" hints="files">
wx/richtext/richtextctrl.h
@@ -3143,6 +3149,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/richtext/richtextxml.h
wx/richtext/richtextformatdlg.h
wx/richtext/richtextsymboldlg.h
wx/richtext/richtextstyledlg.h
</set>
<!-- ====================================================================== -->

View File

@@ -910,6 +910,7 @@ XRCDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
-H=$(OBJS)\wxprec_xrcdll.csm $(CPPFLAGS) $(CXXFLAGS)
XRCDLL_OBJECTS = \
$(OBJS)\xrcdll_dummy.obj \
$(OBJS)\xrcdll_xh_animatctrl.obj \
$(OBJS)\xrcdll_xh_bmp.obj \
$(OBJS)\xrcdll_xh_bmpcbox.obj \
$(OBJS)\xrcdll_xh_bmpbt.obj \
@@ -972,6 +973,7 @@ XRCLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
$(CXXFLAGS)
XRCLIB_OBJECTS = \
$(OBJS)\xrclib_dummy.obj \
$(OBJS)\xrclib_xh_animatctrl.obj \
$(OBJS)\xrclib_xh_bmp.obj \
$(OBJS)\xrclib_xh_bmpcbox.obj \
$(OBJS)\xrclib_xh_bmpbt.obj \
@@ -1070,7 +1072,8 @@ RICHTEXTDLL_OBJECTS = \
$(OBJS)\richtextdll_richtextxml.obj \
$(OBJS)\richtextdll_richtexthtml.obj \
$(OBJS)\richtextdll_richtextformatdlg.obj \
$(OBJS)\richtextdll_richtextsymboldlg.obj
$(OBJS)\richtextdll_richtextsymboldlg.obj \
$(OBJS)\richtextdll_richtextstyledlg.obj
RICHTEXTLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
$(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
@@ -1087,7 +1090,8 @@ RICHTEXTLIB_OBJECTS = \
$(OBJS)\richtextlib_richtextxml.obj \
$(OBJS)\richtextlib_richtexthtml.obj \
$(OBJS)\richtextlib_richtextformatdlg.obj \
$(OBJS)\richtextlib_richtextsymboldlg.obj
$(OBJS)\richtextlib_richtextsymboldlg.obj \
$(OBJS)\richtextlib_richtextstyledlg.obj
GLDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
$(__OPTIMIZEFLAG) $(__THREADSFLAG) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
@@ -1203,6 +1207,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_debugrpt.obj \
$(OBJS)\monodll_dbgrptg.obj \
$(OBJS)\monodll_dbgrid.obj \
$(OBJS)\monodll_xh_animatctrl.obj \
$(OBJS)\monodll_xh_bmp.obj \
$(OBJS)\monodll_xh_bmpcbox.obj \
$(OBJS)\monodll_xh_bmpbt.obj \
@@ -1266,7 +1271,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_richtextxml.obj \
$(OBJS)\monodll_richtexthtml.obj \
$(OBJS)\monodll_richtextformatdlg.obj \
$(OBJS)\monodll_richtextsymboldlg.obj
$(OBJS)\monodll_richtextsymboldlg.obj \
$(OBJS)\monodll_richtextstyledlg.obj
!endif
!if "$(USE_GUI)" == "1" && "$(WXUNIV)" == "0"
____CORE_SRC_FILENAMES_OBJECTS = \
@@ -1801,6 +1807,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_debugrpt.obj \
$(OBJS)\monolib_dbgrptg.obj \
$(OBJS)\monolib_dbgrid.obj \
$(OBJS)\monolib_xh_animatctrl.obj \
$(OBJS)\monolib_xh_bmp.obj \
$(OBJS)\monolib_xh_bmpcbox.obj \
$(OBJS)\monolib_xh_bmpbt.obj \
@@ -1864,7 +1871,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_richtextxml.obj \
$(OBJS)\monolib_richtexthtml.obj \
$(OBJS)\monolib_richtextformatdlg.obj \
$(OBJS)\monolib_richtextsymboldlg.obj
$(OBJS)\monolib_richtextsymboldlg.obj \
$(OBJS)\monolib_richtextstyledlg.obj
!endif
!if "$(USE_GUI)" == "1" && "$(WXUNIV)" == "0"
____CORE_SRC_FILENAMES_1_OBJECTS = \
@@ -4951,6 +4959,9 @@ $(OBJS)\monodll_dbgrptg.obj: ..\..\src\generic\dbgrptg.cpp
$(OBJS)\monodll_dbgrid.obj: ..\..\src\common\dbgrid.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
@@ -5143,6 +5154,9 @@ $(OBJS)\monodll_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.cpp
$(OBJS)\monodll_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xml.obj: ..\..\src\xml\xml.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
@@ -6879,6 +6893,9 @@ $(OBJS)\monolib_dbgrptg.obj: ..\..\src\generic\dbgrptg.cpp
$(OBJS)\monolib_dbgrid.obj: ..\..\src\common\dbgrid.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
@@ -7071,6 +7088,9 @@ $(OBJS)\monolib_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.cpp
$(OBJS)\monolib_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xml.obj: ..\..\src\xml\xml.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
@@ -11786,6 +11806,9 @@ $(OBJS)\xrcdll_dummy.obj: ..\..\src\common\dummy.cpp
$(OBJS)\xrcdll_version.res: ..\..\src\msw\version.rc
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_58) $(__DEBUG_DEFINE_p_57) $(__EXCEPTIONS_DEFINE_p_57) $(__RTTI_DEFINE_p_57) $(__THREAD_DEFINE_p_57) $(__UNICODE_DEFINE_p_58) $(__MSLU_DEFINE_p_57) $(__GFXCTX_DEFINE_p_57) -i$(SETUPHDIR) -i..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc_bcc$(VENDORTAG) $**
$(OBJS)\xrcdll_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) -q -c -P -o$@ $(XRCDLL_CXXFLAGS) $**
@@ -11945,6 +11968,9 @@ $(OBJS)\xrcdll_xmlrsall.obj: ..\..\src\xrc\xmlrsall.cpp
$(OBJS)\xrclib_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) -H $**
$(OBJS)\xrclib_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrclib_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) -q -c -P -o$@ $(XRCLIB_CXXFLAGS) $**
@@ -12167,6 +12193,9 @@ $(OBJS)\richtextdll_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.
$(OBJS)\richtextdll_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -q -c -P -o$@ $(RICHTEXTDLL_CXXFLAGS) $**
$(OBJS)\richtextdll_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -q -c -P -o$@ $(RICHTEXTDLL_CXXFLAGS) $**
$(OBJS)\richtextlib_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(RICHTEXTLIB_CXXFLAGS) -H $**
@@ -12191,6 +12220,9 @@ $(OBJS)\richtextlib_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.
$(OBJS)\richtextlib_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -q -c -P -o$@ $(RICHTEXTLIB_CXXFLAGS) $**
$(OBJS)\richtextlib_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -q -c -P -o$@ $(RICHTEXTLIB_CXXFLAGS) $**
$(OBJS)\gldll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) -q -c -P -o$@ $(GLDLL_CXXFLAGS) -H $**

View File

@@ -909,6 +909,7 @@ XRCDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS)
XRCDLL_OBJECTS = \
$(OBJS)\xrcdll_dummy.o \
$(OBJS)\xrcdll_version_rc.o \
$(OBJS)\xrcdll_xh_animatctrl.o \
$(OBJS)\xrcdll_xh_bmp.o \
$(OBJS)\xrcdll_xh_bmpcbox.o \
$(OBJS)\xrcdll_xh_bmpbt.o \
@@ -971,6 +972,7 @@ XRCLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS)
$(CXXFLAGS)
XRCLIB_OBJECTS = \
$(OBJS)\xrclib_dummy.o \
$(OBJS)\xrclib_xh_animatctrl.o \
$(OBJS)\xrclib_xh_bmp.o \
$(OBJS)\xrclib_xh_bmpcbox.o \
$(OBJS)\xrclib_xh_bmpbt.o \
@@ -1071,7 +1073,8 @@ RICHTEXTDLL_OBJECTS = \
$(OBJS)\richtextdll_richtextxml.o \
$(OBJS)\richtextdll_richtexthtml.o \
$(OBJS)\richtextdll_richtextformatdlg.o \
$(OBJS)\richtextdll_richtextsymboldlg.o
$(OBJS)\richtextdll_richtextsymboldlg.o \
$(OBJS)\richtextdll_richtextstyledlg.o
RICHTEXTLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
$(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
@@ -1088,7 +1091,8 @@ RICHTEXTLIB_OBJECTS = \
$(OBJS)\richtextlib_richtextxml.o \
$(OBJS)\richtextlib_richtexthtml.o \
$(OBJS)\richtextlib_richtextformatdlg.o \
$(OBJS)\richtextlib_richtextsymboldlg.o
$(OBJS)\richtextlib_richtextsymboldlg.o \
$(OBJS)\richtextlib_richtextstyledlg.o
GLDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
-DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
@@ -1212,6 +1216,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_debugrpt.o \
$(OBJS)\monodll_dbgrptg.o \
$(OBJS)\monodll_dbgrid.o \
$(OBJS)\monodll_xh_animatctrl.o \
$(OBJS)\monodll_xh_bmp.o \
$(OBJS)\monodll_xh_bmpcbox.o \
$(OBJS)\monodll_xh_bmpbt.o \
@@ -1275,7 +1280,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_richtextxml.o \
$(OBJS)\monodll_richtexthtml.o \
$(OBJS)\monodll_richtextformatdlg.o \
$(OBJS)\monodll_richtextsymboldlg.o
$(OBJS)\monodll_richtextsymboldlg.o \
$(OBJS)\monodll_richtextstyledlg.o
endif
ifeq ($(USE_GUI),1)
ifeq ($(WXUNIV),0)
@@ -1816,6 +1822,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_debugrpt.o \
$(OBJS)\monolib_dbgrptg.o \
$(OBJS)\monolib_dbgrid.o \
$(OBJS)\monolib_xh_animatctrl.o \
$(OBJS)\monolib_xh_bmp.o \
$(OBJS)\monolib_xh_bmpcbox.o \
$(OBJS)\monolib_xh_bmpbt.o \
@@ -1879,7 +1886,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_richtextxml.o \
$(OBJS)\monolib_richtexthtml.o \
$(OBJS)\monolib_richtextformatdlg.o \
$(OBJS)\monolib_richtextsymboldlg.o
$(OBJS)\monolib_richtextsymboldlg.o \
$(OBJS)\monolib_richtextstyledlg.o
endif
ifeq ($(USE_GUI),1)
ifeq ($(WXUNIV),0)
@@ -5068,6 +5076,9 @@ $(OBJS)\monodll_dbgrptg.o: ../../src/generic/dbgrptg.cpp
$(OBJS)\monodll_dbgrid.o: ../../src/common/dbgrid.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_xh_animatctrl.o: ../../src/xrc/xh_animatctrl.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_xh_bmp.o: ../../src/xrc/xh_bmp.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
@@ -5260,6 +5271,9 @@ $(OBJS)\monodll_richtextformatdlg.o: ../../src/richtext/richtextformatdlg.cpp
$(OBJS)\monodll_richtextsymboldlg.o: ../../src/richtext/richtextsymboldlg.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_richtextstyledlg.o: ../../src/richtext/richtextstyledlg.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monodll_xml.o: ../../src/xml/xml.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<
@@ -7096,6 +7110,9 @@ $(OBJS)\monolib_dbgrptg.o: ../../src/generic/dbgrptg.cpp
$(OBJS)\monolib_dbgrid.o: ../../src/common/dbgrid.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_xh_animatctrl.o: ../../src/xrc/xh_animatctrl.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_xh_bmp.o: ../../src/xrc/xh_bmp.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
@@ -7288,6 +7305,9 @@ $(OBJS)\monolib_richtextformatdlg.o: ../../src/richtext/richtextformatdlg.cpp
$(OBJS)\monolib_richtextsymboldlg.o: ../../src/richtext/richtextsymboldlg.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_richtextstyledlg.o: ../../src/richtext/richtextstyledlg.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\monolib_xml.o: ../../src/xml/xml.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<
@@ -12303,6 +12323,9 @@ $(OBJS)\xrcdll_dummy.o: ../../src/common/dummy.cpp
$(OBJS)\xrcdll_version_rc.o: ../../src/msw/version.rc
windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_58) $(__DEBUG_DEFINE_p_57) $(__EXCEPTIONS_DEFINE_p_57) $(__RTTI_DEFINE_p_57) $(__THREAD_DEFINE_p_57) $(__UNICODE_DEFINE_p_58) $(__MSLU_DEFINE_p_57) $(__GFXCTX_DEFINE_p_57) --include-dir $(SETUPHDIR) --include-dir ..\../include --define WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc_gcc$(VENDORTAG)
$(OBJS)\xrcdll_xh_animatctrl.o: ../../src/xrc/xh_animatctrl.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrcdll_xh_bmp.o: ../../src/xrc/xh_bmp.cpp
$(CXX) -c -o $@ $(XRCDLL_CXXFLAGS) $(CPPDEPS) $<
@@ -12462,6 +12485,9 @@ $(OBJS)\xrcdll_xmlrsall.o: ../../src/xrc/xmlrsall.cpp
$(OBJS)\xrclib_dummy.o: ../../src/common/dummy.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrclib_xh_animatctrl.o: ../../src/xrc/xh_animatctrl.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\xrclib_xh_bmp.o: ../../src/xrc/xh_bmp.cpp
$(CXX) -c -o $@ $(XRCLIB_CXXFLAGS) $(CPPDEPS) $<
@@ -12684,6 +12710,9 @@ $(OBJS)\richtextdll_richtextformatdlg.o: ../../src/richtext/richtextformatdlg.cp
$(OBJS)\richtextdll_richtextsymboldlg.o: ../../src/richtext/richtextsymboldlg.cpp
$(CXX) -c -o $@ $(RICHTEXTDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\richtextdll_richtextstyledlg.o: ../../src/richtext/richtextstyledlg.cpp
$(CXX) -c -o $@ $(RICHTEXTDLL_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\richtextlib_dummy.o: ../../src/common/dummy.cpp
$(CXX) -c -o $@ $(RICHTEXTLIB_CXXFLAGS) $(CPPDEPS) $<
@@ -12708,6 +12737,9 @@ $(OBJS)\richtextlib_richtextformatdlg.o: ../../src/richtext/richtextformatdlg.cp
$(OBJS)\richtextlib_richtextsymboldlg.o: ../../src/richtext/richtextsymboldlg.cpp
$(CXX) -c -o $@ $(RICHTEXTLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\richtextlib_richtextstyledlg.o: ../../src/richtext/richtextstyledlg.cpp
$(CXX) -c -o $@ $(RICHTEXTLIB_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\gldll_dummy.o: ../../src/common/dummy.cpp
$(CXX) -c -o $@ $(GLDLL_CXXFLAGS) $(CPPDEPS) $<

View File

@@ -990,6 +990,7 @@ XRCDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_384)$(__DEBUGRUNTIME) /DWIN32 \
XRCDLL_OBJECTS = \
$(OBJS)\xrcdll_dummy.obj \
$(OBJS)\xrcdll_version.res \
$(OBJS)\xrcdll_xh_animatctrl.obj \
$(OBJS)\xrcdll_xh_bmp.obj \
$(OBJS)\xrcdll_xh_bmpcbox.obj \
$(OBJS)\xrcdll_xh_bmpbt.obj \
@@ -1054,6 +1055,7 @@ XRCLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_397)$(__DEBUGRUNTIME) /DWIN32 \
/Yu"wx/wxprec.h" /Fp"$(OBJS)\wxprec_xrclib.pch" $(CPPFLAGS) $(CXXFLAGS)
XRCLIB_OBJECTS = \
$(OBJS)\xrclib_dummy.obj \
$(OBJS)\xrclib_xh_animatctrl.obj \
$(OBJS)\xrclib_xh_bmp.obj \
$(OBJS)\xrclib_xh_bmpcbox.obj \
$(OBJS)\xrclib_xh_bmpbt.obj \
@@ -1162,7 +1164,8 @@ RICHTEXTDLL_OBJECTS = \
$(OBJS)\richtextdll_richtextxml.obj \
$(OBJS)\richtextdll_richtexthtml.obj \
$(OBJS)\richtextdll_richtextformatdlg.obj \
$(OBJS)\richtextdll_richtextsymboldlg.obj
$(OBJS)\richtextdll_richtextsymboldlg.obj \
$(OBJS)\richtextdll_richtextstyledlg.obj
RICHTEXTLIB_CXXFLAGS = /M$(__RUNTIME_LIBS_451)$(__DEBUGRUNTIME) /DWIN32 \
$(__DEBUGINFO) \
/Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext.pdb \
@@ -1182,7 +1185,8 @@ RICHTEXTLIB_OBJECTS = \
$(OBJS)\richtextlib_richtextxml.obj \
$(OBJS)\richtextlib_richtexthtml.obj \
$(OBJS)\richtextlib_richtextformatdlg.obj \
$(OBJS)\richtextlib_richtextsymboldlg.obj
$(OBJS)\richtextlib_richtextsymboldlg.obj \
$(OBJS)\richtextlib_richtextstyledlg.obj
GLDLL_CXXFLAGS = /M$(__RUNTIME_LIBS_465)$(__DEBUGRUNTIME) /DWIN32 \
$(__DEBUGINFO) \
/Fd$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl_vc$(VENDORTAG).pdb \
@@ -1370,6 +1374,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_debugrpt.obj \
$(OBJS)\monodll_dbgrptg.obj \
$(OBJS)\monodll_dbgrid.obj \
$(OBJS)\monodll_xh_animatctrl.obj \
$(OBJS)\monodll_xh_bmp.obj \
$(OBJS)\monodll_xh_bmpcbox.obj \
$(OBJS)\monodll_xh_bmpbt.obj \
@@ -1433,7 +1438,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_richtextxml.obj \
$(OBJS)\monodll_richtexthtml.obj \
$(OBJS)\monodll_richtextformatdlg.obj \
$(OBJS)\monodll_richtextsymboldlg.obj
$(OBJS)\monodll_richtextsymboldlg.obj \
$(OBJS)\monodll_richtextstyledlg.obj
!endif
!if "$(USE_GUI)" == "1" && "$(WXUNIV)" == "0"
____CORE_SRC_FILENAMES_OBJECTS = \
@@ -1974,6 +1980,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_debugrpt.obj \
$(OBJS)\monolib_dbgrptg.obj \
$(OBJS)\monolib_dbgrid.obj \
$(OBJS)\monolib_xh_animatctrl.obj \
$(OBJS)\monolib_xh_bmp.obj \
$(OBJS)\monolib_xh_bmpcbox.obj \
$(OBJS)\monolib_xh_bmpbt.obj \
@@ -2037,7 +2044,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_richtextxml.obj \
$(OBJS)\monolib_richtexthtml.obj \
$(OBJS)\monolib_richtextformatdlg.obj \
$(OBJS)\monolib_richtextsymboldlg.obj
$(OBJS)\monolib_richtextsymboldlg.obj \
$(OBJS)\monolib_richtextstyledlg.obj
!endif
!if "$(USE_GUI)" == "1" && "$(WXUNIV)" == "0"
____CORE_SRC_FILENAMES_1_OBJECTS = \
@@ -5284,6 +5292,9 @@ $(OBJS)\monodll_dbgrptg.obj: ..\..\src\generic\dbgrptg.cpp
$(OBJS)\monodll_dbgrid.obj: ..\..\src\common\dbgrid.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
@@ -5476,6 +5487,9 @@ $(OBJS)\monodll_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.cpp
$(OBJS)\monodll_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_xml.obj: ..\..\src\xml\xml.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
@@ -7212,6 +7226,9 @@ $(OBJS)\monolib_dbgrptg.obj: ..\..\src\generic\dbgrptg.cpp
$(OBJS)\monolib_dbgrid.obj: ..\..\src\common\dbgrid.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
@@ -7404,6 +7421,9 @@ $(OBJS)\monolib_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.cpp
$(OBJS)\monolib_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_xml.obj: ..\..\src\xml\xml.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
@@ -12119,6 +12139,9 @@ $(OBJS)\xrcdll_dummy.obj: ..\..\src\common\dummy.cpp
$(OBJS)\xrcdll_version.res: ..\..\src\msw\version.rc
rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_4) $(__NO_VC_CRTDBG_p_63) /d __WXMSW__ $(__WXUNIV_DEFINE_p_58) $(__DEBUG_DEFINE_p_57) $(__EXCEPTIONS_DEFINE_p_57) $(__RTTI_DEFINE_p_57) $(__THREAD_DEFINE_p_57) $(__UNICODE_DEFINE_p_58) $(__MSLU_DEFINE_p_57) $(__GFXCTX_DEFINE_p_57) /i $(SETUPHDIR) /i ..\..\include /d WXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc_vc$(VENDORTAG) $**
$(OBJS)\xrcdll_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
$(OBJS)\xrcdll_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCDLL_CXXFLAGS) $**
@@ -12278,6 +12301,9 @@ $(OBJS)\xrcdll_xmlrsall.obj: ..\..\src\xrc\xmlrsall.cpp
$(OBJS)\xrclib_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) /Ycwx/wxprec.h $**
$(OBJS)\xrclib_xh_animatctrl.obj: ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
$(OBJS)\xrclib_xh_bmp.obj: ..\..\src\xrc\xh_bmp.cpp
$(CXX) /c /nologo /TP /Fo$@ $(XRCLIB_CXXFLAGS) $**
@@ -12500,6 +12526,9 @@ $(OBJS)\richtextdll_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.
$(OBJS)\richtextdll_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(RICHTEXTDLL_CXXFLAGS) $**
$(OBJS)\richtextdll_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(RICHTEXTDLL_CXXFLAGS) $**
$(OBJS)\richtextlib_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) /c /nologo /TP /Fo$@ $(RICHTEXTLIB_CXXFLAGS) /Ycwx/wxprec.h $**
@@ -12524,6 +12553,9 @@ $(OBJS)\richtextlib_richtextformatdlg.obj: ..\..\src\richtext\richtextformatdlg.
$(OBJS)\richtextlib_richtextsymboldlg.obj: ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(RICHTEXTLIB_CXXFLAGS) $**
$(OBJS)\richtextlib_richtextstyledlg.obj: ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) /c /nologo /TP /Fo$@ $(RICHTEXTLIB_CXXFLAGS) $**
$(OBJS)\gldll_dummy.obj: ..\..\src\common\dummy.cpp
$(CXX) /c /nologo /TP /Fo$@ $(GLDLL_CXXFLAGS) /Ycwx/wxprec.h $**

View File

@@ -133,6 +133,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = &
$(OBJS)\monodll_debugrpt.obj &
$(OBJS)\monodll_dbgrptg.obj &
$(OBJS)\monodll_dbgrid.obj &
$(OBJS)\monodll_xh_animatctrl.obj &
$(OBJS)\monodll_xh_bmp.obj &
$(OBJS)\monodll_xh_bmpcbox.obj &
$(OBJS)\monodll_xh_bmpbt.obj &
@@ -196,7 +197,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_OBJECTS = &
$(OBJS)\monodll_richtextxml.obj &
$(OBJS)\monodll_richtexthtml.obj &
$(OBJS)\monodll_richtextformatdlg.obj &
$(OBJS)\monodll_richtextsymboldlg.obj
$(OBJS)\monodll_richtextsymboldlg.obj &
$(OBJS)\monodll_richtextstyledlg.obj
!endif
____CORE_SRC_FILENAMES_OBJECTS =
!ifeq USE_GUI 1
@@ -741,6 +743,7 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = &
$(OBJS)\monolib_debugrpt.obj &
$(OBJS)\monolib_dbgrptg.obj &
$(OBJS)\monolib_dbgrid.obj &
$(OBJS)\monolib_xh_animatctrl.obj &
$(OBJS)\monolib_xh_bmp.obj &
$(OBJS)\monolib_xh_bmpcbox.obj &
$(OBJS)\monolib_xh_bmpbt.obj &
@@ -804,7 +807,8 @@ ____MONOLIB_GUI_SRC_FILENAMES_1_OBJECTS = &
$(OBJS)\monolib_richtextxml.obj &
$(OBJS)\monolib_richtexthtml.obj &
$(OBJS)\monolib_richtextformatdlg.obj &
$(OBJS)\monolib_richtextsymboldlg.obj
$(OBJS)\monolib_richtextsymboldlg.obj &
$(OBJS)\monolib_richtextstyledlg.obj
!endif
____CORE_SRC_FILENAMES_1_OBJECTS =
!ifeq USE_GUI 1
@@ -3595,6 +3599,7 @@ XRCDLL_CXXFLAGS = -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
$(CXXFLAGS)
XRCDLL_OBJECTS = &
$(OBJS)\xrcdll_dummy.obj &
$(OBJS)\xrcdll_xh_animatctrl.obj &
$(OBJS)\xrcdll_xh_bmp.obj &
$(OBJS)\xrcdll_xh_bmpcbox.obj &
$(OBJS)\xrcdll_xh_bmpbt.obj &
@@ -3657,6 +3662,7 @@ XRCLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
$(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
XRCLIB_OBJECTS = &
$(OBJS)\xrclib_dummy.obj &
$(OBJS)\xrclib_xh_animatctrl.obj &
$(OBJS)\xrclib_xh_bmp.obj &
$(OBJS)\xrclib_xh_bmpcbox.obj &
$(OBJS)\xrclib_xh_bmpbt.obj &
@@ -3757,7 +3763,8 @@ RICHTEXTDLL_OBJECTS = &
$(OBJS)\richtextdll_richtextxml.obj &
$(OBJS)\richtextdll_richtexthtml.obj &
$(OBJS)\richtextdll_richtextformatdlg.obj &
$(OBJS)\richtextdll_richtextsymboldlg.obj
$(OBJS)\richtextdll_richtextsymboldlg.obj &
$(OBJS)\richtextdll_richtextstyledlg.obj
RICHTEXTLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
$(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
@@ -3774,7 +3781,8 @@ RICHTEXTLIB_OBJECTS = &
$(OBJS)\richtextlib_richtextxml.obj &
$(OBJS)\richtextlib_richtexthtml.obj &
$(OBJS)\richtextlib_richtextformatdlg.obj &
$(OBJS)\richtextlib_richtextsymboldlg.obj
$(OBJS)\richtextlib_richtextsymboldlg.obj &
$(OBJS)\richtextlib_richtextstyledlg.obj
GLDLL_CXXFLAGS = -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) &
$(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
@@ -5296,6 +5304,9 @@ $(OBJS)\monodll_dbgrptg.obj : .AUTODEPEND ..\..\src\generic\dbgrptg.cpp
$(OBJS)\monodll_dbgrid.obj : .AUTODEPEND ..\..\src\common\dbgrid.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_xh_animatctrl.obj : .AUTODEPEND ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_xh_bmp.obj : .AUTODEPEND ..\..\src\xrc\xh_bmp.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
@@ -5488,6 +5499,9 @@ $(OBJS)\monodll_richtextformatdlg.obj : .AUTODEPEND ..\..\src\richtext\richtext
$(OBJS)\monodll_richtextsymboldlg.obj : .AUTODEPEND ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_richtextstyledlg.obj : .AUTODEPEND ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_xml.obj : .AUTODEPEND ..\..\src\xml\xml.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
@@ -7324,6 +7338,9 @@ $(OBJS)\monolib_dbgrptg.obj : .AUTODEPEND ..\..\src\generic\dbgrptg.cpp
$(OBJS)\monolib_dbgrid.obj : .AUTODEPEND ..\..\src\common\dbgrid.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_xh_animatctrl.obj : .AUTODEPEND ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_xh_bmp.obj : .AUTODEPEND ..\..\src\xrc\xh_bmp.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
@@ -7516,6 +7533,9 @@ $(OBJS)\monolib_richtextformatdlg.obj : .AUTODEPEND ..\..\src\richtext\richtext
$(OBJS)\monolib_richtextsymboldlg.obj : .AUTODEPEND ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_richtextstyledlg.obj : .AUTODEPEND ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_xml.obj : .AUTODEPEND ..\..\src\xml\xml.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
@@ -12531,6 +12551,9 @@ $(OBJS)\xrcdll_dummy.obj : .AUTODEPEND ..\..\src\common\dummy.cpp
$(OBJS)\xrcdll_version.res : .AUTODEPEND ..\..\src\msw\version.rc
wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=..\..\include -dWXDLLNAME=wx$(PORTNAME)$(WXUNIVNAME)$(WX_VERSION_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc_wat$(VENDORTAG) $<
$(OBJS)\xrcdll_xh_animatctrl.obj : .AUTODEPEND ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
$(OBJS)\xrcdll_xh_bmp.obj : .AUTODEPEND ..\..\src\xrc\xh_bmp.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCDLL_CXXFLAGS) $<
@@ -12690,6 +12713,9 @@ $(OBJS)\xrcdll_xmlrsall.obj : .AUTODEPEND ..\..\src\xrc\xmlrsall.cpp
$(OBJS)\xrclib_dummy.obj : .AUTODEPEND ..\..\src\common\dummy.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
$(OBJS)\xrclib_xh_animatctrl.obj : .AUTODEPEND ..\..\src\xrc\xh_animatctrl.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
$(OBJS)\xrclib_xh_bmp.obj : .AUTODEPEND ..\..\src\xrc\xh_bmp.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(XRCLIB_CXXFLAGS) $<
@@ -12912,6 +12938,9 @@ $(OBJS)\richtextdll_richtextformatdlg.obj : .AUTODEPEND ..\..\src\richtext\rich
$(OBJS)\richtextdll_richtextsymboldlg.obj : .AUTODEPEND ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(RICHTEXTDLL_CXXFLAGS) $<
$(OBJS)\richtextdll_richtextstyledlg.obj : .AUTODEPEND ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(RICHTEXTDLL_CXXFLAGS) $<
$(OBJS)\richtextlib_dummy.obj : .AUTODEPEND ..\..\src\common\dummy.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(RICHTEXTLIB_CXXFLAGS) $<
@@ -12936,6 +12965,9 @@ $(OBJS)\richtextlib_richtextformatdlg.obj : .AUTODEPEND ..\..\src\richtext\rich
$(OBJS)\richtextlib_richtextsymboldlg.obj : .AUTODEPEND ..\..\src\richtext\richtextsymboldlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(RICHTEXTLIB_CXXFLAGS) $<
$(OBJS)\richtextlib_richtextstyledlg.obj : .AUTODEPEND ..\..\src\richtext\richtextstyledlg.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(RICHTEXTLIB_CXXFLAGS) $<
$(OBJS)\gldll_dummy.obj : .AUTODEPEND ..\..\src\common\dummy.cpp
$(CXX) -bt=nt -zq -fo=$^@ $(GLDLL_CXXFLAGS) $<

View File

@@ -8757,6 +8757,10 @@ SOURCE=..\..\include\wx\dcclient.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\dcgraph.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\dcmemory.h
# End Source File
# Begin Source File
@@ -9157,6 +9161,10 @@ SOURCE=..\..\include\wx\richtext\richtextformatdlg.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\richtext\richtextstyledlg.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\richtext\richtextstyles.h
# End Source File
# Begin Source File
@@ -9361,6 +9369,10 @@ SOURCE=..\..\include\wx\xrc\xh_all.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\xrc\xh_animatctrl.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\xrc\xh_bmp.h
# End Source File
# Begin Source File

View File

@@ -970,6 +970,10 @@ SOURCE=..\..\include\wx\richtext\richtextformatdlg.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\richtext\richtextstyledlg.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\richtext\richtextstyles.h
# End Source File
# Begin Source File
@@ -1002,6 +1006,10 @@ SOURCE=..\..\src\richtext\richtexthtml.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\richtext\richtextstyledlg.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\richtext\richtextstyles.cpp
# End Source File
# Begin Source File

View File

@@ -962,6 +962,10 @@ SOURCE=..\..\include\wx\xrc\xh_all.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\xrc\xh_animatctrl.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\xrc\xh_bmp.h
# End Source File
# Begin Source File
@@ -1170,6 +1174,10 @@ SOURCE=..\..\include\wx\xrc\xmlres.h
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\src\xrc\xh_animatctrl.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\xrc\xh_bmp.cpp
# End Source File
# Begin Source File

1590
configure vendored

File diff suppressed because one or more lines are too long

View File

@@ -35,7 +35,7 @@ dnl wx_release_number += 1
wx_major_version_number=2
wx_minor_version_number=7
wx_release_number=1
wx_subrelease_number=0
wx_subrelease_number=2
WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
WX_VERSION=$WX_RELEASE.$wx_release_number
@@ -525,6 +525,7 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_COMBOCTRL=no
DEFAULT_wxUSE_DATEPICKCTRL=no
DEFAULT_wxUSE_DISPLAY=no
DEFAULT_wxUSE_DETECT_SM=no
DEFAULT_wxUSE_DIRPICKERCTRL=no
DEFAULT_wxUSE_FILEPICKERCTRL=no
DEFAULT_wxUSE_FONTPICKERCTRL=no
@@ -742,6 +743,7 @@ else
DEFAULT_wxUSE_COMBOCTRL=yes
DEFAULT_wxUSE_DATEPICKCTRL=yes
DEFAULT_wxUSE_DISPLAY=yes
DEFAULT_wxUSE_DETECT_SM=yes
DEFAULT_wxUSE_DIRPICKERCTRL=yes
DEFAULT_wxUSE_FILEPICKERCTRL=yes
DEFAULT_wxUSE_FONTPICKERCTRL=yes
@@ -1070,6 +1072,7 @@ if test "$wxUSE_CONTROLS" = "yes"; then
DEFAULT_wxUSE_COMBOBOX=yes
DEFAULT_wxUSE_DATEPICKCTRL=yes
DEFAULT_wxUSE_DISPLAY=yes
DEFAULT_wxUSE_DETECT_SM=yes
DEFAULT_wxUSE_DIRPICKERCTRL=yes
DEFAULT_wxUSE_FILEPICKERCTRL=yes
DEFAULT_wxUSE_FONTPICKERCTRL=yes
@@ -1120,6 +1123,7 @@ elif test "$wxUSE_CONTROLS" = "no"; then
DEFAULT_wxUSE_COMBOBOX=no
DEFAULT_wxUSE_DATEPICKCTRL=no
DEFAULT_wxUSE_DISPLAY=no
DEFAULT_wxUSE_DETECT_SM=no
DEFAULT_wxUSE_DIRPICKERCTRL=no
DEFAULT_wxUSE_FILEPICKERCTRL=no
DEFAULT_wxUSE_FONTPICKERCTRL=no
@@ -1173,6 +1177,7 @@ WX_ARG_ENABLE(comboctrl, [ --enable-comboctrl use wxComboCtrl class], wx
WX_ARG_ENABLE(datepick, [ --enable-datepick use wxDatePickerCtrl class], wxUSE_DATEPICKCTRL)
WX_ARG_ENABLE(dirpicker, [ --enable-dirpicker use wxDirPickerCtrl class], wxUSE_DIRPICKERCTRL)
WX_ARG_ENABLE(display, [ --enable-display use wxDisplay class], wxUSE_DISPLAY)
WX_ARG_ENABLE(detect_sm, [ --enable-detect_sm use code to detect X11 session manager], wxUSE_DETECT_SM)
WX_ARG_ENABLE(filepicker, [ --enable-filepicker use wxFilePickerCtrl class], wxUSE_FILEPICKERCTRL)
WX_ARG_ENABLE(fontpicker, [ --enable-fontpicker use wxFontPickerCtrl class], wxUSE_FONTPICKERCTRL)
WX_ARG_ENABLE(gauge, [ --enable-gauge use wxGauge class], wxUSE_GAUGE)
@@ -3085,6 +3090,9 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
AC_MSG_WARN([Unicode configuration not supported with GTK+ 1.x])
wxUSE_UNICODE=no
fi
dnl test for XIM support in libgdk
AC_CHECK_LIB(gdk, gdk_im_open, AC_DEFINE(HAVE_XIM))
fi
AC_LANG_POP
@@ -3102,10 +3110,6 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
TOOLKIT=GTK
GUIDIST=GTK_DIST
dnl test for XIM support in libgdk
AC_CHECK_LIB(gdk, gdk_im_open, AC_DEFINE(HAVE_XIM))
dnl test for external libxpm if we're configured to use it
if test "$wxUSE_GPE" = "yes"; then
AC_MSG_CHECKING(for gpewidget library)
@@ -3202,6 +3206,8 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
fi
if test "$wxUSE_DFB" = 1; then
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(DIRECTFB,
[directfb >= 0.9.22],
[
@@ -3278,42 +3284,44 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
fi
if test "$wxUSE_UNICODE" = "yes"; then
PKG_CHECK_MODULES(PANGOX, pangox,
[
CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
],
[
AC_MSG_ERROR([pangox library not found, library cannot be compiled in Unicode mode])
]
)
PKG_CHECK_MODULES(PANGOFT2, pangoft2,
[
CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
],
[
AC_MSG_WARN([pangoft2 library not found, library will be compiled without printing support])
wxUSE_PRINTING_ARCHITECTURE="no"
]
)
PKG_CHECK_MODULES(PANGOXFT, pangoxft,
[
AC_DEFINE(HAVE_PANGO_XFT)
CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
],
[
AC_MSG_WARN([pangoxft library not found, library will be compiled without anti-aliasing support])
]
)
save_CXXFLAGS="$CXXFLAGS"
save_LIBS="$LIBS"
CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
LIBS="$LIBS $PANGOX_LIBS"
AC_CHECK_FUNCS([pango_font_family_is_monospace])
CXXFLAGS="$save_CXXFLAGS"
LIBS="$save_LIBS"
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(PANGOX, pangox,
[
CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
],
[
AC_MSG_ERROR([pangox library not found, library cannot be compiled in Unicode mode])
]
)
PKG_CHECK_MODULES(PANGOFT2, pangoft2,
[
CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
],
[
AC_MSG_WARN([pangoft2 library not found, library will be compiled without printing support])
wxUSE_PRINTING_ARCHITECTURE="no"
]
)
PKG_CHECK_MODULES(PANGOXFT, pangoxft,
[
AC_DEFINE(HAVE_PANGO_XFT)
CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
],
[
AC_MSG_WARN([pangoxft library not found, library will be compiled without anti-aliasing support])
]
)
save_CXXFLAGS="$CXXFLAGS"
save_LIBS="$LIBS"
CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
LIBS="$LIBS $PANGOX_LIBS"
AC_CHECK_FUNCS([pango_font_family_is_monospace])
CXXFLAGS="$save_CXXFLAGS"
LIBS="$save_LIBS"
fi
wxUSE_UNIVERSAL="yes"
@@ -3789,6 +3797,31 @@ dnl ---------------------------------------------------------------------------
fi
fi
dnl ---------------------------------------------------------------------------
dnl X11 session management
dnl ---------------------------------------------------------------------------
if test "$wxUSE_DETECT_SM" = "yes"; then
if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
AC_MSG_CHECKING([for -lSM - X11 session management])
WX_PATH_FIND_LIBRARIES([$SEARCH_LIB],SM)
if test "$ac_find_libraries" != "" ; then
WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS])
if test "$ac_path_to_link" != " -L/usr/lib" ; then
LDFLAGS="$LDFLAGS $ac_path_to_link"
fi
GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_WARN([libSM not found; disabling session management detection])
wxUSE_DETECT_SM="no"
fi
else
wxUSE_DETECT_SM="no"
fi
fi
dnl ---------------------------------------------------------------------------
dnl OpenGL libraries
dnl ---------------------------------------------------------------------------
@@ -6556,6 +6589,10 @@ if test "$wxUSE_DISPLAY" = "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
fi
if test "$wxUSE_DETECT_SM" = "yes"; then
AC_DEFINE(wxUSE_DETECT_SM)
fi
if test "$wxUSE_GAUGE" = "yes"; then
AC_DEFINE(wxUSE_GAUGE)
USES_CONTROLS=1
@@ -6926,10 +6963,6 @@ if test "$wxUSE_RICHTEXT" = "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
fi
if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
AC_DEFINE(wxUSE_GRAPHICS_CONTEXT)
fi
dnl ---------------------------------------------------------------------------
dnl wxImage options
dnl ---------------------------------------------------------------------------
@@ -7036,6 +7069,29 @@ if test "$wxUSE_WIZARDDLG" = "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
fi
dnl ---------------------------------------------------------------------------
dnl wxGraphicsContext
dnl ---------------------------------------------------------------------------
if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
AC_DEFINE(wxUSE_GRAPHICS_CONTEXT)
elif test "$wxUSE_GTK" != 1; then
dnl for other builds we'll just wing it for now...
AC_DEFINE(wxUSE_GRAPHICS_CONTEXT)
else
dnl ...but let's check for cairo availability for wxGTK builds
PKG_CHECK_MODULES(CAIRO, cairo,
[
AC_DEFINE(wxUSE_GRAPHICS_CONTEXT)
],
[
AC_MSG_WARN([Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT])
]
)
fi
fi
dnl ---------------------------------------------------------------------------
dnl wxMediaCtrl
dnl ---------------------------------------------------------------------------

View File

@@ -1,6 +1,6 @@
# $Id$
CONTRIB_SUBDIRS=fl gizmos mmedia ogl plot stc svg deprecated animate #applet
CONTRIB_SUBDIRS=fl gizmos mmedia ogl plot stc svg deprecated #animate #applet
all:
@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done

View File

@@ -4,7 +4,7 @@
// Author: Jonathan Bayer
// Modified by:
// Created:
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) Jonathan Bayer
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -651,4 +651,3 @@ void wxMultiCellCanvas :: CalculateConstraints()
}
/*** End of File ***/

15
debian/changelog vendored
View File

@@ -1,3 +1,18 @@
wxwidgets2.7 (2.7.1.2-0) unstable; urgency=low
* Fixed a bug in the MaskedEdit controls caused by conflicting IsEmpty methods.
* Patch #1579280: Some mimetype optimizations on unix-like systems.
-- Robin Dunn <robin@alldunn.com> Sat, 21 Oct 2006 22:33:41 -0700
wxwidgets2.7 (2.7.1.1-0) unstable; urgency=low
* First 2.7.x release from wxPython team.
* Many enhancements, changes, fixes and updates. See
http://wxpython.org/CHANGES.txt for details.
-- Robin Dunn <robin@alldunn.com> Wed, 18 Oct 2006 17:09:53 -0700
wxwidgets2.7 (2.7.0.0-2) unstable; urgency=low
* Fixes to ansi packages builds

12
debian/control.in vendored
View File

@@ -148,6 +148,18 @@ Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython version selector
.
This package provides the wxPython version selector.
Package: python-wxaddons
Architecture: all
Section: python
Conflicts: python-wxgtk2.6
Replaces:
Description: wxWidgets Cross-platform C++ GUI toolkit (wxPython add-on packages base)
wxWidgets (formerly known as wxWindows) is a class library for C++ providing
GUI components and other facilities on several popular platforms (and some
unpopular ones as well). For more information see http://wxwidgets.org
.
This package provides a base Python package for 3rd party add-ons.
Package: python-wxtools
Architecture: all
Section: python

22
debian/rules vendored
View File

@@ -110,6 +110,8 @@ GTK_CONFIGURE_OPTIONS = $(COMMON_CONFIGURE_OPTIONS) \
--enable-sound \
--with-sdl \
--enable-display \
--enable-geometry \
--enable-graphics_ctx \
--with-libjpeg=sys \
--with-libpng=sys \
--with-libtiff=sys \
@@ -156,6 +158,7 @@ package_gtk_dbg := libwxgtk$(release)$(unicode_suffix)-dbg
package_gtk_py_lib := python-wxgtk$(release)$(unicode_suffix)
package_gtk_py_ver = python-wxversion
package_gtk_py_tools = python-wxtools
package_gtk_py_addons = python-wxaddons
package_headers := wx$(release)-headers
package_i18n := wx$(release)-i18n
@@ -165,7 +168,7 @@ package_common = wx-common
# The packages listed here are common to all wx versions, and may be provided
# by another source package if more than one is in the release simultaneously.
common_packages := $(package_common) $(package_gtk_py_ver) $(package_gtk_py_tools)
common_packages := $(package_common) $(package_gtk_py_ver) $(package_gtk_py_tools) $(package_gtk_py_addons)
package_gtk_dbg_py := python-wxgtk$(release)$(unicode_suffix)-dbg
@@ -730,6 +733,8 @@ else
rm debian/$(package_gtk_py_lib)/$(pydir)/wxversion.py
endif
install-gtk-py-tools: DH_OPTIONS=-p$(package_gtk_py_tools)
install-gtk-py-tools: install-gtk-py-ver
dh_testdir
@@ -768,7 +773,20 @@ endif
rm -r debian/$(package_gtk_py_lib)/usr/bin
install-gtk-py: install-gtk-py-tools
install-gtk-py-addons: DH_OPTIONS=-p$(package_gtk_py_addons)
install-gtk-py-addons: install-gtk-py-tools
dh_testdir
dh_testroot
dh_clean -k
ifndef DEBIAN_WX_DEFAULT_VERSION
dh_movefiles --sourcedir=debian/$(package_gtk_py_lib) $(pydir)/wxaddons
else
rm -r debian/$(package_gtk_py_lib)/$(pydir)/wxaddons
endif
install-gtk-py: install-gtk-py-addons
install-common: DH_OPTIONS=-p$(package_common)

View File

@@ -2,6 +2,6 @@
<bakefile-gen>
<include file="../../build/bakefiles/Bakefiles.bkgen"/>
<!-- add extra formats to release -->
<enable-formats>dmars,dmars_smake,msevc4prj</enable-formats>
<enable-formats>gnu,dmars,dmars_smake,msevc4prj</enable-formats>
</bakefile-gen>

View File

@@ -17,7 +17,7 @@ DOCDIR=${WX_TEMP_DIR}/wxWidgets/docs/
CURDATE=`date -I`
# build info
BUILD_VERSION=2.7.1-rc
BUILD_VERSION=2.7.2-rc1
BUILD_TAG=HEAD

View File

@@ -114,11 +114,20 @@ doinit()
dospinport(){
port=$1
if [ $port != "all" ]; then
portname="`echo $port|tr '[a-z]' '[A-Z]'`"
else
portname="Widgets"
fi
case "$port" in
all)
portname="Widgets";;
base)
portname="Base";;
motif)
portname="Motif";;
mac)
portname="Mac";;
*)
# for all the others (DFB, GTK, MGL, MSW, X11) just use the
# upper-case version as they are abbreviations
portname=`echo $port | tr '[a-z]' '[A-Z]'`;;
esac
echo "Creating wx$portname distribution..."

View File

@@ -114,7 +114,6 @@ samples/printing/makefile.dm?
samples/propsize/makefile.dm?
samples/regtest/makefile.dm?
samples/render/makefile.dm?
samples/richedit/makefile.dm?
samples/rotate/makefile.dm?
samples/sashtest/makefile.dm?
samples/scroll/makefile.dm?

View File

@@ -714,6 +714,7 @@ samples/internat/*.ico
samples/internat/*.bmp
samples/internat/*.mo
samples/internat/*.pro
samples/internat/ar/*.?o
samples/internat/bg/*.mo
samples/internat/bg/*.po
samples/internat/cs/*.mo

View File

@@ -9,6 +9,7 @@ docs/gtk/makewxgtk
include/wx/gtk/*.h
include/wx/gtk/*.xpm
include/wx/gtk/gnome/*.h
include/wx/gtk/private/*.h
include/wx/mac/corefoundation/*.h
src/mac/corefoundation/*.cpp

View File

@@ -10,6 +10,7 @@ src/x11/*.inc
src/x11/*.xbm
include/wx/x11/*.h
include/wx/gtk/private/string.h
include/wx/x11/nanox/X11/*.h
include/wx/mac/corefoundation/*.h

View File

@@ -136,6 +136,6 @@ md5sum ${FTPDIR}/wx* > ${FTPDIR}/MD5SUM
## make sure updated at is really last
sleep 10
echo cvs checkout done at date -u > ${FTPDIR}/updated_at.txt
echo cvs checkout done at `date -u` > ${FTPDIR}/updated_at.txt
echo "Delivery complete. Flying."

View File

@@ -5,11 +5,25 @@ wxWidgets Change Log - For more verbose changes, see the manual
INCOMPATIBLE CHANGES SINCE 2.6.x
================================
Changes in behaviour not resulting in compilation errors, please read this!
---------------------------------------------------------------------------
- For all wxInputStreams, Eof() becomes true after an attempt has been made
to read _past_ the end of file.
- wxFileName::DirExists() checks if the path of the file is a directory, not
if the whole name is a directory
- wxDialog::CreateButtonSizer() may return NULL now, please see the manual
- wxStaticBoxSizer now deletes the associated wxStaticBox when it is deleted
- Windows calling CaptureMouse() are now required to handle the
wxEVT_MOUSE_CAPTURE_LOST event and not call ReleaseMouse() in this case
Changes in behaviour which may result in compilation errors
-----------------------------------------------------------
- wxFontData::GetColour() now returns a const colour.
- wxDC objects can't be created directly now (this never worked, now it doesn't
even compile).
- For all wxInputStreams, Eof() becomes true after an attempt has been made
to read _past_ the end of file.
- wxCHECK family of macros now must be followed by a semicolon.
- wxMBConv::cMB2WC() and cWC2MB() take size of the input buffer and return
length of the converted string in all cases now.
@@ -26,17 +40,12 @@ INCOMPATIBLE CHANGES SINCE 2.6.x
override it.
- wxFontEnumerator::GetFacenames() and GetEncodings() now return arrays and
not pointers to arrays.
- wxStaticBoxSizer now deletes the associated wxStaticBox when it is deleted.
- Windows calling CaptureMouse() are now required to handle
the wxEVT_MOUSE_CAPTURE_LOST event.
- SetDefaultItem() method was moved from wxPanel to wxTopLevelWindow
- wxDialog::OnOK/OnCancel() don't exist any more, use SetAffirmative/EscapeId()
- wxPathList doesn't derive from (deprecated) wxStringList any more
- wxGLContext class has no 1:1 coupling to a wxGLCanvas class any more.
As a consequence, the class interface changed largely.
Code updates, if any are required at all, are easy to accomplish though.
- wxDialog::CreateButtonSizer() may return NULL now, please see the manual
Deprecated methods since 2.6.x and their replacements
@@ -46,12 +55,24 @@ Deprecated methods since 2.6.x and their replacements
- wxDC::BeginDrawing() and wxDC::EndDrawing() deprecated, just don't use them.
Major changes in 2.7 release
----------------------------
Major new features in 2.7 release
---------------------------------
- New AUI library supporting docking windows and much more
2.7.2
-----
All (GUI):
- wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.
- Reverted wxBuffered[Paint]DC to pre 2.7.1 state, added
wxAutoBufferedPaintDC and wxAutoBufferedPaintDCFactory.
2.7.1
-----

View File

@@ -22,11 +22,12 @@ your \texttt{OnPaint()} handler, you should look at
\helpref{wxBufferedPaintDC}{wxbufferedpaintdc} or \helpref{wxAutoBufferedPaintDC}{wxautobufferedpaintdc}.
Please note that GTK+ 2.0 as well as OS X provide double buffering themselves
natively. wxBufferedDC is aware of this however, and will bypass the buffering
unless explicit buffer bitmap is given.
+natively. Use \helpref{wxWindow::IsDoubleBuffered}{wxwindowisdoublebuffered} to
+determine whether you need to use buffering or not.
\wxheading{Derived from}
\helpref{wxMemoryDC}{wxmemorydc}\\
\helpref{wxDC}{wxdc}\\
\helpref{wxObject}{wxobject}
@@ -48,9 +49,9 @@ unless explicit buffer bitmap is given.
\func{}{wxBufferedDC}{\void}
\func{}{wxBufferedDC}{\param{wxDC *}{dc}, \param{const wxBitmap\& }{buffer}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
\func{}{wxBufferedDC}{\param{wxDC *}{dc}, \param{const wxSize\& }{area}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
\func{}{wxBufferedDC}{\param{wxWindow*}{window}, \param{wxDC *}{dc}, \param{const wxSize\& }{area}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
\func{}{wxBufferedDC}{\param{wxDC *}{dc}, \param{const wxBitmap\& }{buffer}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
If you use the first, default, constructor, you must call one of the
\helpref{Init}{wxbuffereddcinit} methods later in order to use the object.
@@ -64,10 +65,6 @@ must not be called after using them.
flushed to this DC when this object is destroyed. You may pass NULL
in order to just initialize the buffer, and not flush it.}
\docparam{window}{The window on which the dc paints. May be NULL, but
you should normally specify this so that the DC can be aware whether the
surface is natively double-buffered or not.}
\docparam{area}{The size of the bitmap to be used for buffering (this bitmap is
created internally when it is not given explicitly).}
@@ -83,9 +80,9 @@ device context).}
\membersection{wxBufferedDC::Init}\label{wxbuffereddcinit}
\func{void}{Init}{\param{wxDC *}{dc}, \param{const wxBitmap\& }{buffer}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
\func{void}{Init}{\param{wxDC *}{dc}, \param{const wxSize\& }{area}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
\func{void}{Init}{\param{wxWindow*}{window}, \param{wxDC *}{dc}, \param{const wxSize\& }{area}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
\func{void}{Init}{\param{wxDC *}{dc}, \param{const wxBitmap\& }{buffer}, \param{int }{style = wxBUFFER\_CLIENT\_AREA}}
These functions initialize the object created using the default constructor.
Please see \helpref{constructors documentation}{wxbuffereddcctor} for details.
@@ -116,6 +113,7 @@ already does this internally for the real underlying wxPaintDC.
\wxheading{Derived from}
\helpref{wxBufferedDC}{wxbuffereddc}\\
\helpref{wxMemoryDC}{wxmemorydc}\\
\helpref{wxDC}{wxdc}\\
\helpref{wxObject}{wxobject}

View File

@@ -41,13 +41,14 @@ can be reselected into another memory DC.
\membersection{wxMemoryDC::wxMemoryDC}\label{wxmemorydcctor}
\func{}{wxMemoryDC}{\void}
\func{}{wxMemoryDC}{\param{const wxBitmap\& }{bitmap = wxNullBitmap}}
Constructs a new memory device context.
Use the {\it Ok} member to test whether the constructor was successful
in creating a usable device context. Don't forget to select a bitmap
into the DC before drawing on it.
in creating a usable device context. If you don't pass a valid bitmap
to the constructor, don't forget to select a bitmap into the DC before
drawing on it.
\membersection{wxMemoryDC::SelectObject}\label{wxmemorydcselectobject}

View File

@@ -3603,9 +3603,10 @@ This function is currently only implemented under MSW.
Calling this method immediately repaints the invalidated area of the window and
all of its children recursively while this would usually only happen when the
flow of control returns to the event loop. Notice that this function doesn't
refresh the window and does nothing if the window hadn't been already
repainted. Use \helpref{Refresh}{wxwindowrefresh} first if you want to
flow of control returns to the event loop.
Notice that this function doesn't invalidate any area of the window so
nothing happens if nothing has been invalidated (i.e. marked as requiring
a redraw). Use \helpref{Refresh}{wxwindowrefresh} first if you want to
immediately redraw the window unconditionally.

View File

@@ -19,6 +19,7 @@
#include "wx/animdecod.h"
#include "wx/control.h"
#include "wx/timer.h"
#include "wx/bitmap.h"
class WXDLLIMPEXP_ADV wxAnimation;
@@ -64,7 +65,6 @@ protected:
// auto-resizes by default to fit the new animation when SetAnimation() is called
#define wxAC_DEFAULT_STYLE (wxNO_BORDER)
class WXDLLIMPEXP_ADV wxAnimationCtrlBase : public wxControl
{
public:
@@ -82,6 +82,13 @@ public: // public API
virtual bool IsPlaying() const = 0;
virtual void SetInactiveBitmap(const wxBitmap &bmp);
wxBitmap GetInactiveBitmap() const
{ return m_bmpStatic; }
protected:
wxBitmap m_bmpStatic;
private:
DECLARE_ABSTRACT_CLASS(wxAnimationCtrlBase)
};
@@ -91,7 +98,7 @@ private:
// include the platform-specific version of the wxAnimationCtrl class
// ----------------------------------------------------------------------------
#if defined(__WXGTK20__)
#if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
#include "wx/gtk/animate.h"
#else
#include "wx/generic/animate.h"

View File

@@ -118,6 +118,10 @@ public:
// return true if the port is using wxUniversal for the GUI, false if not
virtual bool IsUsingUniversalWidgets() const = 0;
// return the name of the Desktop Environment such as
// "KDE" or "GNOME". May return an empty string.
virtual wxString GetDesktopEnvironment() const { return wxEmptyString; }
};
// ----------------------------------------------------------------------------

View File

@@ -35,18 +35,24 @@ public:
wxFloatingPane(wxWindow* parent,
wxFrameManager* owner_mgr,
const wxPaneInfo& pane,
wxWindowID id = wxID_ANY
wxWindowID id = wxID_ANY,
long style = wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION |
wxFRAME_NO_TASKBAR | wxFRAME_FLOAT_ON_PARENT |
wxCLIP_CHILDREN
);
virtual ~wxFloatingPane();
void SetPaneWindow(const wxPaneInfo& pane);
protected:
virtual void OnMoveStart();
virtual void OnMoving(const wxRect& window_rect, wxDirection dir);
virtual void OnMoveFinished();
private:
void OnSize(wxSizeEvent& event);
void OnClose(wxCloseEvent& event);
void OnMoveEvent(wxMoveEvent& event);
void OnIdle(wxIdleEvent& event);
void OnMoveStart();
void OnMoving(const wxRect& window_rect, wxDirection dir);
void OnMoveFinished();
void OnActivate(wxActivateEvent& event);
static bool isMouseDown();
private:

View File

@@ -218,6 +218,7 @@ public:
bool IsRightDockable() const { return HasFlag(optionRightDockable); }
bool IsFloatable() const { return HasFlag(optionFloatable); }
bool IsMovable() const { return HasFlag(optionMovable); }
bool IsDestroyOnClose() const { return HasFlag(optionDestroyOnClose); }
bool HasCaption() const { return HasFlag(optionCaption); }
bool HasGripper() const { return HasFlag(optionGripper); }
bool HasBorder() const { return HasFlag(optionPaneBorder); }
@@ -382,7 +383,7 @@ public:
class WXDLLIMPEXP_AUI wxFloatingPane;
class WXDLLIMPEXP_AUI wxFrameManager : public wxEvtHandler
{
@@ -427,6 +428,8 @@ public:
int insert_level = wxAUI_INSERT_PANE);
bool DetachPane(wxWindow* window);
void ClosePane(wxPaneInfo& pane_info);
wxString SavePaneInfo(wxPaneInfo& pane);
void LoadPaneInfo(wxString pane_part, wxPaneInfo &pane);
@@ -440,6 +443,7 @@ public:
public:
virtual wxFloatingPane * CreateFloatingFrame(wxWindow* parent, const wxPaneInfo& p);
void DrawHintRect(wxWindow* pane_window,
const wxPoint& pt,

View File

@@ -5,7 +5,7 @@
// Modified by:
// Created: Aug-31-2006
// Copyright: (c) Jaakko Salli
// RCS-ID: $Id:
// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////

View File

@@ -42,6 +42,14 @@ enum
wxBK_HITTEST_ONPAGE = 8 // not on tab control, but over the selected page
};
// wxBookCtrl flags (common for wxNotebook, wxListbook, wxChoicebook, wxTreebook)
#define wxBK_DEFAULT 0x0000
#define wxBK_TOP 0x0010
#define wxBK_BOTTOM 0x0020
#define wxBK_LEFT 0x0040
#define wxBK_RIGHT 0x0080
#define wxBK_ALIGN_MASK (wxBK_TOP | wxBK_BOTTOM | wxBK_LEFT | wxBK_RIGHT)
// ----------------------------------------------------------------------------
// wxBookCtrlBase
// ----------------------------------------------------------------------------

View File

@@ -24,6 +24,13 @@ class WXDLLEXPORT wxChoice;
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED;
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING;
// wxChoicebook flags
#define wxCHB_DEFAULT wxBK_DEFAULT
#define wxCHB_TOP wxBK_TOP
#define wxCHB_BOTTOM wxBK_BOTTOM
#define wxCHB_LEFT wxBK_LEFT
#define wxCHB_RIGHT wxBK_RIGHT
#define wxCHB_ALIGN_MASK wxBK_ALIGN_MASK
// ----------------------------------------------------------------------------
// wxChoicebook

View File

@@ -4,7 +4,7 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////

View File

@@ -4,7 +4,7 @@
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
@@ -30,7 +30,7 @@ protected:
static void *sm_cocoaObserver;
public:
virtual wxWindow* GetWxWindow() const
{ return NULL; }
{ return NULL; }
virtual void Cocoa_FrameChanged(void) = 0;
virtual bool Cocoa_acceptsFirstMouse(bool &acceptsFirstMouse, WX_NSEvent theEvent)
{ return false; }
@@ -61,8 +61,9 @@ public:
virtual bool Cocoa_otherMouseUp(WX_NSEvent theEvent)
{ return false; }
virtual bool Cocoa_resetCursorRects()
{ return false; }
{ return false; }
virtual ~wxCocoaNSView() { }
};
#endif // _WX_COCOA_NSVIEW_H_
#endif
// __WX_COCOA_NSVIEW_H__

View File

@@ -4,7 +4,7 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////

View File

@@ -2,9 +2,9 @@
// Name: wx/cocoa/ObjcAssociate.h
// Purpose: Associates an Objective-C class with a C++ class
// Author: David Elliott
// Modified by:
// Modified by:
// Created: 2002/12/03
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2002 David Elliott <dfe@cox.net>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -76,4 +76,3 @@ void wxClass::Set##ObjcClass(WX_##ObjcClass cocoaObjcClass) \
}
#endif // __WX_COCOA_OBJC_ASSOCIATE_H__

View File

@@ -2,9 +2,9 @@
// Name: wx/cocoa/ObjcPose.h
// Purpose: Macros for initializing poseAs, among other things
// Author: David Elliott
// Modified by:
// Modified by:
// Created: 2002/12/03
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2002 David Elliott <dfe@cox.net>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -22,31 +22,31 @@ Objective-C Poser class initialization
class wxPoseAsInitializer
{
public:
wxPoseAsInitializer()
: m_next(sm_first)
{
sm_first = this;
}
virtual ~wxPoseAsInitializer()
{
sm_first = m_next;
}
static void InitializePosers()
{
while(sm_first)
{
delete sm_first;
}
};
wxPoseAsInitializer()
: m_next(sm_first)
{
sm_first = this;
}
virtual ~wxPoseAsInitializer()
{
sm_first = m_next;
}
static void InitializePosers()
{
while(sm_first)
{
delete sm_first;
}
};
protected:
wxPoseAsInitializer *m_next;
static wxPoseAsInitializer *sm_first;
wxPoseAsInitializer *m_next;
static wxPoseAsInitializer *sm_first;
};
class wxDummyForPoseAsInitializer
{
public:
wxDummyForPoseAsInitializer(void*) {}
wxDummyForPoseAsInitializer(void*) {}
};
#define WX_IMPLEMENT_POSER(poser) \
@@ -65,4 +65,3 @@ wxDummyForPoseAsInitializer wxDummyPoseAsInitializerFor##poser(new wxPoseAsIniti
#endif // __OBJC__
#endif // __WX_COCOA_PRIVATE_POSER_H__

View File

@@ -1,12 +1,12 @@
/////////////////////////////////////////////////////////////////////////////
// Name: include/wx/cocoa/bitmap.h
// Name: wx/cocoa/bitmap.h
// Purpose: wxBitmap class
// Author: David Elliott
// Modified by:
// Created: 2003/07/19
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BITMAP_H__
@@ -86,7 +86,7 @@ public:
// destructor
virtual ~wxBitmap();
// ------------------------------------------------------------------------
// Implementation
// ------------------------------------------------------------------------
@@ -131,7 +131,7 @@ public:
void SetMask(wxMask *mask) ;
int GetBitmapType() const;
inline bool operator == (const wxBitmap& bitmap) const
{ return m_refData == bitmap.m_refData; }
inline bool operator != (const wxBitmap& bitmap) const
@@ -155,4 +155,5 @@ class WXDLLIMPEXP_CORE wxBitmapHandler: public wxBitmapHandlerBase
DECLARE_ABSTRACT_CLASS(wxBitmapHandler)
};
#endif // __WX_COCOA_BITMAP_H__
#endif
// __WX_COCOA_BITMAP_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BMPBUTTN_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2002/12/29
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2002 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BUTTON_H__
@@ -36,7 +36,7 @@ public:
{
Create(parent, winid, label, pos, size, style, validator, name);
}
bool Create(wxWindow *parent, wxWindowID winid,
const wxString& label = wxEmptyString,
@@ -44,7 +44,7 @@ public:
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxButtonNameStr);
virtual ~wxButton();
// ------------------------------------------------------------------------
@@ -61,4 +61,5 @@ public:
wxSize DoGetBestSize() const;
};
#endif // __WX_COCOA_BUTTON_H__
#endif
// __WX_COCOA_BUTTON_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_CONTROL_H__
@@ -53,7 +53,7 @@ public:
// --------------------------
void OnEraseBackground(wxEraseEvent& event);
virtual void Command(wxCommandEvent& event) { ProcessCommand(event); }
// Calls the callback and appropriate event handlers
@@ -65,4 +65,5 @@ protected:
virtual wxSize DoGetBestSize() const;
};
#endif // __WX_COCOA_CONTROL_H__
#endif
// __WX_COCOA_CONTROL_H__

View File

@@ -1,12 +1,12 @@
/////////////////////////////////////////////////////////////////////////////
// Name: cursor.h
// Name: wx/cocoa/cursor.h
// Purpose: wxCursor class
// Author: David Elliott <dfe@cox.net>
// Modified by:
// Created: 2002/11/27
// RCS-ID:
// RCS-ID: $Id$
// Copyright: (c) David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_CURSOR_H_
@@ -17,7 +17,7 @@
class WXDLLEXPORT wxCursorRefData: public wxObjectRefData
{
DECLARE_NO_COPY_CLASS(wxCursorRefData)
friend class WXDLLEXPORT wxBitmap;
friend class WXDLLEXPORT wxCursor;
public:
@@ -54,9 +54,9 @@ public:
inline bool operator == (const wxCursor& cursor) const { return m_refData == cursor.m_refData; }
inline bool operator != (const wxCursor& cursor) const { return m_refData != cursor.m_refData; }
inline WX_NSCursor GetNSCursor() const
{
{
return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0);
}
@@ -64,4 +64,5 @@ public:
extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor);
#endif // _WX_COCOA_CURSOR_H_
#endif
// _WX_COCOA_CURSOR_H_

View File

@@ -6,7 +6,7 @@
// Created: 2003/04/01
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_DCCLIENT_H__
@@ -66,4 +66,5 @@ protected:
virtual bool CocoaUnlockFocus();
};
#endif // __WX_COCOA_DCCLIENT_H__
#endif
// __WX_COCOA_DCCLIENT_H__

View File

@@ -6,7 +6,7 @@
// Created: 2003/03/16
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_DCMEMORY_H__
@@ -18,7 +18,7 @@ class WXDLLEXPORT wxMemoryDC: public wxDC
{
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
public:
wxMemoryDC(void);
wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
wxMemoryDC( wxDC *dc ); // Create compatible DC
virtual ~wxMemoryDC(void);
virtual void SelectObject(const wxBitmap& bitmap);
@@ -36,4 +36,5 @@ protected:
int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask);
};
#endif // __WX_COCOA_DCMEMORY_H__
#endif
// __WX_COCOA_DCMEMORY_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_DCSCREEN_H__

View File

@@ -4,7 +4,7 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -15,7 +15,7 @@
class WXDLLEXPORT wxMenuBar;
class WXDLLEXPORT wxStatusBar;
class WXDLLEXPORT wxFrame: public wxFrameBase
class WXDLLEXPORT wxFrame: public wxFrameBase
{
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxFrame)
@@ -95,7 +95,7 @@ public:
#if wxUSE_TOOLBAR
// create main toolbar bycalling OnCreateToolBar()
virtual wxToolBar* CreateToolBar(long style = -1,
wxWindowID winid = -1,
wxWindowID winid = wxID_ANY,
const wxString& name = wxToolBarNameStr);
// sets the main tool bar
virtual void SetToolBar(wxToolBar *toolbar);

View File

@@ -6,7 +6,7 @@
// Created: 2003/07/15
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_GAUGE_H__
@@ -70,4 +70,5 @@ protected:
virtual wxSize DoGetBestSize() const;
};
#endif // __WX_COCOA_GAUGE_H__
#endif
// __WX_COCOA_GAUGE_H__

View File

@@ -6,7 +6,7 @@
// Created: 2003/08/11
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_ICON_H__
@@ -58,4 +58,5 @@ public:
bool CreateFromXpm(const char **bits);
};
#endif // _WX_COCOA_ICON_H__
#endif
// _WX_COCOA_ICON_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/18
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_RADIOBUT_H__

View File

@@ -2,11 +2,11 @@
// Name: wx/cocoa/region.h
// Purpose: wxRegion class
// Author: David Elliott
// Modified by:
// Modified by:
// Created: 2004/04/12
// RCS-ID: $Id$
// Copyright: (c) 2004 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_REGION_H__
@@ -68,4 +68,5 @@ public:
{ return *(wxRegionIterator*)&(this->wxRegionIteratorGeneric::operator=(iter)); }
};
#endif //ndef _WX_COCOA_REGION_H__
#endif
//ndef _WX_COCOA_REGION_H__

View File

@@ -6,7 +6,7 @@
// Created: 2004/04/25
// RCS-ID: $Id$
// Copyright: (c) 2004 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_COCOA_SCROLBAR_H__
@@ -71,4 +71,5 @@ protected:
int m_pageSize;
};
#endif // _WX_COCOA_SCROLBAR_H__
#endif
// _WX_COCOA_SCROLBAR_H__

View File

@@ -6,7 +6,7 @@
// Created: 2003/06/19
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_SLIDER_H__
@@ -79,4 +79,5 @@ public:
};
#endif // __WX_COCOA_SLIDER_H__
#endif
// __WX_COCOA_SLIDER_H__

View File

@@ -6,7 +6,7 @@
// Created: 2003/07/14
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_SPINBUTT_H__
@@ -27,7 +27,7 @@ class WXDLLEXPORT wxSpinButton: public wxSpinButtonBase// , protected wxCocoaNSS
// ------------------------------------------------------------------------
public:
wxSpinButton() { }
wxSpinButton(wxWindow *parent, wxWindowID winid = -1,
wxSpinButton(wxWindow *parent, wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSP_VERTICAL | wxSP_ARROW_KEYS,
@@ -36,7 +36,7 @@ public:
Create(parent, winid, pos, size, style, name);
}
bool Create(wxWindow *parent, wxWindowID winid = -1,
bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSP_HORIZONTAL,
@@ -60,4 +60,5 @@ public:
virtual void SetRange(int minValue, int maxValue);
};
#endif // __WX_COCOA_SPINBUTT_H__
#endif
// __WX_COCOA_SPINBUTT_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_STATBMP_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/18
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_STATBOX_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/18
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_STATLINE_H__

View File

@@ -4,9 +4,9 @@
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_STATTEXT_H__
@@ -55,4 +55,5 @@ public:
void SetLabel(const wxString& label);
};
#endif // __WX_COCOA_STATTEXT_H__
#endif
// __WX_COCOA_STATTEXT_H__

View File

@@ -4,7 +4,7 @@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////

View File

@@ -856,6 +856,10 @@ private:
#include "wx/os2/dc.h"
#endif
#if wxUSE_GRAPHICS_CONTEXT
#include "wx/dcgraph.h"
#endif
// ----------------------------------------------------------------------------
// helper class: you can use it to temporarily change the DC text colour and
// restore it automatically when the object goes out of scope

View File

@@ -16,29 +16,15 @@
#include "wx/dcclient.h"
#include "wx/window.h"
// I think this patch should be test on wxMac with
// wxTEST_PAINTDCDELEGATION as 1, and then with
// with wxTEST_MEMORYDCDELEGATION as 1.
#define wxTEST_PAINTDCDELEGATION 0
#define wxTEST_MEMORYDCDELEGATION 0
// Split platforms into two groups - those which have well-working
// double-buffering by default, and those which do not.
#if defined(__WXMAC__) || defined(__WXGTK20__)
#if defined(__WXMAC__) || defined(__WXGTK20__) || defined(__WXDFB__)
#define wxALWAYS_NATIVE_DOUBLE_BUFFER 1
#else
#define wxALWAYS_NATIVE_DOUBLE_BUFFER 0
#endif
#if wxTEST_PAINTDCDELEGATION || wxTEST_MEMORYDCDELEGATION
#undef wxALWAYS_NATIVE_DOUBLE_BUFFER
#define wxALWAYS_NATIVE_DOUBLE_BUFFER 0
#endif
// ----------------------------------------------------------------------------
// Double buffering helper.
// ----------------------------------------------------------------------------
@@ -51,12 +37,11 @@
// does not prepare the window DC
#define wxBUFFER_CLIENT_AREA 0x02
class WXDLLEXPORT wxBufferedDC : public wxDC
class WXDLLEXPORT wxBufferedDC : public wxMemoryDC
{
public:
// Default ctor, must subsequently call Init for two stage construction.
wxBufferedDC() : wxDC(), m_targetDc(NULL), m_mainDc(NULL),
m_buffer(NULL), m_style(0)
wxBufferedDC() : m_dc( 0 ), m_buffer(NULL), m_style(0)
{
}
@@ -64,38 +49,23 @@ public:
wxBufferedDC(wxDC *dc,
const wxBitmap &buffer = wxNullBitmap,
int style = wxBUFFER_CLIENT_AREA)
: wxDC(),
m_targetDc(NULL),
m_mainDc(NULL)
: m_dc( dc ),
m_buffer( &buffer ),
m_style(style)
{
// All other members except dcs are initialized in Init
Init(dc, buffer, style);
UseBuffer();
}
// Construct a wxBufferedDC with an internal buffer of 'area'
// (where area is usually something like the size of the window
// being buffered)
wxBufferedDC(wxDC *dc, const wxSize &area, int style = wxBUFFER_CLIENT_AREA)
: wxDC(),
m_targetDc(NULL),
m_mainDc(NULL)
{
// All other members except dcs are initialized in Init
Init(NULL, dc, area, style);
}
: m_dc( dc ),
m_buffer(NULL),
m_style(style)
// Same, but also receives window to detect whether it is
// natively double-buffered.
wxBufferedDC(wxWindow* win,
wxDC *dc,
const wxSize &area,
int style = wxBUFFER_CLIENT_AREA)
: wxDC(),
m_targetDc(NULL),
m_mainDc(NULL)
{
// All other members except dcs are initialized in Init
Init(win, dc, area, style);
UseBuffer(area.x, area.y);
}
// default copy ctor ok.
@@ -103,55 +73,31 @@ public:
// The usually desired action in the dtor is to blit the buffer.
virtual ~wxBufferedDC()
{
UnMask();
if ( m_dc ) UnMask();
}
// These reimplement the actions of the ctors for two stage creation, but
// are not used by the ctors themselves to save a few cpu cycles.
void Init(wxDC *dc,
const wxBitmap &buffer,
const wxBitmap &buffer=wxNullBitmap,
int style = wxBUFFER_CLIENT_AREA)
{
wxASSERT_MSG( m_mainDc == NULL,
wxT("wxBufferedDC already initialised") );
wxASSERT_MSG( buffer.Ok(),
wxT("invalid bitmap") );
m_mainDc = dc;
wxASSERT_MSG( m_dc == 0 && m_buffer == NULL,
_T("wxBufferedDC already initialised") );
m_dc = dc;
m_buffer = &buffer;
m_style = style;
UseBuffer();
}
void Init(wxWindow* win,
wxDC *dc,
const wxSize &area = wxDefaultSize,
int style = wxBUFFER_CLIENT_AREA)
void Init(wxDC *dc, const wxSize &area, int style = wxBUFFER_CLIENT_AREA)
{
wxASSERT_MSG( m_mainDc == NULL,
wxT("wxBufferedDC already initialised") );
m_mainDc = dc;
wxASSERT_MSG( m_dc == 0 && m_buffer == NULL,
_T("wxBufferedDC already initialised") );
m_dc = dc;
m_buffer = NULL;
m_style = style;
#if wxTEST_MEMORYDCDELEGATION
if ( 0 )
#elif wxTEST_PAINTDCDELEGATION
if ( 1 )
#else
if ( win && win->IsDoubleBuffered() )
#endif
{
AttachDC(dc);
m_buffer = NULL;
}
else
{
PrepareBuffer(win, area);
UseBuffer();
}
}
void Init(wxDC *dc, const wxSize &area = wxDefaultSize, int style = wxBUFFER_CLIENT_AREA)
{
Init(NULL, dc, area, style);
UseBuffer(area.x, area.y);
}
// Blits the buffer to the dc, and detaches the dc from the buffer (so it
@@ -160,443 +106,45 @@ public:
// Usually called in the dtor or by the dtor of derived classes if the
// BufferedDC must blit before the derived class (which may own the dc it's
// blitting to) is destroyed.
void UnMask();
void UnMask()
{
wxASSERT_MSG( m_dc != 0,
_T("No underlying DC associated with wxBufferedDC (anymore)") );
wxCoord x=0, y=0;
if (m_style & wxBUFFER_CLIENT_AREA)
GetDeviceOrigin(&x, &y);
m_dc->Blit( 0, 0,
m_buffer->GetWidth(), m_buffer->GetHeight(), this,
-x, -y );
m_dc = NULL;
}
// Set and get the style
void SetStyle(int style) { m_style = style; }
int GetStyle() const { return m_style; }
private:
// Prepares wxMemoryDC.
void UseBuffer();
// check that the bitmap is valid and use it
void UseBuffer(wxCoord w = -1, wxCoord h = -1);
// Allocate m_buffer, if necessary.
void PrepareBuffer(wxWindow* win, const wxSize& area);
// DC to which calls are delegated.
wxDC* m_targetDc;
// This the underlying DC to which we copy everything drawn on
// this one in UnMask().
// the underlying DC to which we copy everything drawn on this one in
// UnMask()
//
// NB: Without the existence of a wxNullDC, this must be a pointer, else it
// could probably be a reference.
wxDC* m_mainDc;
wxDC *m_dc;
// the buffer (selected in this DC)
const wxBitmap* m_buffer;
const wxBitmap *m_buffer;
// the buffering style
int m_style;
int m_style;
DECLARE_DYNAMIC_CLASS(wxBufferedDC)
DECLARE_NO_COPY_CLASS(wxBufferedDC)
public:
//
// BEGIN DC-DELEGATION IMPLEMENTATION
//
wxDC& GetAttachedDC()
{
return *m_targetDc;
}
// Use this to set the DC which receives delegated calls.
void AttachDC(wxDC* dc)
{
m_targetDc = dc;
#ifdef __WXMSW__
SetHDC( dc ? dc->GetHDC() : NULL );
#endif
}
// Sets DC to NULL
wxDC* DetachDC()
{
wxDC* retDc = m_targetDc;
AttachDC(NULL);
return retDc;
}
#ifdef __WXGTK__
virtual GdkWindow* GetGDKWindow() const
{
return m_targetDc->GetGDKWindow();
}
virtual wxBitmap GetSelectedBitmap() const
{
return m_targetDc->GetSelectedBitmap();
}
#endif
bool Blit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,
wxDC *source, wxCoord xsrc, wxCoord ysrc,
int rop = wxCOPY, bool useMask = false, wxCoord xsrcMask = wxDefaultCoord, wxCoord ysrcMask = wxDefaultCoord)
{ return m_targetDc->Blit(xdest, ydest, width, height,
source, xsrc, ysrc, rop,
useMask, xsrcMask, ysrcMask); }
bool Blit(const wxPoint& destPt, const wxSize& sz,
wxDC *source, const wxPoint& srcPt,
int rop = wxCOPY, bool useMask = false, const wxPoint& srcPtMask = wxDefaultPosition)
{ return m_targetDc->Blit(destPt, sz, source, srcPt,
rop, useMask, srcPtMask); }
virtual void CalcBoundingBox(wxCoord x, wxCoord y) { m_targetDc->CalcBoundingBox(x, y); }
#if defined(__WXWINCE__)
void CalculateEllipticPoints( wxList* points,
wxCoord xStart, wxCoord yStart,
wxCoord w, wxCoord h,
double sa, double ea )
{ m_targetDc->CalculateEllipticPoints(points, xStart, yStart, w,
h, sa, ea); }
#endif // defined(__WXWINCE__)
virtual bool CanDrawBitmap() const { return m_targetDc->CanDrawBitmap(); }
virtual bool CanGetTextExtent() const { return m_targetDc->CanGetTextExtent(); }
virtual void Clear() { m_targetDc->Clear(); }
virtual void ComputeScaleAndOrigin() { m_targetDc->ComputeScaleAndOrigin(); }
void CrossHair(wxCoord x, wxCoord y) { m_targetDc->CrossHair(x, y); }
void CrossHair(const wxPoint& pt) { m_targetDc->CrossHair(pt); }
virtual void DestroyClippingRegion() { m_targetDc->DestroyClippingRegion(); }
wxCoord DeviceToLogicalX(wxCoord x) const { return m_targetDc->DeviceToLogicalX(x); }
wxCoord DeviceToLogicalXRel(wxCoord x) const { return m_targetDc->DeviceToLogicalXRel(x); }
wxCoord DeviceToLogicalY(wxCoord y) const { return m_targetDc->DeviceToLogicalY(y); }
wxCoord DeviceToLogicalYRel(wxCoord y) const { return m_targetDc->DeviceToLogicalYRel(y); }
#if defined(__WXWINCE__)
virtual void DoDrawEllipticArcRot( wxCoord x, wxCoord y,
wxCoord w, wxCoord h,
double sa = 0, double ea = 0, double angle = 0 )
{ m_targetDc->DoDrawEllipticArcRot(x, y, w, h,
sa, ea, angle); }
#endif // defined(__WXWINCE__)
void DrawArc(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2,
wxCoord xc, wxCoord yc)
{ m_targetDc->DrawArc(x1, y1, x2, y2,
xc, yc); }
void DrawArc(const wxPoint& pt1, const wxPoint& pt2, const wxPoint& centre)
{ m_targetDc->DrawArc(pt1, pt2, centre); }
void DrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y,
bool useMask = false)
{ m_targetDc->DrawBitmap(bmp, x, y, useMask); }
void DrawBitmap(const wxBitmap &bmp, const wxPoint& pt,
bool useMask = false)
{ m_targetDc->DrawBitmap(bmp, pt, useMask); }
void DrawCheckMark(wxCoord x, wxCoord y,
wxCoord width, wxCoord height)
{ m_targetDc->DrawCheckMark(x, y, width, height); }
void DrawCheckMark(const wxRect& rect) { m_targetDc->DrawCheckMark(rect); }
void DrawCircle(wxCoord x, wxCoord y, wxCoord radius) { m_targetDc->DrawCircle(x, y, radius); }
void DrawCircle(const wxPoint& pt, wxCoord radius) { m_targetDc->DrawCircle(pt, radius); }
void DrawEllipse(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
{ m_targetDc->DrawEllipse(x, y, width, height); }
void DrawEllipse(const wxPoint& pt, const wxSize& sz) { m_targetDc->DrawEllipse(pt, sz); }
void DrawEllipse(const wxRect& rect) { m_targetDc->DrawEllipse(rect); }
void DrawEllipticArc(wxCoord x, wxCoord y, wxCoord w, wxCoord h,
double sa, double ea)
{ m_targetDc->DrawEllipticArc(x, y, w, h,
sa, ea); }
void DrawEllipticArc(const wxPoint& pt, const wxSize& sz,
double sa, double ea)
{ m_targetDc->DrawEllipticArc(pt, sz, sa, ea); }
#if defined(__WXWINCE__)
void DrawEllipticArcRot( wxCoord x, wxCoord y,
wxCoord width, wxCoord height,
double sa = 0, double ea = 0, double angle = 0 )
{ m_targetDc->DrawEllipticArcRot(x, y, width, height,
sa, ea, angle); }
void DrawEllipticArcRot( const wxPoint& pt,
const wxSize& sz,
double sa = 0, double ea = 0, double angle = 0 )
{ m_targetDc->DrawEllipticArcRot(pt, sz, sa, ea,
angle); }
void DrawEllipticArcRot( const wxRect& rect,
double sa = 0, double ea = 0, double angle = 0 )
{ m_targetDc->DrawEllipticArcRot(rect, sa, ea, angle); }
#endif // defined(__WXWINCE__)
void DrawIcon(const wxIcon& icon, wxCoord x, wxCoord y) { m_targetDc->DrawIcon(icon, x, y); }
void DrawIcon(const wxIcon& icon, const wxPoint& pt) { m_targetDc->DrawIcon(icon, pt); }
virtual void DrawLabel(const wxString& text,
const wxBitmap& image,
const wxRect& rect,
int alignment = wxALIGN_LEFT | wxALIGN_TOP,
int indexAccel = -1,
wxRect *rectBounding = NULL)
{ m_targetDc->DrawLabel(text, image, rect, alignment,
indexAccel, rectBounding); }
void DrawLabel(const wxString& text, const wxRect& rect,
int alignment = wxALIGN_LEFT | wxALIGN_TOP,
int indexAccel = -1)
{ m_targetDc->DrawLabel(text, rect, alignment, indexAccel); }
void DrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
{ m_targetDc->DrawLine(x1, y1, x2, y2); }
void DrawLine(const wxPoint& pt1, const wxPoint& pt2) { m_targetDc->DrawLine(pt1, pt2); }
void DrawLines(int n, wxPoint points[],
wxCoord xoffset = 0, wxCoord yoffset = 0)
{ m_targetDc->DrawLines(n, points, xoffset, yoffset); }
void DrawLines(const wxList *list,
wxCoord xoffset = 0, wxCoord yoffset = 0)
{ m_targetDc->DrawLines(list, xoffset, yoffset); }
virtual void DrawObject(wxDrawObject* drawobject) { m_targetDc->DrawObject(drawobject); }
void DrawPoint(wxCoord x, wxCoord y) { m_targetDc->DrawPoint(x, y); }
void DrawPoint(const wxPoint& pt) { m_targetDc->DrawPoint(pt); }
void DrawPolyPolygon(int n, int count[], wxPoint points[],
wxCoord xoffset = 0, wxCoord yoffset = 0,
int fillStyle = wxODDEVEN_RULE)
{ m_targetDc->DrawPolyPolygon(n, count, points, xoffset,
yoffset, fillStyle); }
void DrawPolygon(int n, wxPoint points[],
wxCoord xoffset = 0, wxCoord yoffset = 0,
int fillStyle = wxODDEVEN_RULE)
{ m_targetDc->DrawPolygon(n, points, xoffset, yoffset,
fillStyle); }
void DrawPolygon(const wxList *list,
wxCoord xoffset = 0, wxCoord yoffset = 0,
int fillStyle = wxODDEVEN_RULE)
{ m_targetDc->DrawPolygon(list, xoffset, yoffset, fillStyle); }
void DrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
{ m_targetDc->DrawRectangle(x, y, width, height); }
void DrawRectangle(const wxPoint& pt, const wxSize& sz) { m_targetDc->DrawRectangle(pt, sz); }
void DrawRectangle(const wxRect& rect) { m_targetDc->DrawRectangle(rect); }
void DrawRotatedText(const wxString& text, wxCoord x, wxCoord y, double angle)
{ m_targetDc->DrawRotatedText(text, x, y, angle); }
void DrawRotatedText(const wxString& text, const wxPoint& pt, double angle)
{ m_targetDc->DrawRotatedText(text, pt, angle); }
void DrawRoundedRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height,
double radius)
{ m_targetDc->DrawRoundedRectangle(x, y, width, height,
radius); }
void DrawRoundedRectangle(const wxPoint& pt, const wxSize& sz,
double radius)
{ m_targetDc->DrawRoundedRectangle(pt, sz, radius); }
void DrawRoundedRectangle(const wxRect& r, double radius)
{ m_targetDc->DrawRoundedRectangle(r, radius); }
#if wxUSE_SPLINES
void DrawSpline(wxCoord x1, wxCoord y1,
wxCoord x2, wxCoord y2,
wxCoord x3, wxCoord y3)
{ m_targetDc->DrawSpline(x1, y1, x2, y2,
x3, y3); }
void DrawSpline(int n, wxPoint points[]) { m_targetDc->DrawSpline(n, points); }
void DrawSpline(wxList *points) { m_targetDc->DrawSpline(points); }
#endif // wxUSE_SPLINES
void DrawText(const wxString& text, wxCoord x, wxCoord y)
{ m_targetDc->DrawText(text, x, y); }
void DrawText(const wxString& text, const wxPoint& pt) { m_targetDc->DrawText(text, pt); }
virtual void EndDoc() { m_targetDc->EndDoc(); }
virtual void EndPage() { m_targetDc->EndPage(); }
bool FloodFill(wxCoord x, wxCoord y, const wxColour& col,
int style = wxFLOOD_SURFACE)
{ return m_targetDc->FloodFill(x, y, col, style); }
bool FloodFill(const wxPoint& pt, const wxColour& col,
int style = wxFLOOD_SURFACE)
{ return m_targetDc->FloodFill(pt, col, style); }
virtual const wxBrush& GetBackground() const { return m_targetDc->GetBackground(); }
virtual int GetBackgroundMode() const { return m_targetDc->GetBackgroundMode(); }
virtual const wxBrush& GetBrush() const { return m_targetDc->GetBrush(); }
virtual wxCoord GetCharHeight() const { return m_targetDc->GetCharHeight(); }
virtual wxCoord GetCharWidth() const { return m_targetDc->GetCharWidth(); }
void GetClippingBox(wxCoord *x, wxCoord *y, wxCoord *w, wxCoord *h) const
{ m_targetDc->GetClippingBox(x, y, w, h); }
void GetClippingBox(wxRect& rect) const { m_targetDc->GetClippingBox(rect); }
void GetClippingBox(long *x, long *y, long *w, long *h) const
{ m_targetDc->GetClippingBox(x, y, w, h); }
virtual int GetDepth() const { return m_targetDc->GetDepth(); }
void GetDeviceOrigin(wxCoord *x, wxCoord *y) const { m_targetDc->GetDeviceOrigin(x, y); }
wxPoint GetDeviceOrigin() const { return m_targetDc->GetDeviceOrigin(); }
void GetDeviceOrigin(long *x, long *y) const { m_targetDc->GetDeviceOrigin(x, y); }
virtual const wxFont& GetFont() const { return m_targetDc->GetFont(); }
virtual int GetLogicalFunction() const { return m_targetDc->GetLogicalFunction(); }
void GetLogicalOrigin(wxCoord *x, wxCoord *y) const { m_targetDc->GetLogicalOrigin(x, y); }
wxPoint GetLogicalOrigin() const { return m_targetDc->GetLogicalOrigin(); }
void GetLogicalOrigin(long *x, long *y) const { m_targetDc->GetLogicalOrigin(x, y); }
virtual void GetLogicalScale(double *x, double *y) { m_targetDc->GetLogicalScale(x, y); }
virtual int GetMapMode() const { return m_targetDc->GetMapMode(); }
virtual void GetMultiLineTextExtent(const wxString& text,
wxCoord *width,
wxCoord *height,
wxCoord *heightLine = NULL,
wxFont *font = NULL)
{ m_targetDc->GetMultiLineTextExtent(text, width, height, heightLine,
font); }
#if WXWIN_COMPATIBILITY_2_4
virtual bool GetOptimization() { return m_targetDc->GetOptimization(); }
#endif // WXWIN_COMPATIBILITY_2_4
virtual wxSize GetPPI() const { return m_targetDc->GetPPI(); }
bool GetPartialTextExtents(const wxString& text, wxArrayInt& widths) const
{ return m_targetDc->GetPartialTextExtents(text, widths); }
virtual const wxPen& GetPen() const { return m_targetDc->GetPen(); }
bool GetPixel(wxCoord x, wxCoord y, wxColour *col) const
{ return m_targetDc->GetPixel(x, y, col); }
bool GetPixel(const wxPoint& pt, wxColour *col) const { return m_targetDc->GetPixel(pt, col); }
void GetSize(int *width, int *height) const { m_targetDc->GetSize(width, height); }
wxSize GetSize() const { return m_targetDc->GetSize(); }
void GetSizeMM(int* width, int* height) const { m_targetDc->GetSizeMM(width, height); }
wxSize GetSizeMM() const { return m_targetDc->GetSizeMM(); }
virtual const wxColour& GetTextBackground() const { return m_targetDc->GetTextBackground(); }
void GetTextExtent(const wxString& string,
wxCoord *x, wxCoord *y,
wxCoord *descent = NULL,
wxCoord *externalLeading = NULL,
wxFont *theFont = NULL) const
{ m_targetDc->GetTextExtent(string, x, y, descent,
externalLeading, theFont); }
void GetTextExtent(const wxString& string,
long *x, long *y,
long *descent = NULL,
long *externalLeading = NULL,
wxFont *theFont = NULL) const
{ m_targetDc->GetTextExtent(string, x, y, descent,
externalLeading, theFont); }
virtual const wxColour& GetTextForeground() const { return m_targetDc->GetTextForeground(); }
virtual void GetUserScale(double *x, double *y) const { m_targetDc->GetUserScale(x, y); }
void GradientFillConcentric(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour)
{ m_targetDc->GradientFillConcentric(rect, initialColour, destColour); }
void GradientFillConcentric(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour,
const wxPoint& circleCenter)
{ m_targetDc->GradientFillConcentric(rect, initialColour, destColour, circleCenter); }
void GradientFillLinear(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour,
wxDirection nDirection = wxEAST)
{ m_targetDc->GradientFillLinear(rect, initialColour, destColour, nDirection); }
wxCoord LogicalToDeviceX(wxCoord x) const { return m_targetDc->LogicalToDeviceX(x); }
wxCoord LogicalToDeviceXRel(wxCoord x) const { return m_targetDc->LogicalToDeviceXRel(x); }
wxCoord LogicalToDeviceY(wxCoord y) const { return m_targetDc->LogicalToDeviceY(y); }
wxCoord LogicalToDeviceYRel(wxCoord y) const { return m_targetDc->LogicalToDeviceYRel(y); }
wxCoord MaxX() const { return m_targetDc->MaxX(); }
wxCoord MaxY() const { return m_targetDc->MaxY(); }
wxCoord MinX() const { return m_targetDc->MinX(); }
wxCoord MinY() const { return m_targetDc->MinY(); }
virtual bool Ok() const { return m_targetDc->Ok(); }
void ResetBoundingBox()
{ m_targetDc->ResetBoundingBox(); }
#if defined(__WXWINCE__)
void Rotate( wxList* points, double angle, wxPoint center = wxPoint(0,0) )
{ m_targetDc->Rotate(points, angle, center); }
#endif // defined(__WXWINCE__)
virtual void SetAxisOrientation(bool xLeftRight, bool yBottomUp)
{ m_targetDc->SetAxisOrientation(xLeftRight, yBottomUp); }
virtual void SetBackground(const wxBrush& brush) { m_targetDc->SetBackground(brush); }
virtual void SetBackgroundMode(int mode) { m_targetDc->SetBackgroundMode(mode); }
virtual void SetBrush(const wxBrush& brush) { m_targetDc->SetBrush(brush); }
void SetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
{ m_targetDc->SetClippingRegion(x, y, width, height); }
void SetClippingRegion(const wxPoint& pt, const wxSize& sz)
{ m_targetDc->SetClippingRegion(pt, sz); }
void SetClippingRegion(const wxRect& rect) { m_targetDc->SetClippingRegion(rect); }
void SetClippingRegion(const wxRegion& region) { m_targetDc->SetClippingRegion(region); }
virtual void SetDeviceOrigin(wxCoord x, wxCoord y) { m_targetDc->SetDeviceOrigin(x, y); }
virtual void SetFont(const wxFont& font) { m_targetDc->SetFont(font); }
virtual void SetLogicalFunction(int function) { m_targetDc->SetLogicalFunction(function); }
virtual void SetLogicalOrigin(wxCoord x, wxCoord y) { m_targetDc->SetLogicalOrigin(x, y); }
virtual void SetLogicalScale(double x, double y) { m_targetDc->SetLogicalScale(x, y); }
virtual void SetMapMode(int mode) { m_targetDc->SetMapMode(mode); }
#if WXWIN_COMPATIBILITY_2_4
virtual void SetOptimization(bool opt) { m_targetDc->SetOptimization(opt); }
#endif // WXWIN_COMPATIBILITY_2_4
#if wxUSE_PALETTE
virtual void SetPalette(const wxPalette& palette) { m_targetDc->SetPalette(palette); }
#endif // wxUSE_PALETTE
virtual void SetPen(const wxPen& pen) { m_targetDc->SetPen(pen); }
virtual void SetTextBackground(const wxColour& colour) { m_targetDc->SetTextBackground(colour); }
virtual void SetTextForeground(const wxColour& colour) { m_targetDc->SetTextForeground(colour); }
virtual void SetUserScale(double x, double y) { m_targetDc->SetUserScale(x, y); }
virtual bool StartDoc(const wxString& message) { return m_targetDc->StartDoc(message); }
virtual void StartPage() { m_targetDc->StartPage(); }
protected:
virtual bool DoBlit(wxCoord xdest, wxCoord ydest,
wxCoord width, wxCoord height,
wxDC *source, wxCoord xsrc, wxCoord ysrc,
int rop = wxCOPY, bool useMask = false, wxCoord xsrcMask = wxDefaultCoord, wxCoord ysrcMask = wxDefaultCoord)
{ return m_targetDc->Blit(xdest, ydest, width, height,
source, xsrc, ysrc, rop,
useMask, xsrcMask, ysrcMask); }
virtual void DoCrossHair(wxCoord x, wxCoord y) { m_targetDc->CrossHair(x, y); }
virtual void DoDrawArc(wxCoord x1, wxCoord y1,
wxCoord x2, wxCoord y2,
wxCoord xc, wxCoord yc)
{ m_targetDc->DrawArc(x1, y1, x2, y2,
xc, yc); }
virtual void DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y,
bool useMask = false)
{ m_targetDc->DrawBitmap(bmp, x, y, useMask); }
virtual void DoDrawCheckMark(wxCoord x, wxCoord y,
wxCoord width, wxCoord height)
{ m_targetDc->DrawCheckMark(x, y, width, height); }
virtual void DoDrawEllipse(wxCoord x, wxCoord y,
wxCoord width, wxCoord height)
{ m_targetDc->DrawEllipse(x, y, width, height); }
virtual void DoDrawEllipticArc(wxCoord x, wxCoord y, wxCoord w, wxCoord h,
double sa, double ea)
{ m_targetDc->DrawEllipticArc(x, y, w, h,
sa, ea); }
virtual void DoDrawIcon(const wxIcon& icon, wxCoord x, wxCoord y)
{ m_targetDc->DrawIcon(icon, x, y); }
virtual void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
{ m_targetDc->DrawLine(x1, y1, x2, y2); }
virtual void DoDrawLines(int n, wxPoint points[],
wxCoord xoffset, wxCoord yoffset)
{ m_targetDc->DrawLines(n, points, xoffset, yoffset); }
virtual void DoDrawPoint(wxCoord x, wxCoord y) { m_targetDc->DrawPoint(x, y); }
virtual void DoDrawPolyPolygon(int n, int count[], wxPoint points[],
wxCoord xoffset, wxCoord yoffset,
int fillStyle)
{ m_targetDc->DrawPolyPolygon(n, count, points, xoffset,
yoffset, fillStyle); }
virtual void DoDrawPolygon(int n, wxPoint points[],
wxCoord xoffset, wxCoord yoffset,
int fillStyle = wxODDEVEN_RULE)
{ m_targetDc->DrawPolygon(n, points, xoffset, yoffset,
fillStyle); }
virtual void DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
{ m_targetDc->DrawRectangle(x, y, width, height); }
virtual void DoDrawRotatedText(const wxString& text,
wxCoord x, wxCoord y, double angle)
{ m_targetDc->DrawRotatedText(text, x, y, angle); }
virtual void DoDrawRoundedRectangle(wxCoord x, wxCoord y,
wxCoord width, wxCoord height,
double radius)
{ m_targetDc->DrawRoundedRectangle(x, y, width, height,
radius); }
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points) { m_targetDc->DrawSpline(points); }
#endif // wxUSE_SPLINES
virtual void DoDrawText(const wxString& text, wxCoord x, wxCoord y)
{ m_targetDc->DrawText(text, x, y); }
virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
int style = wxFLOOD_SURFACE)
{ return m_targetDc->FloodFill(x, y, col, style); }
virtual void DoGetClippingBox(wxCoord *x, wxCoord *y,
wxCoord *w, wxCoord *h) const
{ m_targetDc->GetClippingBox(x, y, w, h); }
virtual void DoGetDeviceOrigin(wxCoord *x, wxCoord *y) const
{ m_targetDc->GetDeviceOrigin(x, y); }
virtual void DoGetLogicalOrigin(wxCoord *x, wxCoord *y) const
{ m_targetDc->GetLogicalOrigin(x, y); }
virtual bool DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) const
{ return m_targetDc->GetPartialTextExtents(text, widths); }
virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const
{ return m_targetDc->GetPixel(x, y, col); }
virtual void DoGetSize(int *width, int *height) const { m_targetDc->GetSize(width, height); }
virtual void DoGetSizeMM(int* width, int* height) const { m_targetDc->GetSizeMM(width, height); }
virtual void DoGetTextExtent(const wxString& string,
wxCoord *x, wxCoord *y,
wxCoord *descent = NULL,
wxCoord *externalLeading = NULL,
wxFont *theFont = NULL) const
{ m_targetDc->GetTextExtent(string, x, y, descent,
externalLeading, theFont); }
virtual void DoGradientFillLinear(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour,
wxDirection nDirection = wxEAST)
{ m_targetDc->GradientFillLinear(rect, initialColour, destColour, nDirection); }
virtual void DoSetClippingRegion(wxCoord x, wxCoord y,
wxCoord width, wxCoord height)
{ m_targetDc->SetClippingRegion(x, y, width, height); }
virtual void DoSetClippingRegionAsRegion(const wxRegion& region)
{ m_targetDc->SetClippingRegion(region); }
};
@@ -606,7 +154,7 @@ protected:
// Creates a double buffered wxPaintDC, optionally allowing the
// user to specify their own buffer to use.
class wxBufferedPaintDC : public wxBufferedDC
class WXDLLEXPORT wxBufferedPaintDC : public wxBufferedDC
{
public:
// If no bitmap is supplied by the user, a temporary one will be created.
@@ -620,7 +168,7 @@ public:
if( buffer != wxNullBitmap )
Init(&m_paintdc, buffer, style);
else
Init(window, &m_paintdc, window->GetClientSize(), style);
Init(&m_paintdc, window->GetClientSize(), style);
}
// If no bitmap is supplied by the user, a temporary one will be created.
@@ -631,7 +179,7 @@ public:
if (style & wxBUFFER_VIRTUAL_AREA)
window->PrepareDC( m_paintdc );
Init(window, &m_paintdc, window->GetClientSize(), style);
Init(&m_paintdc, window->GetClientSize(), style);
}
// default copy ctor ok.
@@ -646,6 +194,7 @@ public:
private:
wxPaintDC m_paintdc;
DECLARE_ABSTRACT_CLASS(wxBufferedPaintDC)
DECLARE_NO_COPY_CLASS(wxBufferedPaintDC)
};
@@ -684,7 +233,7 @@ private:
{
// Help the user to get the double-buffering working properly.
wxASSERT_MSG( win->GetBackgroundStyle() == wxBG_STYLE_CUSTOM,
wxT("In constructor, you need to call GetBackgroundStyle(wxBG_STYLE_CUSTOM), ")
wxT("In constructor, you need to call SetBackgroundStyle(wxBG_STYLE_CUSTOM), ")
wxT("and also, if needed, paint the background manually in the paint event handler."));
}
@@ -699,4 +248,16 @@ typedef wxAutoBufferedPaintDCBase wxAutoBufferedPaintDC;
#endif
// Check if the window is natively double buffered and will return a wxPaintDC
// if it is, a wxBufferedPaintDC otherwise. It is the caller's responsibility
// to delete the wxDC pointer when finished with it.
inline wxDC* wxAutoBufferedPaintDCFactory(wxWindow* window)
{
if ( window->IsDoubleBuffered() )
return new wxPaintDC(window);
else
return new wxBufferedPaintDC(window);
}
#endif // _WX_DCBUFFER_H_

181
include/wx/dcgraph.h Executable file
View File

@@ -0,0 +1,181 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/graphdc.h
// Purpose: graphics context device bridge header
// Author: Stefan Csomor
// Modified by:
// Created:
// Copyright: (c) Stefan Csomor
// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GRAPHICS_DC_H_
#define _WX_GRAPHICS_DC_H_
#if wxUSE_GRAPHICS_CONTEXT
#include "wx/geometry.h"
#include "wx/dynarray.h"
class WXDLLEXPORT wxGraphicsContext;
class WXDLLEXPORT wxWindowDC;
#ifdef __WXMAC__
#define wxGCDC wxDC
#endif
class WXDLLEXPORT wxGCDC:
#ifdef __WXMAC__
public wxDCBase
#else
public wxDC
#endif
{
DECLARE_DYNAMIC_CLASS(wxGCDC)
DECLARE_NO_COPY_CLASS(wxGCDC)
public:
wxGCDC(const wxWindowDC& dc);
wxGCDC();
virtual ~wxGCDC();
void Init();
// implement base class pure virtuals
// ----------------------------------
virtual void Clear();
virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return true; }
virtual void EndDoc(void) {}
virtual void StartPage(void) {}
virtual void EndPage(void) {}
virtual void SetFont(const wxFont& font);
virtual void SetPen(const wxPen& pen);
virtual void SetBrush(const wxBrush& brush);
virtual void SetBackground(const wxBrush& brush);
virtual void SetBackgroundMode(int mode);
virtual void SetPalette(const wxPalette& palette);
virtual void DestroyClippingRegion();
virtual wxCoord GetCharHeight() const;
virtual wxCoord GetCharWidth() const;
virtual bool CanDrawBitmap() const;
virtual bool CanGetTextExtent() const;
virtual int GetDepth() const;
virtual wxSize GetPPI() const;
virtual void SetMapMode(int mode);
virtual void SetUserScale(double x, double y);
virtual void SetLogicalScale(double x, double y);
virtual void SetLogicalOrigin(wxCoord x, wxCoord y);
virtual void SetDeviceOrigin(wxCoord x, wxCoord y);
virtual void SetAxisOrientation(bool xLeftRight, bool yBottomUp);
virtual void SetLogicalFunction(int function);
virtual void SetTextForeground(const wxColour& colour);
virtual void SetTextBackground(const wxColour& colour);
virtual void ComputeScaleAndOrigin();
wxGraphicsContext* GetGraphicsContext() { return m_graphicContext; }
virtual void SetGraphicsContext( wxGraphicsContext* ctx );
protected:
// the true implementations
virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
int style = wxFLOOD_SURFACE);
virtual void DoGradientFillLinear(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour,
wxDirection nDirection = wxEAST);
virtual void DoGradientFillConcentric(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour,
const wxPoint& circleCenter);
virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const;
virtual void DoDrawPoint(wxCoord x, wxCoord y);
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points);
#endif
virtual void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2);
virtual void DoDrawArc(wxCoord x1, wxCoord y1,
wxCoord x2, wxCoord y2,
wxCoord xc, wxCoord yc);
virtual void DoDrawCheckMark(wxCoord x, wxCoord y,
wxCoord width, wxCoord height);
virtual void DoDrawEllipticArc(wxCoord x, wxCoord y, wxCoord w, wxCoord h,
double sa, double ea);
virtual void DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
virtual void DoDrawRoundedRectangle(wxCoord x, wxCoord y,
wxCoord width, wxCoord height,
double radius);
virtual void DoDrawEllipse(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
virtual void DoCrossHair(wxCoord x, wxCoord y);
virtual void DoDrawIcon(const wxIcon& icon, wxCoord x, wxCoord y);
virtual void DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y,
bool useMask = false);
virtual void DoDrawText(const wxString& text, wxCoord x, wxCoord y);
virtual void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y,
double angle);
virtual bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,
wxDC *source, wxCoord xsrc, wxCoord ysrc,
int rop = wxCOPY, bool useMask = false, wxCoord xsrcMask = -1, wxCoord ysrcMask = -1);
virtual void DoGetSize(int *,int *) const;
virtual void DoGetSizeMM(int* width, int* height) const;
virtual void DoDrawLines(int n, wxPoint points[],
wxCoord xoffset, wxCoord yoffset);
virtual void DoDrawPolygon(int n, wxPoint points[],
wxCoord xoffset, wxCoord yoffset,
int fillStyle = wxODDEVEN_RULE);
virtual void DoDrawPolyPolygon(int n, int count[], wxPoint points[],
wxCoord xoffset, wxCoord yoffset,
int fillStyle);
virtual void DoSetClippingRegionAsRegion(const wxRegion& region);
virtual void DoSetClippingRegion(wxCoord x, wxCoord y,
wxCoord width, wxCoord height);
virtual void DoGetTextExtent(const wxString& string,
wxCoord *x, wxCoord *y,
wxCoord *descent = NULL,
wxCoord *externalLeading = NULL,
wxFont *theFont = NULL) const;
virtual bool DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) const;
protected:
// scaling variables
double m_mm_to_pix_x, m_mm_to_pix_y;
double m_formerScaleX, m_formerScaleY;
wxGraphicsContext* m_graphicContext;
};
#endif
#endif // _WX_GRAPHICS_DC_H_

View File

@@ -1545,60 +1545,6 @@ enum wxBorder
#define wxSP_ARROW_KEYS 0x1000
#define wxSP_WRAP 0x2000
/*
* wxBookCtrl flags (common for wxNotebook, wxListbook, wxChoicebook, wxTreebook)
*/
#define wxBK_DEFAULT 0x0000
#define wxBK_TOP 0x0010
#define wxBK_BOTTOM 0x0020
#define wxBK_LEFT 0x0040
#define wxBK_RIGHT 0x0080
#define wxBK_ALIGN_MASK ( wxBK_TOP | wxBK_BOTTOM | wxBK_LEFT | wxBK_RIGHT )
/*
* wxNotebook flags
*/
#if WXWIN_COMPATIBILITY_2_6
/* Use common book wxBK_* flags for describing alignment */
#define wxNB_DEFAULT wxBK_DEFAULT
#define wxNB_TOP wxBK_TOP
#define wxNB_BOTTOM wxBK_BOTTOM
#define wxNB_LEFT wxBK_LEFT
#define wxNB_RIGHT wxBK_RIGHT
#endif
#define wxNB_FIXEDWIDTH 0x0100
#define wxNB_MULTILINE 0x0200
#define wxNB_NOPAGETHEME 0x0400
#define wxNB_FLAT 0x0800
/*
* wxListbook flags
*/
#if WXWIN_COMPATIBILITY_2_6
/* Use common book wxBK_* flags for describing alignment */
#define wxLB_DEFAULT wxBK_DEFAULT
#define wxLB_TOP wxBK_TOP
#define wxLB_BOTTOM wxBK_BOTTOM
#define wxLB_LEFT wxBK_LEFT
#define wxLB_RIGHT wxBK_RIGHT
#define wxLB_ALIGN_MASK wxBK_ALIGN_MASK
#endif
/*
* wxChoicebook flags
*/
#if WXWIN_COMPATIBILITY_2_6
/* Use common book wxBK_* flags for describing alignment */
#define wxCHB_DEFAULT wxBK_DEFAULT
#define wxCHB_TOP wxBK_TOP
#define wxCHB_BOTTOM wxBK_BOTTOM
#define wxCHB_LEFT wxBK_LEFT
#define wxCHB_RIGHT wxBK_RIGHT
#define wxCHB_ALIGN_MASK wxBK_ALIGN_MASK
#endif
/*
* wxTabCtrl flags
*/

View File

@@ -17,7 +17,7 @@
class WXDLLIMPEXP_CORE wxMemoryDC : public wxDC
{
public:
wxMemoryDC();
wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
wxMemoryDC(wxDC *dc); // create compatible DC
virtual void SelectObject(const wxBitmap& bitmap);

View File

@@ -342,15 +342,25 @@ enum wxFileKind
typedef unsigned long mode_t;
#endif
WXDLLIMPEXP_BASE int wxStat( const wxChar *file_name, wxStructStat *buf );
WXDLLIMPEXP_BASE int wxLstat( const wxChar *file_name, wxStructStat *buf );
WXDLLIMPEXP_BASE int wxAccess( const wxChar *pathname, int mode );
WXDLLIMPEXP_BASE int wxOpen( const wxChar *pathname, int flags, mode_t mode );
#else
#define wxOpen open
#define wxStat stat
#define wxLstat lstat
#define wxAccess access
#endif
#define wxHAVE_NATIVE_LSTAT
#endif // platforms
// if the platform doesn't have symlinks, define wxLstat to be the same as
// wxStat to avoid #ifdefs in the code using it
#ifndef wxHAVE_NATIVE_LSTAT
#define wxLstat wxStat
#endif
#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
//
// VisualAge C++ V4.0 cannot have any external linkage const decs

View File

@@ -31,7 +31,7 @@ class WXDLLIMPEXP_CORE wxGDIObject: public wxObject
public:
bool IsNull() const { return m_refData == NULL; }
#if defined(__WXMSW__) || defined(__WXOS2__) || defined(__WXPALMOS__)
#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXPALMOS__)
// Creates the resource
virtual bool RealizeResource() { return false; }
@@ -42,7 +42,7 @@ public:
// Returns handle.
virtual WXHANDLE GetResourceHandle() const { return 0; }
#endif // defined(__WXMSW__) || defined(__WXOS2__)
#endif // defined(__WXMSW__) || defined(__WXPM__)
DECLARE_DYNAMIC_CLASS(wxGDIObject)
};

View File

@@ -108,6 +108,8 @@ public:
wxAnimation GetAnimation() const
{ return m_animation; }
void SetInactiveBitmap(const wxBitmap &bmp);
public: // event handlers
void OnPaint(wxPaintEvent& event);
@@ -140,9 +142,11 @@ protected: // internal utilities
void FitToAnimation();
// Draw the background; use this when e.g. previous frame had wxANIM_TOBACKGROUND disposal.
void DisposeToBackground();
void DisposeToBackground(wxDC& dc);
void DisposeToBackground(wxDC& dc, const wxPoint &pos, const wxSize &sz);
void UpdateBackingStoreWithStaticImage();
void IncrementalUpdateBackingStore();
bool RebuildBackingStoreUpToFrame(size_t);
void DrawFrame(wxDC &dc, size_t);

View File

@@ -4,7 +4,7 @@
// Author: Jaakko Salli
// Modified by:
// Created: Aug-30-2006
// RCS-ID: $Id:
// RCS-ID: $Id$
// Copyright: (c) Jaakko Salli
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////

View File

@@ -28,7 +28,7 @@ extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxGridNameStr[];
//
#define WXGRID_DEFAULT_NUMBER_ROWS 10
#define WXGRID_DEFAULT_NUMBER_COLS 10
#ifdef __WXMSW__
#if defined(__WXMSW__) || defined(__WXGTK20__)
#define WXGRID_DEFAULT_ROW_HEIGHT 25
#else
#define WXGRID_DEFAULT_ROW_HEIGHT 30

View File

@@ -12,17 +12,13 @@
#ifndef _WX_GRAPHICS_H_
#define _WX_GRAPHICS_H_
#if wxUSE_GRAPHICS_CONTEXT
// ---------------------------------------------------------------------------
// macros
// ---------------------------------------------------------------------------
#include "wx/geometry.h"
#include "wx/dcclient.h"
#include "wx/dynarray.h"
class WXDLLEXPORT wxWindowDC;
/*
* notes about the graphics context apis
*
@@ -86,32 +82,89 @@ public :
void AddCurveToPoint( const wxPoint2DDouble& c1, const wxPoint2DDouble& c2, const wxPoint2DDouble& e);
void AddArc( const wxPoint2DDouble& c, wxDouble r, wxDouble startAngle, wxDouble endAngle, bool clockwise);
DECLARE_NO_COPY_CLASS(wxGraphicsPath)
};
/*
class WXDLLEXPORT wxGraphicsMatrix
{
public :
wxGraphicsMatrix() {}
virtual ~wxGraphicsMatrix() {}
wxGraphicsMatrix* Concat( const wxGraphicsMatrix *t ) const;
// returns the inverse matrix
wxGraphicsMatrix* Invert() const;
// returns true if the elements of the transformation matrix are equal ?
bool operator==(const wxGraphicsMatrix& t) const;
// return true if this is the identity matrix
bool IsIdentity();
//
// transformation
//
// translate
virtual void Translate( wxDouble dx , wxDouble dy ) = 0;
// scale
virtual void Scale( wxDouble xScale , wxDouble yScale ) = 0;
// rotate (radians)
virtual void Rotate( wxDouble angle ) = 0;
} ;
*/
class WXDLLEXPORT wxGraphicsContext
{
public:
wxGraphicsContext() {}
virtual ~wxGraphicsContext() {}
static wxGraphicsContext* Create( const wxWindowDC& dc) ;
static wxGraphicsContext* CreateFromNative( void * context ) ;
#ifdef __WXMAC__
static wxGraphicsContext* CreateFromNativeWindow( void * window ) ;
#endif
static wxGraphicsContext* Create( wxWindow* window ) ;
// creates a path instance that corresponds to the type of graphics context, ie GDIPlus, cairo, CoreGraphics ...
virtual wxGraphicsPath * CreatePath() = 0;
/*
// create a 'native' matrix corresponding to these values
virtual wxGraphicsMatrix* CreateMatrix( wxDouble a=1.0, wxDouble b=0.0, wxDouble c=0.0, wxDouble d=1.0,
wxDouble tx=0.0, wxDouble ty=0.0) = 0;
*/
// push the current state of the context, ie the transformation matrix on a stack
virtual void PushState() = 0;
// pops a stored state from the stack
virtual void PopState() = 0;
// clips drawings to the region
// clips drawings to the region, combined to current clipping region
virtual void Clip( const wxRegion &region ) = 0;
// clips drawings to the rect
virtual void Clip( wxDouble x, wxDouble y, wxDouble w, wxDouble h ) = 0;
// resets the clipping to original extent
virtual void ResetClip() = 0 ;
// returns the native context
virtual void * GetNativeContext() = 0;
//
// transformation
// transformation : changes the current transformation matrix CTM of the context
//
// translate
@@ -156,7 +209,7 @@ public:
// draws a path by first filling and then stroking
virtual void DrawPath( const wxGraphicsPath *path, int fillStyle = wxWINDING_RULE );
//
// text
//
@@ -208,149 +261,6 @@ public:
DECLARE_NO_COPY_CLASS(wxGraphicsContext)
};
class WXDLLEXPORT wxGCDC: public wxDC
{
DECLARE_DYNAMIC_CLASS(wxGCDC)
DECLARE_NO_COPY_CLASS(wxGCDC)
public:
wxGCDC(const wxWindowDC& dc);
wxGCDC();
virtual ~wxGCDC();
void Init();
// implement base class pure virtuals
// ----------------------------------
virtual void Clear();
virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return true; }
virtual void EndDoc(void) {}
virtual void StartPage(void) {}
virtual void EndPage(void) {}
virtual void SetFont(const wxFont& font);
virtual void SetPen(const wxPen& pen);
virtual void SetBrush(const wxBrush& brush);
virtual void SetBackground(const wxBrush& brush);
virtual void SetBackgroundMode(int mode);
virtual void SetPalette(const wxPalette& palette);
virtual void DestroyClippingRegion();
virtual wxCoord GetCharHeight() const;
virtual wxCoord GetCharWidth() const;
virtual bool CanDrawBitmap() const;
virtual bool CanGetTextExtent() const;
virtual int GetDepth() const;
virtual wxSize GetPPI() const;
virtual void SetMapMode(int mode);
virtual void SetUserScale(double x, double y);
virtual void SetLogicalScale(double x, double y);
virtual void SetLogicalOrigin(wxCoord x, wxCoord y);
virtual void SetDeviceOrigin(wxCoord x, wxCoord y);
virtual void SetAxisOrientation(bool xLeftRight, bool yBottomUp);
virtual void SetLogicalFunction(int function);
virtual void SetTextForeground(const wxColour& colour);
virtual void SetTextBackground(const wxColour& colour);
virtual void ComputeScaleAndOrigin();
wxGraphicsContext* GetGraphicContext() { return m_graphicContext; }
protected:
// the true implementations
virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
int style = wxFLOOD_SURFACE);
virtual void DoGradientFillLinear(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour,
wxDirection nDirection = wxEAST);
virtual void DoGradientFillConcentric(const wxRect& rect,
const wxColour& initialColour,
const wxColour& destColour,
const wxPoint& circleCenter);
virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const;
virtual void DoDrawPoint(wxCoord x, wxCoord y);
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points);
#endif
virtual void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2);
virtual void DoDrawArc(wxCoord x1, wxCoord y1,
wxCoord x2, wxCoord y2,
wxCoord xc, wxCoord yc);
virtual void DoDrawCheckMark(wxCoord x, wxCoord y,
wxCoord width, wxCoord height);
virtual void DoDrawEllipticArc(wxCoord x, wxCoord y, wxCoord w, wxCoord h,
double sa, double ea);
virtual void DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
virtual void DoDrawRoundedRectangle(wxCoord x, wxCoord y,
wxCoord width, wxCoord height,
double radius);
virtual void DoDrawEllipse(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
virtual void DoCrossHair(wxCoord x, wxCoord y);
virtual void DoDrawIcon(const wxIcon& icon, wxCoord x, wxCoord y);
virtual void DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y,
bool useMask = false);
virtual void DoDrawText(const wxString& text, wxCoord x, wxCoord y);
virtual void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y,
double angle);
virtual bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,
wxDC *source, wxCoord xsrc, wxCoord ysrc,
int rop = wxCOPY, bool useMask = false, wxCoord xsrcMask = -1, wxCoord ysrcMask = -1);
virtual void DoGetSize(int *,int *) const;
virtual void DoGetSizeMM(int* width, int* height) const;
virtual void DoDrawLines(int n, wxPoint points[],
wxCoord xoffset, wxCoord yoffset);
virtual void DoDrawPolygon(int n, wxPoint points[],
wxCoord xoffset, wxCoord yoffset,
int fillStyle = wxODDEVEN_RULE);
virtual void DoDrawPolyPolygon(int n, int count[], wxPoint points[],
wxCoord xoffset, wxCoord yoffset,
int fillStyle);
virtual void DoSetClippingRegionAsRegion(const wxRegion& region);
virtual void DoSetClippingRegion(wxCoord x, wxCoord y,
wxCoord width, wxCoord height);
virtual void DoGetTextExtent(const wxString& string,
wxCoord *x, wxCoord *y,
wxCoord *descent = NULL,
wxCoord *externalLeading = NULL,
wxFont *theFont = NULL) const;
virtual bool DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) const;
protected:
// scaling variables
double m_mm_to_pix_x, m_mm_to_pix_y;
wxGraphicsContext* m_graphicContext;
};
#endif
#endif
// _WX_GRID_H_BASE_
#endif // _WX_GRAPHICS_H_

View File

@@ -68,9 +68,6 @@ public: // used by GTK callbacks
protected:
GdkPixbufAnimation *m_pixbuf;
// used temporary by Load()
//bool m_bLoadComplete;
private:
void UnRef();
@@ -132,12 +129,14 @@ public: // public API
virtual bool IsPlaying() const;
bool SetBackgroundColour( const wxColour &colour );
void SetInactiveBitmap(const wxBitmap &bmp);
protected:
virtual wxSize DoGetBestSize() const;
void FitToAnimation();
void ClearToBackgroundColour();
void DisplayStaticImage();
void ResetAnim();
void ResetIter();

View File

@@ -122,6 +122,9 @@ private:
bool CreateFromImageAsPixmap(const wxImage& image, int depth);
bool CreateFromImageAsPixbuf(const wxImage& image);
virtual wxObjectRefData* CreateRefData() const;
virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
enum Representation
{
Pixmap,

View File

@@ -99,8 +99,6 @@ public:
virtual void SetDeviceOrigin( wxCoord x, wxCoord y );
virtual void SetAxisOrientation( bool xLeftRight, bool yBottomUp );
virtual GdkWindow* GetGDKWindow() const { return m_window; }
// protected:
// implementation
// --------------
@@ -128,7 +126,7 @@ public:
protected:
virtual void ComputeScaleAndOrigin();
GdkWindow *GetWindow() { return m_window; }
virtual GdkWindow *GetGDKWindow() const { return m_window; }
private:
DECLARE_DYNAMIC_CLASS(wxWindowDC)

View File

@@ -26,7 +26,7 @@ class WXDLLIMPEXP_CORE wxMemoryDC;
class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC
{
public:
wxMemoryDC();
wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
wxMemoryDC( wxDC *dc ); // Create compatible DC
virtual ~wxMemoryDC();
virtual void SelectObject( const wxBitmap& bitmap );

View File

@@ -84,6 +84,9 @@ protected:
// common part of all ctors
void Init();
virtual wxObjectRefData* CreateRefData() const;
virtual wxObjectRefData* CloneRefData(const wxObjectRefData* data) const;
private:
DECLARE_DYNAMIC_CLASS(wxFont)
};

View File

@@ -1,10 +1,10 @@
/////////////////////////////////////////////////////////////////////////////
// Name: gauge.h
// Name: wx/gtk/gauge.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_GAUGE_H_
@@ -57,12 +57,12 @@ public:
virtual void Pulse();
bool IsVertical() const { return HasFlag(wxGA_VERTICAL); }
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
virtual wxVisualAttributes GetDefaultAttributes() const;
// implementation
// -------------
@@ -83,4 +83,5 @@ private:
DECLARE_DYNAMIC_CLASS(wxGauge)
};
#endif // _WX_GTK_GAUGE_H_
#endif
// _WX_GTK_GAUGE_H_

View File

@@ -75,7 +75,7 @@ public:
virtual ~wxMenu();
void Attach(wxMenuBarBase *menubar);
void SetLayoutDirection(const wxLayoutDirection dir);
wxLayoutDirection GetLayoutDirection() const;
@@ -101,9 +101,10 @@ private:
// common part of Append (if pos == -1) and Insert
bool GtkAppend(wxMenuItem *item, int pos=-1);
GtkWidget *m_prevRadio;
GtkWidget *m_prevRadio;
DECLARE_DYNAMIC_CLASS(wxMenu)
};
#endif // __GTKMENUH__
#endif
// __GTKMENUH__

View File

@@ -15,6 +15,7 @@
#include <gtk/gtk.h>
#include "wx/event.h"
#include "wx/gtk/private/string.h"
// fail all version tests if the GTK+ version is so ancient that it doesn't
// even have GTK_CHECK_VERSION
@@ -80,26 +81,6 @@ G_END_DECLS
extern void wxapp_install_idle_handler();
extern bool g_isIdle;
//-----------------------------------------------------------------------------
// Convenience class for g_freeing a gchar* on scope exit automatically
//-----------------------------------------------------------------------------
class wxGtkString
{
public:
explicit wxGtkString(gchar *s) : m_str(s) { }
~wxGtkString() { g_free(m_str); }
const gchar *c_str() const { return m_str; }
operator gchar *() const { return m_str; }
private:
gchar *m_str;
DECLARE_NO_COPY_CLASS(wxGtkString)
};
//-----------------------------------------------------------------------------
// Misc. functions
//-----------------------------------------------------------------------------

View File

@@ -0,0 +1,35 @@
///////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/private/string.h
// Purpose: wxGtkString class declaration
// Author: Vadim Zeitlin
// Created: 2006-10-19
// RCS-ID: $Id$
// Copyright: (c) 2006 Vadim Zeitlin <vadim@wxwindows.org>
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_PRIVATE_STRING_H_
#define _WX_GTK_PRIVATE_STRING_H_
// ----------------------------------------------------------------------------
// Convenience class for g_freeing a gchar* on scope exit automatically
// ----------------------------------------------------------------------------
class wxGtkString
{
public:
explicit wxGtkString(gchar *s) : m_str(s) { }
~wxGtkString() { g_free(m_str); }
const gchar *c_str() const { return m_str; }
operator gchar *() const { return m_str; }
private:
gchar *m_str;
DECLARE_NO_COPY_CLASS(wxGtkString)
};
#endif // _WX_GTK_PRIVATE_STRING_H_

View File

@@ -1,10 +1,10 @@
/////////////////////////////////////////////////////////////////////////////
// Name: stattext.h
// Name: wx/gtk/stattext.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_STATTEXT_H_
@@ -22,7 +22,7 @@ public:
wxWindowID id,
const wxString &label,
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
const wxSize &size = wxDefaultSize,
long style = 0,
const wxString &name = wxStaticTextNameStr );
@@ -30,7 +30,7 @@ public:
wxWindowID id,
const wxString &label,
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
const wxSize &size = wxDefaultSize,
long style = 0,
const wxString &name = wxStaticTextNameStr );
@@ -42,7 +42,7 @@ public:
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
// see wx/stattext.h
void Wrap(int width);
@@ -56,10 +56,11 @@ protected:
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
virtual wxSize DoGetBestSize() const;
DECLARE_DYNAMIC_CLASS(wxStaticText)
};
#endif // _WX_GTK_STATTEXT_H_
#endif
// _WX_GTK_STATTEXT_H_

View File

@@ -174,6 +174,9 @@ public:
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
// has the control been frozen by Freeze()?
bool IsFrozen() const { return m_frozenness > 0; }
protected:
virtual wxSize DoGetBestSize() const;
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
@@ -186,9 +189,6 @@ protected:
// override this and return true.
virtual bool UseGTKStyleBase() const { return true; }
// has the control been frozen by Freeze()?
bool IsFrozen() const { return m_frozenness > 0; }
virtual void DoSetValue(const wxString &value, int flags = 0);
private:

View File

@@ -22,51 +22,19 @@ extern "C" {
#define GTK_PIZZA(obj) GTK_CHECK_CAST (obj, gtk_pizza_get_type (), GtkPizza)
#define GTK_IS_PIZZA(obj) GTK_CHECK_TYPE (obj, gtk_pizza_get_type ())
/* Shadow types */
typedef enum
{
GTK_MYSHADOW_NONE,
GTK_MYSHADOW_THIN,
GTK_MYSHADOW_IN,
GTK_MYSHADOW_OUT
} GtkMyShadowType;
typedef struct _GtkPizzaChild GtkPizzaChild;
typedef struct _GtkPizza GtkPizza;
typedef struct _GtkPizzaClass GtkPizzaClass;
struct _GtkPizzaChild
{
GtkWidget *widget;
gint x;
gint y;
gint width;
gint height;
};
struct _GtkPizza
{
GtkContainer container;
GList *children;
GtkMyShadowType shadow_type;
guint m_xoffset;
guint m_yoffset;
gint m_width;
GdkWindow *bin_window;
};
struct _GtkPizzaClass
{
GtkContainerClass parent_class;
void (*set_scroll_adjustments) (GtkPizza *pizza,
GtkAdjustment *hadjustment,
GtkAdjustment *vadjustment);
};
WXDLLIMPEXP_CORE
GtkType gtk_pizza_get_type (void);
WXDLLIMPEXP_CORE
@@ -87,9 +55,6 @@ void gtk_pizza_set_yoffset (GtkPizza *pizza, gint yoffset);
WXDLLIMPEXP_CORE
gint gtk_pizza_get_rtl_offset (GtkPizza *pizza);
WXDLLIMPEXP_CORE
void gtk_pizza_set_shadow_type (GtkPizza *pizza,
GtkMyShadowType type);
WXDLLIMPEXP_CORE
void gtk_pizza_scroll (GtkPizza *pizza,

View File

@@ -26,7 +26,7 @@ class WXDLLIMPEXP_CORE wxMemoryDC;
class WXDLLIMPEXP_CORE wxMemoryDC : public wxWindowDC
{
public:
wxMemoryDC();
wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
wxMemoryDC( wxDC *dc ); // Create compatible DC
virtual ~wxMemoryDC();
virtual void SelectObject( const wxBitmap& bitmap );

View File

@@ -4,7 +4,7 @@
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKGAUGEH__
@@ -99,4 +99,5 @@ private:
#endif
#endif // __GTKGAUGEH__
#endif
// __GTKGAUGEH__

View File

@@ -92,9 +92,10 @@ private:
// common part of Append (if pos == -1) and Insert
bool GtkAppend(wxMenuItem *item, int pos=-1);
GtkWidget *m_prevRadio;
GtkWidget *m_prevRadio;
DECLARE_DYNAMIC_CLASS(wxMenu)
};
#endif // __GTKMENUH__
#endif
// __GTKMENUH__

View File

@@ -4,7 +4,7 @@
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKSTATICTEXTH__
@@ -74,4 +74,5 @@ protected:
DECLARE_DYNAMIC_CLASS(wxStaticText)
};
#endif // __GTKSTATICTEXTH__
#endif
// __GTKSTATICTEXTH__

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: webkit.h
// Name: wx/html/webkit.h
// Purpose: wxWebKitCtrl - embeddable web kit control
// Author: Jethro Grassie / Kevin Ollivier
// Modified by:
@@ -18,9 +18,6 @@
#error "wxWebKitCtrl not implemented for this platform"
#endif
#ifdef __WXCOCOA
#include <WebKit/WebKit.h>
#endif
#include "wx/control.h"
// ----------------------------------------------------------------------------
@@ -62,12 +59,36 @@ public:
void Stop();
bool CanGetPageSource();
wxString GetPageSource();
void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString);
void SetPageSource(const wxString& source, const wxString& baseUrl = wxEmptyString);
wxString GetPageURL(){ return m_currentURL; }
void SetPageTitle(const wxString& title) { m_pageTitle = title; }
wxString GetPageTitle(){ return m_pageTitle; }
// since these worked in 2.6, add wrappers
void SetTitle(const wxString& title) { SetPageTitle(title); }
wxString GetTitle() { return GetPageTitle(); }
wxString GetSelection();
bool CanIncreaseTextSize();
void IncreaseTextSize();
bool CanDecreaseTextSize();
void DecreaseTextSize();
void Print(bool showPrompt=FALSE);
void MakeEditable(bool enable=TRUE);
bool IsEditable();
wxString RunScript(const wxString& javascript);
void SetScrollPos(int pos);
int GetScrollPos();
//we need to resize the webview when the control size changes
void OnSize(wxSizeEvent &event);
void OnMove(wxMoveEvent &event);
void OnMouseEvents(wxMouseEvent &event);
protected:
DECLARE_EVENT_TABLE()
void MacVisibilityChanged();
@@ -77,7 +98,12 @@ private:
wxWindowID m_windowID;
wxString m_currentURL;
wxString m_pageTitle;
struct objc_object *m_webView;
// we may use this later to setup our own mouse events,
// so leave it in for now.
void* m_webKitCtrlEventHandler;
//It should be WebView*, but WebView is an Objective-C class
//TODO: look into using DECLARE_WXCOCOA_OBJC_CLASS rather than this.
};
@@ -95,6 +121,39 @@ enum {
wxWEBKIT_STATE_FAILED = 32
};
enum {
wxWEBKIT_NAV_LINK_CLICKED = 1,
wxWEBKIT_NAV_BACK_NEXT = 2,
wxWEBKIT_NAV_FORM_SUBMITTED = 4,
wxWEBKIT_NAV_RELOAD = 8,
wxWEBKIT_NAV_FORM_RESUBMITTED = 16,
wxWEBKIT_NAV_OTHER = 32
};
class wxWebKitBeforeLoadEvent : public wxCommandEvent
{
DECLARE_DYNAMIC_CLASS( wxWebKitBeforeLoadEvent )
public:
bool IsCancelled() { return m_cancelled; }
void Cancel(bool cancel = true) { m_cancelled = cancel; }
wxString GetURL() { return m_url; }
void SetURL(const wxString& url) { m_url = url; }
void SetNavigationType(int navType) { m_navType = navType; }
int GetNavigationType() { return m_navType; }
wxWebKitBeforeLoadEvent( wxWindow* win = (wxWindow*) NULL );
wxEvent *Clone(void) const { return new wxWebKitBeforeLoadEvent(*this); }
protected:
bool m_cancelled;
wxString m_url;
int m_navType;
};
class wxWebKitStateChangedEvent : public wxCommandEvent
{
DECLARE_DYNAMIC_CLASS( wxWebKitStateChangedEvent )
@@ -114,8 +173,10 @@ protected:
};
typedef void (wxEvtHandler::*wxWebKitStateChangedEventFunction)(wxWebKitStateChangedEvent&);
typedef void (wxEvtHandler::*wxWebKitBeforeLoadEventFunction)(wxWebKitBeforeLoadEvent&);
BEGIN_DECLARE_EVENT_TYPES()
DECLARE_LOCAL_EVENT_TYPE(wxEVT_WEBKIT_BEFORE_LOAD, wxID_ANY)
DECLARE_LOCAL_EVENT_TYPE(wxEVT_WEBKIT_STATE_CHANGED, wxID_ANY)
END_DECLARE_EVENT_TYPES()
@@ -126,7 +187,16 @@ END_DECLARE_EVENT_TYPES()
(wxObjectEventFunction) \
(wxWebKitStateChangedEventFunction) & func, \
(wxObject *) NULL ),
#define EVT_WEBKIT_BEFORE_LOAD(func) \
DECLARE_EVENT_TABLE_ENTRY( wxEVT_WEBKIT_BEFORE_LOAD, \
wxID_ANY, \
wxID_ANY, \
(wxObjectEventFunction) \
(wxWebKitBeforeLoadEventFunction) & func, \
(wxObject *) NULL ),
#endif // wxUSE_WEBKIT
#endif // _WX_WEBKIT_H_
#endif
// _WX_WEBKIT_H_

View File

@@ -12,6 +12,7 @@
#ifndef _WX_INIT_H_
#define _WX_INIT_H_
#include "wx/defs.h"
#include "wx/wxchar.h"
// ----------------------------------------------------------------------------

View File

@@ -24,6 +24,14 @@ class WXDLLEXPORT wxListEvent;
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED;
extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING;
// wxListbook flags
#define wxLB_DEFAULT wxBK_DEFAULT
#define wxLB_TOP wxBK_TOP
#define wxLB_BOTTOM wxBK_BOTTOM
#define wxLB_LEFT wxBK_LEFT
#define wxLB_RIGHT wxBK_RIGHT
#define wxLB_ALIGN_MASK wxBK_ALIGN_MASK
// ----------------------------------------------------------------------------
// wxListbook
// ----------------------------------------------------------------------------

View File

@@ -34,6 +34,15 @@
#define wxMAC_USE_CORE_GRAPHICS 1
#endif
/*
* wxMAC_USE_CORE_GRAPHICS is now implemented in terms of wxUSE_GRAPHICS_CONTEXT
*/
#if wxMAC_USE_CORE_GRAPHICS
#undef wxUSE_GRAPHICS_CONTEXT
#define wxUSE_GRAPHICS_CONTEXT 1
#endif
/*
* check graphics context option
*/

View File

@@ -12,90 +12,133 @@
// from config.log confdefs
#define HAVE_SSIZE_T 1
#define HAVE_BOOL 1
#define HAVE_CONST_CAST
#define HAVE_COS 1
#define HAVE_EXPLICIT 1
#define HAVE_FCNTL 1
#define HAVE_FLOOR 1
#define HAVE_FNMATCH 1
#define HAVE_FNMATCH_H 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_ICONV 1
#define HAVE_INET_ADDR 1
#define HAVE_INET_ADDR 1
#define HAVE_INET_ATON 1
#define HAVE_INET_ATON 1
#define HAVE_INTTYPES_H 1
#define HAVE_IOSTREAM 1
#define HAVE_LANGINFO_H 1
#define HAVE_LARGEFILE_SUPPORT 1
#define HAVE_LOCALTIME 1
#define HAVE_MEMORY_H 1
#define HAVE_MKSTEMP 1
#define HAVE_PTHREAD_CANCEL 1
#define HAVE_PTHREAD_MUTEXATTR_T 1
#define HAVE_PUTENV 1
#define HAVE_PW_GECOS 1
#define HAVE_REGCOMP 1
#define HAVE_SCHED_H 1
#define HAVE_SCHED_YIELD 1
#define HAVE_SIGACTION 1
#define HAVE_STATFS 1
#define HAVE_STATIC_CAST
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP_IN_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRPTIME 1
#define HAVE_STRTOK_R 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
#define HAVE_TIMEGM 1
#define HAVE_UNAME 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_USLEEP 1
#define HAVE_VSNPRINTF 1
#define HAVE_VSNPRINTF_DECL 1
#define HAVE_WCHAR_H 1
#define HAVE_WCSLEN 1
#define HAVE_WPRINTF 1
#define HAVE_WCSRTOMBS 1
#define HAVE_X11_XKBLIB_H 1
#define HAVE_X11_XLIB_H 1
#define ICONV_CONST const
#define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
#define PACKAGE_NAME "wxWidgets"
#define PACKAGE_STRING "wxWidgets 2.5.1"
#define PACKAGE_TARNAME "wxwidgets"
#define PACKAGE_VERSION "2.5.1"
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 4
#define SIZEOF_VOID_P 4
#define SIZEOF_WCHAR_T 4
#define SOCKLEN_T socklen_t
#define STDC_HEADERS 1
#define TARGET_CARBON 1
#if __BIG_ENDIAN__
#define WORDS_BIGENDIAN 1
#endif
#define WXWIN_OS_DESCRIPTION "Darwin 7.3.0 Power Macintosh"
#define WX_GMTOFF_IN_TM 1
#define WX_NO_REGEX_ADVANCED 1
#define WX_STATFS_T struct statfs
#define WX_TIMEZONE timezone
#define _FILE_OFFSET_BITS 64
#define wxUSE_UNIX 1
#define __UNIX__ 1
#define __BSD__ 1
#define __DARWIN__ 1
#define __POWERPC__ 1
#define __UNIX__ 1
#define wxSIZE_T_IS_ULONG 1
#define wx_USE_NANOX 0
#define TARGET_CARBON 1
#define HAVE_BOOL 1
#define HAVE_EXPLICIT 1
#define HAVE_CONST_CAST
#define HAVE_REINTERPRET_CAST
#define HAVE_STATIC_CAST
#define HAVE_VA_COPY 1
#define HAVE_VARIADIC_MACROS 1
#define CONST_COMPATIBILITY 0
#define WX_TIMEZONE timezone
#define WX_SOCKLEN_T socklen_t
#define SOCKOPTLEN_T socklen_t
#define WX_STATFS_T struct statfs
#define wxTYPE_SA_HANDLER int
#define WX_GMTOFF_IN_TM 1
#define HAVE_PW_GECOS 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_FSYNC 1
#define HAVE_LARGEFILE_SUPPORT 1
#define HAVE_LOCALTIME 1
#define HAVE_SCHED_YIELD 1
#define HAVE_PTHREAD_MUTEXATTR_T 1
#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
#define HAVE_PTHREAD_CANCEL 1
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
#define HAVE_SIGACTION 1
#define HAVE_SNPRINTF 1
#define HAVE_SNPRINTF_DECL 1
#define HAVE_UNIX98_PRINTF 1
#define HAVE_STATFS 1
#define HAVE_STATFS_DECL 1
#define HAVE_STRPTIME 1
#define HAVE_STRPTIME_DECL 1
#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
#define HAVE_TIMEGM 1
#define HAVE_VSNPRINTF 1
#define HAVE_VSNPRINTF_DECL 1
#define HAVE_USLEEP 1
#define HAVE_WCSLEN 1
#define SIZEOF_CHAR 1
#define SIZEOF_WCHAR_T 4
#define SIZEOF_SHORT 2
#define SIZEOF_INT 4
#ifdef __LP64__
#define SIZEOF_VOID_P 8
#define SIZEOF_LONG 8
#define SIZEOF_SIZE_T 8
#else
#define SIZEOF_VOID_P 4
#define SIZEOF_LONG 4
#define SIZEOF_SIZE_T 4
#endif
#define SIZEOF_LONG_LONG 8
#define wxSIZE_T_IS_ULONG 1
#define HAVE_FCNTL 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETSERVBYNAME 1
#define HAVE_GMTIME_R 1
#define HAVE_INET_ADDR 1
#define HAVE_INET_ATON 1
#define HAVE_LOCALTIME_R 1
#define HAVE_MKSTEMP 1
#define HAVE_PUTENV 1
#define HAVE_READDIR_R 1
#define HAVE_STRTOK_R 1
#define HAVE_UNAME 1
#define HAVE_USLEEP 1
#define HAVE_X11_XKBLIB_H 1
#define HAVE_FNMATCH 1
#define HAVE_FNMATCH_H 1
#define HAVE_IOSTREAM 1
#define HAVE_SCHED_H 1
#define HAVE_UNISTD_H 1
#define HAVE_WCHAR_H 1
#define HAVE_ICONV 1
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
#define ICONV_CONST const
#else
#define ICONV_CONST
#endif
#define HAVE_LANGINFO_H 1
#define HAVE_WCSRTOMBS 1
#define HAVE_FPUTWS 1
#define HAVE_STRCASECMP_IN_STRING_H 1
#define HAVE_WPRINTF 1
#define HAVE_SWPRINTF 1
#define HAVE_VSWPRINTF 1
#define HAVE_FSEEKO 1
#define HAVE_SYS_SELECT_H 1
#define WXWIN_OS_DESCRIPTION "Darwin 7.9.0 Power Macintosh"
#define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
#define PACKAGE_NAME "wxWidgets"
#define PACKAGE_STRING "wxWidgets 2.7.1"
#define PACKAGE_TARNAME "wxwidgets"
#define PACKAGE_VERSION "2.7.1"
// for regex
#define WX_NO_REGEX_ADVANCED 1
// for jpeg
#define HAVE_STDLIB_H 1
// OBSOLETE ?
#define HAVE_COS 1
#define HAVE_FLOOR 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_REGCOMP 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_X11_XLIB_H 1
#define SOCKLEN_T socklen_t
#define _FILE_OFFSET_BITS 64

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: cursor.h
// Name: wx/mac/carbon/cursor.h
// Purpose: wxCursor class
// Author: Stefan Csomor
// Modified by:
@@ -34,7 +34,7 @@ public:
wxCursor(int cursor_type);
virtual ~wxCursor();
bool CreateFromXpm(const char **bits) ;
bool CreateFromXpm(const char **bits) ;
virtual bool Ok() const { return IsOk(); }
virtual bool IsOk() const ;

View File

@@ -36,6 +36,8 @@
class wxMacPortStateHelper;
#if !wxUSE_GRAPHICS_CONTEXT
class WXDLLEXPORT wxGraphicPath
{
public :
@@ -241,7 +243,7 @@ public:
}
#if wxMAC_USE_CORE_GRAPHICS
wxGraphicContext* GetGraphicContext() { return m_graphicContext; }
wxGraphicsContext* GetGraphicsContext() { return m_graphicContext; }
#else
WXHRGN MacGetCurrentClipRgn() { return m_macCurrentClipRgn; }
static void MacSetupBackgroundForCurrentPort(const wxBrush& background );
@@ -342,8 +344,7 @@ public:
WXHDC m_macPort;
#if wxMAC_USE_CORE_GRAPHICS
wxGraphicContext *m_graphicContext;
wxPoint m_macLocalOriginInPort;
wxGraphicsContext *m_graphicContext;
#else
void MacInstallPen() const;
void MacInstallBrush() const;
@@ -367,4 +368,6 @@ public:
#endif
};
#endif
#endif // _WX_DC_H_

View File

@@ -36,6 +36,11 @@ class WXDLLEXPORT wxWindowDC: public wxDC
protected :
virtual void DoGetSize( int *width, int *height ) const;
wxWindow *m_window;
#if wxMAC_USE_CORE_GRAPHICS
bool m_release;
int m_width;
int m_height;
#endif
};
@@ -52,7 +57,9 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC
virtual ~wxClientDC(void);
protected:
#if !wxMAC_USE_CORE_GRAPHICS
virtual void DoGetSize( int *width, int *height ) const;
#endif
};
class WXDLLEXPORT wxPaintDC: public wxWindowDC
@@ -68,7 +75,9 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC
virtual ~wxPaintDC(void);
protected:
#if !wxMAC_USE_CORE_GRAPHICS
virtual void DoGetSize( int *width, int *height ) const;
#endif
};
#endif

View File

@@ -19,11 +19,12 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
public:
wxMemoryDC(void);
wxMemoryDC( const wxBitmap& bitmap = wxNullBitmap );
wxMemoryDC( wxDC *dc ); // Create compatible DC
virtual ~wxMemoryDC(void);
virtual void SelectObject( const wxBitmap& bitmap );
wxBitmap GetSelectedObject() { return m_selected ; }
wxBitmap GetSelectedBitmap() { return m_selected ; }
wxBitmap GetSelectedObject() { return GetSelectedBitmap() ; }
protected:
virtual void DoGetSize( int *width, int *height ) const;

View File

@@ -28,6 +28,10 @@ class WXDLLEXPORT wxScreenDC: public wxWindowDC
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return TRUE; }
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return TRUE; }
static bool EndDrawingOnTop() { return TRUE; }
private:
#if wxMAC_USE_CORE_GRAPHICS
void* m_overlayWindow;
#endif
};
#endif

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////////
// Name: dnd.h
// Name: wx/mac/carbon/dnd.h
// Purpose: Declaration of the wxDropTarget, wxDropSource class etc.
// Author: Stefan Csomor
// RCS-ID: $Id$
@@ -55,7 +55,7 @@ class WXDLLEXPORT wxDropTarget: public wxDropTargetBase
virtual bool OnDrop(wxCoord x, wxCoord y);
virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);
virtual bool GetData();
bool CurrentDragHasSupportedFormat() ;
void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; }
void* GetCurrentDrag() { return m_currentDrag ; }
@@ -95,16 +95,14 @@ public:
wxWindow* GetWindow() { return m_window ; }
void SetCurrentDrag( void* drag ) { m_currentDrag = drag ; }
void* GetCurrentDrag() { return m_currentDrag ; }
bool MacInstallDefaultCursor(wxDragResult effect) ;
bool MacInstallDefaultCursor(wxDragResult effect) ;
protected :
wxWindow *m_window;
void* m_currentDrag ;
};
#endif // wxUSE_DRAG_AND_DROP
#endif
// D&D
#endif
//_WX_DND_H_
//_WX_DND_H_

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: drawer.h
// Name: wx/mac/carbon/drawer.h
// Purpose: Drawer child window class.
// Drawer windows appear under their parent window and
// behave like a drawer, opening and closing to reveal
@@ -28,26 +28,26 @@
class WXDLLEXPORT wxDrawerWindow : public wxTopLevelWindow
{
DECLARE_DYNAMIC_CLASS(wxDrawerWindow)
public:
wxDrawerWindow();
wxDrawerWindow(wxWindow* parent,
wxWindowID id,
const wxString& title,
wxSize size = wxDefaultSize,
wxDirection edge = wxLEFT,
const wxString& name = wxT("drawerwindow"))
wxWindowID id,
const wxString& title,
wxSize size = wxDefaultSize,
wxDirection edge = wxLEFT,
const wxString& name = wxT("drawerwindow"))
{
this->Create(parent, id, title, size, edge, name);
}
virtual ~wxDrawerWindow();
// Create a drawer window.
// Create a drawer window.
// If parent is NULL, create as a tool window.
// If parent is not NULL, then wxTopLevelWindow::Attach this window to parent.
// If parent is not NULL, then wxTopLevelWindow::Attach this window to parent.
bool Create(wxWindow *parent,
wxWindowID id,
const wxString& title,
@@ -58,13 +58,14 @@ public:
bool Open(bool show = true); // open or close the drawer, possibility for async param, i.e. animate
bool Close() { return this->Open(false); }
bool IsOpen() const;
// Set the edge of the parent where the drawer attaches.
bool SetPreferredEdge(wxDirection edge);
wxDirection GetPreferredEdge() const;
wxDirection GetCurrentEdge() const; // not necessarily the preferred, due to screen constraints
wxDirection GetCurrentEdge() const; // not necessarily the preferred, due to screen constraints
};
#endif // defined( __WXMAC__ ) && TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 )
#endif // _WX_DRAWERWINDOW_H_
#endif
// _WX_DRAWERWINDOW_H_

Some files were not shown because too many files have changed in this diff Show More