Robin Dunn
43acd3c1eb
save a reference to the bitmap so it doesn't get destroyed before the
...
buffered DC does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:32:49 +00:00
Robin Dunn
e676f137e7
Can wxMemoryDC derive from wxWindowDC on all platforms?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 07:45:01 +00:00
Robin Dunn
d9b33d7001
Buffered DCs now take non-const bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 02:18:41 +00:00
Robin Dunn
8f514ab459
Gobs of changes needed to get up to date with today's CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:57:21 +00:00
Robin Dunn
ad55c49e82
Added Changer classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 06:08:54 +00:00
Robin Dunn
0a012f770e
docstring update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:28:14 +00:00
Robin Dunn
72156afeb5
some changes to make epydoc happy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 23:50:01 +00:00
Robin Dunn
96285a18aa
wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
...
calling SelectObject itself if a valid bitmap is passed.
Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:19:36 +00:00
Robin Dunn
8de3594cdd
docstring update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:46:47 +00:00
Robin Dunn
8adc9d9d42
Get/Set LayoutDirection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:09:58 +00:00
Robin Dunn
9a3dccf6d6
double buffer changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 18:56:41 +00:00
Robin Dunn
6c2dd16f55
Add IsOk's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:36:38 +00:00
Robin Dunn
205d49f79e
Change wx.DC inheritance hierarchy to match reality
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:30:57 +00:00
Robin Dunn
67cb8b4720
docstring fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 21:45:25 +00:00
Robin Dunn
6a223074d3
docstrings and other minor tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:44:21 +00:00
Robin Dunn
7012bb9f03
more properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 03:20:12 +00:00
Robin Dunn
0eae5d0999
Start adding some properties for getter/setter methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:46:44 +00:00
Robin Dunn
25e29eb243
ComputeScaleAndOrigin not protected anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 00:52:46 +00:00
Robin Dunn
4caf1fc560
Adapt to some wxDC methods becoming protected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:28:35 +00:00
Robin Dunn
361b8ff771
Docstring fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 00:46:05 +00:00
Robin Dunn
ddbb966daa
Added the wx.DC.GradientFillConcentric and wx.DC.GradientFillLinear
...
methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 08:16:10 +00:00
Robin Dunn
22b549f247
BeginDrawing/EndDrawing are deprecated, and never really did anything
...
to begin with.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 22:01:48 +00:00
Michael Wetherell
43e8916ff3
Documentation fixes, patch 1179223 by Andreas Mohr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:34:30 +00:00
Robin Dunn
4a065572bf
Little tweaks to match CVS changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:43:06 +00:00
Robin Dunn
67a5217c4f
new style flags for wxBufferedDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 19:58:32 +00:00
Robin Dunn
1b8c7ba607
Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
...
some things that were changed/removed from my patch I submitted to
them.)
Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.
The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally. These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:44:09 +00:00
Robin Dunn
3350d6521a
ComputeScaleAndOrigin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:58:59 +00:00
Robin Dunn
49e6b3c3cf
deprecated Get/SetOptimization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:15:45 +00:00
Robin Dunn
a72f4631fe
Update SWIG patch to output "True" ("False") in the autodoc string
...
when "true" ("false") is in the .i file.
Changed the .i files to use true/false to avoid collisions with any
True/False in headers that may be included.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:23:54 +00:00
Robin Dunn
70794ec5ba
Added docstrings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:21:30 +00:00
Robin Dunn
ab1f7d2aa9
All the Window and GDI (pen, bitmap, etc.) classes and also many
...
toplevel functions will now check that a wx.App object has already
been created and will raise a wx.PyNoAppError exception if not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:38:05 +00:00
Robin Dunn
96fc3ef4f0
Add GetHDC back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 20:38:55 +00:00
Robin Dunn
d07d2bc9d0
Some docstring additions, reformats and epydoc markup.
...
Removed RefDoc macros, instead made all the normal Docstring macros
take an extra parameter to be used for the optional details postion of
the docstring. The intent is that the docstrings put in the generated
.py files checked in to CVS and delivered in releases will be only a
paragraph or two, but when used for generating the epydoc reference
docs they can optionally contain a lot more details.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:17:48 +00:00
Robin Dunn
d7403ad2d1
Reverted to old method names/signatures for wx.DC, updated lib and
...
demo to match. Also fixed some deprecation warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:41:33 +00:00
Robin Dunn
dce2bd223c
Docstring updates and tweaks for epydoc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 06:14:22 +00:00
Robin Dunn
75e14ed5ee
Various tweaks, docstring fixes, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:45:15 +00:00
Robin Dunn
da457c1b49
wxMac can do wxMetaFileDC now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 02:02:24 +00:00
Robin Dunn
86aafce32e
Updated DrawPolyPolygon note
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-06 00:14:11 +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
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
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
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
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
b159c5c481
Updates to reflect recent changes in wxWindows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 00:21:37 +00:00
Robin Dunn
2b9048c56f
%addtofunc --> %pythonAppend
...
Also used %pythonPrepend to provide backwards compatibility for a few
parameter name changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:18:37 +00:00
Robin Dunn
4942342c3e
Added a set of 2.4 compatibility classes for the wxDC classes that
...
replaces the normal Draw methods with those that have 2.4 compatible
parameter lists. These classes are used by default only when
importing from wxPython.wx (the "old" namespace.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-06 21:32:42 +00:00
Robin Dunn
81cfe5e13e
Aquire the GIL before raising the NotImplementedError exception
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 19:54:10 +00:00
Robin Dunn
4da6d35e8f
Expose SetClippingRegion(point, size)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-28 18:42:44 +00:00
Robin Dunn
fd3f2efe79
Lots of little bug fixes, API updates, etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:57:49 +00:00
Robin Dunn
322913cef3
More docstring updates for OUTPUT parameters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-20 20:41:31 +00:00