Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,13 +11,13 @@ from clip_dnd import *
|
||||
|
||||
from cmndlgs import *
|
||||
|
||||
from events import *
|
||||
|
||||
from frames import *
|
||||
|
||||
from stattool import *
|
||||
|
||||
from controls import *
|
||||
|
||||
from events import *
|
||||
import wx
|
||||
class wxPrintDataPtr(wxObjectPtr):
|
||||
def __init__(self,this):
|
||||
@@ -399,8 +399,8 @@ class wxPrintoutPtr(wxObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintout__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintout__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def Destroy(self, *_args, **_kwargs):
|
||||
val = apply(printfwc.wxPrintout_Destroy,(self,) + _args, _kwargs)
|
||||
@@ -450,7 +450,7 @@ class wxPrintout(wxPrintoutPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(printfwc.new_wxPrintout,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setSelf(self, wxPrintout)
|
||||
self._setCallbackInfo(self, wxPrintout)
|
||||
|
||||
|
||||
|
||||
@@ -567,7 +567,7 @@ class wxPreviewFrame(wxPreviewFramePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(printfwc.new_wxPreviewFrame,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
#wx._StdFrameCallbacks(self)
|
||||
self._setOORInfo(self)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user