2
# -*- coding: utf-8 -*-
9
from core import Control, Window
11
class HtmlWindow(Window):
12
def __init__(self, *args, **kwds):
13
Window.__init__(self, *args, **kwds)
15
def LoadUrl(self, url):
17
def SetPage(self, page):
20
def __getattr__(self, attr):
21
"""Just fake any other methods"""
22
self.calls.append(attr)
23
return lambda *args, **kwds: None
25
class HtmlHelpController(object):
26
def AddBook(self, book):
30
wx.html.__dict__.update(locals())
31
assert wx.html.HtmlWindow == HtmlWindow
b'\\ No newline at end of file'