Commit Graph

3886 Commits

Author SHA1 Message Date
Robin Dunn
a8162c4cd0 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:39:34 +00:00
Robin Dunn
caee23d55d wx.lib.customtreectrl patches from Andrea:
1. ExpandAll has been renamed as ExpandAllChildren, and the new
     ExpandAll now takes no input arguments (consistent with
     wx.TreeCtrl)

  2. ctstyle keyword is now defaulted to 0: every style related to
     CustomTreeCtrl and the underlying wx.PyScrolledWindow should be
     declared using the keyword "style" only. For backward
     compatibility, ctstyle continues to work as I merged ctstyle and
     style in the __init__ method.

  3. GetClassDefaultAttributes is now a classmethod.

  4. UnselectAll bug fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:04:52 +00:00
Robin Dunn
ba35daf089 Mention GraphicsContext changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 17:18:13 +00:00
Robin Dunn
36e6f51a0f Some docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 22:00:29 +00:00
Robin Dunn
99f22cf696 Patch from Gianluca Costa:
-Refactorization of the script-creation code in a specific "img2py()" function
    -Added regex parsing instead of module importing
    -Added some "try/finally" statements
    -Added default values as named constants
    -Made some parts of code a bit easier to read
    -Updated the module docstring
    -Corrected a bug with EmptyIcon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 21:51:23 +00:00
Robin Dunn
6b260f32ca header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:37:00 +00:00
Robin Dunn
0aeaaaaf31 Add missing 'recursive' parameter to wx.Sizer.GetItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:35:26 +00:00
Robin Dunn
b1ea5b28ab Create the other frame on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 19:01:55 +00:00
Robin Dunn
37a2b499e5 use a hidden frame to prevent premature exit on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:53:57 +00:00
Robin Dunn
58e564cb92 don't set hover state when button is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 18:52:13 +00:00
Robin Dunn
8cb3186049 wx.lib.plot: patch #1663937 to allow user to turn off scientific
notation on plot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:26:13 +00:00
Robin Dunn
5d1ccdb489 Will Sadkin provided a patch for the wx.lib.masked package that fixes
its support for using the navigation keys on the numeric keypad.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:08:41 +00:00
Robin Dunn
456b3f4363 now able to make a debug -dev package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-01 01:02:22 +00:00
Robin Dunn
a2a197f5d7 new and updated tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-28 21:42:29 +00:00
Robin Dunn
25f8729c3d Updated to TreeMixin 0.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:35:07 +00:00
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