home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.5)
-
- import wx
- if 'wxMSW' in wx.PlatformInfo:
-
- def Browser(*a, **k):
- IEWindow = IEWindow
- import gui.browser.iewindow
- return IEWindow(*a, **k)
-
- elif 'wxMac' in wx.PlatformInfo:
-
- def Browser(*a, **k):
- WebKitWindow = WebKitWindow
- import gui.browser.mac_webkit
- return WebKitWindow(*a, **k)
-
- else:
- raise NotImplementedError('no Browser interface implemented for this platform')
-
- class BrowserFrame(wx.Frame):
-
- def __init__(self, parent, title = '', size = wx.DefaultSize, pos = wx.DefaultPosition, url = '', style = wx.DEFAULT_FRAME_STYLE, name = ''):
- wx.Frame.__init__(self, parent, title = title, size = size, pos = pos, style = style, name = name)
- self.browser = Browser(self, url = url)
- self.OnDoc = self.browser.OnDoc
-
-
-