Robin Dunn
|
1fa3908466
|
Add a __bool__ for every __nonzero__ that doesn't already have one
(cherry picked from commit 229870f9c9)
|
2018-10-12 23:59:28 -07:00 |
|
Robin Dunn
|
13c45c37bf
|
Dereference the dc pointer, otherwise the void* overload will be called which apparently fails silently.
|
2018-09-12 19:49:37 -07:00 |
|
Robin Dunn
|
b410f5e570
|
Update copyright years --> 2018
|
2018-06-06 10:59:51 -07:00 |
|
Robin Dunn
|
63841e478d
|
Add a wx.GraphicsContext.Create overload for wx.AutoBufferedPaintDC,
and let the C++ compiler sort out whether it is really a wxPaintDC or a wxBufferedPaintDC.
|
2018-05-31 16:21:12 -07:00 |
|
Robin Dunn
|
01e7fdcd0e
|
Enable wxGraphicsContext::Create(metaFileDC) wrapper
|
2018-05-05 19:24:53 -07:00 |
|
Robin Dunn
|
ddc11eef44
|
Fix typo
|
2017-05-09 20:01:35 -07:00 |
|
Robin Dunn
|
c8b3ccc44c
|
Ensure we have the GIL in GraphicsContext.GetTextExtent
|
2017-05-09 19:47:57 -07:00 |
|
Robin Dunn
|
4e38994944
|
Update copyright in etg
|
2017-02-13 16:14:55 -08:00 |
|
Robin Dunn
|
5f04f3b082
|
Add more mustHaveApp flags
|
2017-01-23 20:41:07 -08:00 |
|
Metallicow
|
ebc8d0d971
|
trim trailing space etg directory
|
2016-11-10 12:08:36 -06:00 |
|
Robin Dunn
|
cb701bd77e
|
Reinstate the size_t MappedType with compile-time bit size checking
Replace the use of size_t in custom code with ulong so SIP doesn't try to use the MappedType there (it only uses pointers for them.)
|
2016-03-04 21:05:46 -08:00 |
|
Robin Dunn
|
c3d5fdef81
|
- The keepReference hack is no longer needed for factory functions
- Add some missing DC methods
- minor fix in the GraphicsGradient demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-06-13 06:18:51 +00:00 |
|
Robin Dunn
|
35fd2e16bf
|
Update copyright year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2013-01-21 02:13:03 +00:00 |
|
Robin Dunn
|
424f9fa84c
|
Since SIP's KeepReference will leak the reference when used with a static method it can't be used with wx.GraphicsContext.Create to ensure that the target lives as long as the GC. Instead we'll rename the Create methods and then wrap a little Python code around it to deal with holding the ref to the target.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-12-23 03:08:08 +00:00 |
|
Robin Dunn
|
9d79e123fa
|
Tweak the deprecation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-07-11 05:02:43 +00:00 |
|
Robin Dunn
|
aebd862d14
|
Provide hints for deprecated items about what should be used instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2012-07-10 05:15:17 +00:00 |
|
Robin Dunn
|
e26a3ebaee
|
Move the Point2D_helpers code into a template function so it can be used for other types too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-26 04:48:04 +00:00 |
|
Robin Dunn
|
f2864fdc05
|
Update to latest SIP dev snapshot, and remove the BLACK hack that is no longer needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-24 21:48:30 +00:00 |
|
Robin Dunn
|
766baba0a6
|
M0ve the call to addAutoProperties into the doCommonTweaks function, but make it not generate the auto properties if there are already properties in the class or the class explicitly clears the alllowAutoProperties flag, turning it off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-24 21:35:29 +00:00 |
|
Robin Dunn
|
5ffc5d8681
|
Ensure that custom C++ implementations that create a new instance for the return value are marked as Factories.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-21 07:59:10 +00:00 |
|
Robin Dunn
|
ee1f7f2548
|
Rename addGetterSetterProps --> addAutoProperties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-13 19:04:40 +00:00 |
|
Robin Dunn
|
4f675b544c
|
Lots of enhancments and additions for wxGraphics classes. Added unittests too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-13 06:36:10 +00:00 |
|
Robin Dunn
|
d1ce50b946
|
Add wxGraphicsBitmap and wxNonOwnedWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-11 05:43:49 +00:00 |
|
Robin Dunn
|
0be648f444
|
Change all the color default value for all CreateFonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-10-11 05:09:39 +00:00 |
|
Robin Dunn
|
792dc037c2
|
Add back the "BLACK" parameter defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-09-20 04:39:11 +00:00 |
|
Kevin Ollivier
|
1aa87b9104
|
Another batch of new classes. With this, aside from wxRadioBox since it still has the ambiguous base issue for GetDefaultBorder, all the wxPython Classic unittest suite runs, and impressively, pretty much just reports missing methods (maybe undoc'ed or Classic-only ones) and a couple missing bits like PyAssertionError.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2011-09-18 16:37:38 +00:00 |
|