mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Add simple a method to get the name of the ++ GraphicsRenderer class
This commit is contained in:
@@ -220,6 +220,11 @@ def run():
|
||||
# TODO: support this?
|
||||
c.find('CreateContextFromNativeHDC').ignore()
|
||||
|
||||
c.addPyMethod('GetType', '(self)',
|
||||
doc="Returns the name of the GraphicsRenderer class.",
|
||||
body="return self.GetClassInfo().GetClassName()")
|
||||
|
||||
|
||||
|
||||
c.find('GetGDIPlusRenderer').ignore()
|
||||
c.addCppMethod('wxGraphicsRenderer*', 'GetGDIPlusRenderer', '()', isStatic=True,
|
||||
|
||||
Reference in New Issue
Block a user