Commit Graph

3921 Commits

Author SHA1 Message Date
Robin Dunn
a927054171 Simple test for using a memory dc (or a buffered dc) as the target of
a wx.GraphicsContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:24:49 +00:00
Robin Dunn
d6b9ff1c54 Reorder what happens when a button is pressed so if the user's event
handler blocks it won't leave the buttonbar in a funny state when it
finally returns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:23:57 +00:00
Robin Dunn
f1cafba603 Added the wx.SizerFlags class, and also added AddF, InsertF and
PrependF methods to wx.Sizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:22:25 +00:00
Robin Dunn
ca7f6330aa Backport fixes from ROL: Fixed SetItemBold and editing 'growable'
properties of wxFlexGridSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 00:11:49 +00:00
Robin Dunn
6dfee8c4c2 update version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:41:06 +00:00
Robin Dunn
30a04aa8cc show better technique for updating drawing from outside of EVT_PAINT handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:40:24 +00:00
Robin Dunn
65df1b5001 enable this demo for the Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:37:37 +00:00
Robin Dunn
f7a9ee3aa6 simple test for wxGCDC::DoDrawEllipticArc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 22:24:40 +00:00
Robin Dunn
155efe740f Applied patch [ 1664571 ] ListCtrl::ColumnSorterMixin-new callback
OnSortOrderChanged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 19:47:56 +00:00
Robin Dunn
4df1ca4f16 another typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:39:26 +00:00
Robin Dunn
352ed6aaaa simple test for drawing and measuring text with a GC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:29:59 +00:00
Robin Dunn
bff84b0d09 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:28:24 +00:00
Robin Dunn
0a7dc77803 fix 'instance' typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:27:07 +00:00
Robin Dunn
27315f82f2 Add a bit of testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:18:37 +00:00
Robin Dunn
27b13b5b0c Add wx.DD_DIR_MUST_EXIST style. (Patch #1662736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:17:27 +00:00
Robin Dunn
a556dce309 simple wx.LogWindow test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:14:07 +00:00
Robin Dunn
9d99f4d8f5 fix import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:13:22 +00:00
Robin Dunn
b658d79e44 Patch #1662729: TreeListCtrl::SetColumnWidth accepting wxLIST_AUTOSIZE
and wxLIST_AUTOSIZE_USEHEADER.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:35:36 +00:00
Robin Dunn
55ce0bae63 TreeMixins 0.6 from Frank
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:31:11 +00:00
Robin Dunn
191406ad84 wxMac can handle the foreign DnD too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:30:23 +00:00
Robin Dunn
b293a41f30 use InspectableApp for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:47:24 +00:00
Robin Dunn
5b570e6240 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:46:28 +00:00
Robin Dunn
c9f693519e Remove boxus property (getter requires param)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:35:48 +00:00
Robin Dunn
31fff11b15 Add wx.lib.mixins.treemixin from Frank Niessink.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:34:47 +00:00
Robin Dunn
4943ebb1e3 Fixes as described in #1661049 (Uncollectable ogl objects)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:32:37 +00:00
Robin Dunn
503cad4a4c Make the greyed image list be the same size as the main image list,
don't assume 16x16


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 21:27:09 +00:00
Robin Dunn
5a802ba35e add Windows Python 2.3 build back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 18:18:47 +00:00
Robin Dunn
c695fa396c fix version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 17:46:11 +00:00
Robin Dunn
73795abcef reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 00:15:51 +00:00
Robin Dunn
076c29d8f7 Check for NotImplementedError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 00:14:56 +00:00
Robin Dunn
7f3e41c4d3 A bit of code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 23:43:24 +00:00
Robin Dunn
47f2df6d21 ensure that a bad locale is destroyed before it is attempted to be used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 23:42:57 +00:00
Robin Dunn
3c901e1e03 backport Roman's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 20:30:27 +00:00
Bryan Petty
e728b32239 This commit was manufactured by cvs2svn to create branch
'WX_2_8_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 20:30:27 +00:00
Robin Dunn
7f0213cad6 Remove default ctors from wxGraphicsMatrix and wxGraphicsPath since
they are supposed to be constructed vie the factory functions in
wxGraphicsContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 18:24:54 +00:00
Robin Dunn
50720b056a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:59:43 +00:00
Robin Dunn
79484dbd9c fiddle with py2exe options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:57:59 +00:00
Robin Dunn
53ad97d7f9 Check for TypeError exceptions in PostCreate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:54:35 +00:00
Robin Dunn
04578e2657 more micro tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:53:56 +00:00
Robin Dunn
a8e358c072 Add premixed InspectableApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 21:18:31 +00:00
Robin Dunn
ff5ab4a4c5 Use Get instead of deprecated asTuple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:49:09 +00:00
Robin Dunn
d650caff99 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:48:21 +00:00
Robin Dunn
c0623ba670 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 22:59:39 +00:00
Robin Dunn
4771f3e8ef refactor InspectionTool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 22:39:24 +00:00
Robin Dunn
f4d0946dcf Patch #1645253, fixes overflow error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 20:14:33 +00:00
Robin Dunn
d93d8a12ef Added some missing "private:" keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 16:37:40 +00:00
Robin Dunn
183be3a463 Switch to AUI instead of splitter windows. Also load and save config settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 07:23:26 +00:00
Robin Dunn
9f43d3229c fix docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 07:17:30 +00:00
Robin Dunn
3d642f975d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:36:36 +00:00
Robin Dunn
69d4bbb974 Added wxToolBar::SetTool[Normal|Disabled]Bitmap for wxMSW, wxGTK and wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:35:07 +00:00