Commit Graph
621 Commits
Author SHA1 Message Date
Robin Dunn d19a83a5ac Added a typemap that converts the references returned for some GDI
objects (Brush, Pen, Font, etc.) into copies, (taking advantage of the
copy-on-write capabilities of the C++ class.)  This is to work around
an issue where getting a GDI object changing it and setting it back to
the DC would trigger an incorrect optimization.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 02:02:28 +00:00
Robin Dunn 36c8c4718a fixed some docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:59:49 +00:00
Robin Dunn 96577d6d7a Fixed wxWindow_FromHWND so it would compile (still untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:57:10 +00:00
Robin Dunn 2d112dc2a3 Removed some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:54:02 +00:00
Robin Dunn 2f4ad68c32 Docstring tweaks, fixed typo, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:47:24 +00:00
Robin Dunn 6e7db3c845 Added InReportView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:46:38 +00:00
Robin Dunn 11f0bb6988 Docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:45:47 +00:00
Robin Dunn 6606583981 Fixed wx.Timer to not need to hold an extra reference to itself, so it
can be cleaned up properly when the Python reference to it is
released.  Also fixed wx.FutureCall so that its timer can be
restarted.  Souped up the Timer demo to show and explain the various
ways to use a wx.Timer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:44:42 +00:00
Robin Dunn 2f4c0a1618 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 22:23:53 +00:00
Robin Dunn 15afbcd000 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 21:29:56 +00:00
Robin Dunn a0c956e8e6 Fix compilation errors due to recent typedef changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 21:12:16 +00:00
Robin Dunn e2bbfc8f05 docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:50:35 +00:00
Robin Dunn 0facd0e524 Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:38:21 +00:00
Robin Dunn d7466b1d18 Fixed PyDropTarget rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:37:41 +00:00
Robin Dunn 014577f340 Fix a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 19:34:26 +00:00
Robin Dunn 1cee36ad05 Oops!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 01:39:25 +00:00
Robin Dunn 4c42683a5c Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 00:42:30 +00:00
Robin Dunn 861d483291 Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-24 02:09:17 +00:00
Robin Dunn f659339e93 AddFile isn't just for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-24 02:08:38 +00:00
Robin Dunn b3badadcfc Can do wx.ToggleButton on wxMac now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-23 21:22:09 +00:00
Robin Dunn 8d87b3e77f Use the standard wxBufferedDC again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 19:20:46 +00:00
Robin Dunn 3a0a61b066 New SWIG runtime files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 03:26:31 +00:00
Robin Dunn 38f591599b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 02:18:17 +00:00
Robin Dunn 37f9912de4 Fix compile error on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 02:17:23 +00:00
Robin Dunn 328fcd84d4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 02:04:26 +00:00
Robin Dunn b88bce5f07 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 01:58:17 +00:00
Robin Dunn 6ad421ae90 Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 01:54:41 +00:00
Robin Dunn ef22e3d35e Use a local copy of the old wxBufferedDC classes until the ones in the
C++ library are fixed again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 01:53:46 +00:00
Robin Dunn e498079eb4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-20 01:27:16 +00:00
Robin Dunn e5868095fe Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-20 01:26:07 +00:00
Robin Dunn 7a0b15e94a Reverted wxBufferedDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 20:42:00 +00:00
Robin Dunn 22faec7d06 Allow comparrisons with None
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 02:33:28 +00:00
Robin Dunn b409bb30c7 fixed a compile warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-18 02:23:01 +00:00
Robin Dunn 1f05e33b7d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-18 02:17:35 +00:00
Robin Dunn fcafa8a99e Added some more docstrings, and also a few little tweaks along the way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-18 02:12:12 +00:00
Robin Dunn e608d2285c corrected %addtofunc for BufferedDC constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 16:00:03 +00:00
Robin Dunn 98e665d3b0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 03:17:53 +00:00
Robin Dunn 856bf319b5 Added some docstrings.
Added wx.DefaultDateTime.
Fixed CalendarCtrl.HitTest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 03:11:36 +00:00
Robin Dunn c3eb6258e8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 21:30:56 +00:00
Robin Dunn 1b35fec738 Gave wxWindow.GetHandle something to do on wxMac, although it won't
have exactly the same meaning as the other platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:24:47 +00:00
Robin Dunn 33adb15261 Fixed a compile error on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:23:40 +00:00
Robin Dunn 0ffb2aa6e4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:23:25 +00:00
Robin Dunn 8492b560bf Add some ownerdraw methods to ListBox for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:21:47 +00:00
Robin Dunn 0482c494d3 Make all wxMask constructors use the C++ (bitmap, colour) ctor, and
then just default in BLACK to simulate the default (monobitmap)
behaviour.  It's too tricky to make true monochome bitmaps in a
platform independent way from the Python wrappers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:09:55 +00:00
Robin Dunn db91459553 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:39:33 +00:00
Robin Dunn 927d7cfa70 Added selection methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:34:37 +00:00
Robin Dunn 4cc5453b83 PS can output to ta stream (but still need to make output streams more
usable from wxPython...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:34:00 +00:00
Robin Dunn 04e271558d Fix ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:32:03 +00:00
Robin Dunn 746ee6b82c Added wxDC::GetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:14:15 +00:00
Robin Dunn 3adfb63b39 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 00:25:38 +00:00