Kevin Ollivier
d6518e3ef7
Bakefile only supports 'and' conditions, so refactor the debug conditions to reflect that.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 18:25:40 +00:00
Stefan Csomor
4ca8cbec78
now that the bitmap context is always in topleft coords, we need the adjusted call for drawing an image
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 16:07:25 +00:00
Julian Smart
a76b434a2e
Small typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 12:41:22 +00:00
Robin Dunn
dcc8666d99
zap an extra print statement
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 05:03:19 +00:00
Robin Dunn
a05097c7ae
* Some menus and buttons are kept in sync with EVT_UPDATE_UI.
...
* Tool menu items use wx.ITEM_RADIO
* New polygon and scribble tools
* Text tool uses wx.FontDialog rather than home grown dialog
* Switched to double-buffering (code borrowed from doodle sample.)
* Spent a lot of time on improving handling of canvas scrolling redraws
which look bad under __WXMSW__, IMHO.
* All tools are subclasses of DrawingTool now.
* All objects are subclasses of the base DrawingObject now (rather than
typecode switch)
* Majority of event handling delegated to tools
* Manipulation of handles refactored to move most of the logic into
DrawingObject subclasses
* Use GenBitmapToggleButton for the Tool buttons instead of reimplementing
same functionality.
* Nicer looking fill/stroke preview (I think anyway)
* Toggle for choosing between wx.DC and wx.GCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 04:56:29 +00:00
Julian Smart
6468e29b37
Init fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Robin Dunn
1e00fb2d66
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:49:33 +00:00
Robin Dunn
b40cb84f3f
Patch from Paul McNett to check for the Acrobat version more robustly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:47:19 +00:00
Robin Dunn
40a426b367
Premultiplied Alpha is now exepcted on Mac too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:46:07 +00:00
Robin Dunn
a90ee73cdc
Use correct name in MustHavApp macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:45:06 +00:00
Robin Dunn
769c0c934f
Add ShutdownDemo to better clean up when switching to another sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:44:14 +00:00
Robin Dunn
d2a924d5f2
Mac lipo build patch from Kevin O.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:43:02 +00:00
Robin Dunn
c824de2497
Yielding from a non-gui thread needs to bail out, otherwise we end up
...
possibly sending events in the thread too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:34:54 +00:00
Julian Smart
85543d154a
Don't insert a newline when we get text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 12:49:35 +00:00
Stefan Csomor
3a9b6f8275
better param type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 06:57:22 +00:00
Stefan Csomor
d241e86059
add a PICT export for Quartz (needed under 10.3 as ImageRefs are not accepted everywhere)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:58:16 +00:00
Stefan Csomor
b11cd08867
making pdf implementation compile and work under 10.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:37:40 +00:00
Stefan Csomor
876da30ac3
uma versions for tiger only calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:34:42 +00:00
Kevin Ollivier
f619081d63
Make macbuild-lipo more robust, add lipo-dir which will lipo two dirs (one a ppc install and one an intel install) together.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-06 05:26:41 +00:00
Robin Dunn
27c390f313
Convert '0' or '1' to int before converting to bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:53:10 +00:00
Robin Dunn
3a21ebbefd
Check for 8.0 too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:51:36 +00:00
Robin Dunn
544c04c362
Use utf-8 for saving to file. Patch #1730543
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:50:57 +00:00
Robin Dunn
74ef4c65c8
Add undo stack. Patch #1730517
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:18:42 +00:00
Michael Wetherell
243ad5c89e
Add to patch 1671804 (menu alignment for VC6) so that it does work, and move
...
it to msw/missing.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 16:40:12 +00:00
Michael Wetherell
1880068bb9
Warning fix for VC5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 15:21:24 +00:00
Julian Smart
56df653964
Don't crash if failing to convert text on write
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 13:16:11 +00:00
Václav Slavík
eeb6a21019
don't crash when using wxHtmlWidgetCell in wxHtmlListBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 12:12:46 +00:00
Kevin Ollivier
3e13084a77
Restore compilation on Panther when using CoreGraphics. Also take a stab at Panther CoreGraphics impl based on previous implementation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 04:12:21 +00:00
Vadim Zeitlin
72115a3034
mingw32 doesn't define _tsystem so provide one ourselves (bug 1726904) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 23:03:51 +00:00
Vadim Zeitlin
fce88a4c47
initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:38:28 +00:00
Vadim Zeitlin
8653d7fa60
added colour normalization to PNM handler [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:14:32 +00:00
Julian Smart
d101b7b205
Typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 11:23:02 +00:00
Stefan Csomor
9c891bce20
coordinate adjustment not needed here anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 11:01:00 +00:00
Stefan Csomor
1c9461245f
do coordinate conversion in the context creation already
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 10:59:44 +00:00
Robin Dunn
7eab1fe3cc
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 00:11:43 +00:00
Robin Dunn
619376a5fd
install wx/mac/corefoundation/cfdataref.h and wx/mac/corefoundation/cfref.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 00:06:31 +00:00
Robin Dunn
d0e0b73c37
bump subrelease number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:57:20 +00:00
Robin Dunn
3f492c34a1
Richtext updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:53:22 +00:00
Robin Dunn
006c2c2d82
Additional tags to treat as bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:50:57 +00:00
Robin Dunn
e99d058646
Show the .this attribute too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:50:10 +00:00
Robin Dunn
7bbac90b23
tweak layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:49:31 +00:00
Robin Dunn
04fc249824
menu and accel tweaks for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:49:09 +00:00
Robin Dunn
d207b97bd1
out typemap for wxPyComboCtrl*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:46:36 +00:00
Robin Dunn
f1828885d3
wxRect* typemap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:46:09 +00:00
Robin Dunn
f00702242f
wxOutputStream wrapers and typemaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:43:46 +00:00
Robin Dunn
dba31789b1
docstring fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:43:04 +00:00
Robin Dunn
eefcdd4b0f
Python sequence wrappers for wxLists
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:42:18 +00:00
Robin Dunn
616fdc4311
Don't use the wxRect* typemaps in the wxRect class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:38:52 +00:00
Robin Dunn
fd4860ffb7
wxOutputStream wrapers and typemaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:37:34 +00:00
Robin Dunn
f0ab7c7d9f
docstring fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:36:20 +00:00