X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/src/msw/filesys.py?ds=inline diff --git a/wxPython/src/msw/filesys.py b/wxPython/src/msw/filesys.py index 512b41100c..d1d52ee1fe 100644 --- a/wxPython/src/msw/filesys.py +++ b/wxPython/src/msw/filesys.py @@ -9,6 +9,8 @@ from misc import * from gdi import * +from fonts import * + from streams import * import wx import string @@ -71,8 +73,8 @@ class wxFileSystemHandlerPtr(wxCPPFileSystemHandlerPtr): def __init__(self,this): self.this = this self.thisown = 0 - def _setSelf(self, *_args, **_kwargs): - val = apply(filesysc.wxFileSystemHandler__setSelf,(self,) + _args, _kwargs) + def _setCallbackInfo(self, *_args, **_kwargs): + val = apply(filesysc.wxFileSystemHandler__setCallbackInfo,(self,) + _args, _kwargs) return val def CanOpen(self, *_args, **_kwargs): val = apply(filesysc.wxFileSystemHandler_CanOpen,(self,) + _args, _kwargs) @@ -107,7 +109,7 @@ class wxFileSystemHandler(wxFileSystemHandlerPtr): def __init__(self,*_args,**_kwargs): self.this = apply(filesysc.new_wxFileSystemHandler,_args,_kwargs) self.thisown = 1 - self._setSelf(self, wxFileSystemHandler) + self._setCallbackInfo(self, wxFileSystemHandler)