Commit Graph

11 Commits

Author SHA1 Message Date
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
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
Robin Dunn
7153b2cb86 Patch #1428181: Sample wxProject.py updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:37:39 +00:00
Robin Dunn
9102723010 use wx.ART_NEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-27 00:55:06 +00:00
Robin Dunn
6c75a4cf0f Removed unnecessary files, removed or replaced images that we're not
sure of their origin or license.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 20:55:42 +00:00
Robin Dunn
0b910ef421 updated to wx namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 19:57:40 +00:00
Robin Dunn
d447660794 Fix bad keyword args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:00:59 +00:00
Robin Dunn
de51258f70 Tweaks needed to get pySketch to work with 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-12 20:03:37 +00:00
Robin Dunn
1e4a197e4c Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 06:35:27 +00:00
Robin Dunn
0f5fa11181 more tweaks for API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 21:47:58 +00:00
Robin Dunn
431f4c161d Added pySketch sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 21:19:48 +00:00