Some updates and fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-02-13 06:01:58 +00:00
parent f97c9b5bf2
commit 854862f58d
10 changed files with 32 additions and 17 deletions

View File

@@ -277,6 +277,7 @@ class wxPythonDemo(wxFrame):
self.nb.AddPage(self.window, 'Demo')
#self.nb.ResizeChildren()
self.nb.SetSelection(2)
#self.window.Refresh()
#self.nb.ResizeChildren()
#if self.window.GetAutoLayout():
# self.window.Layout()

View File

@@ -13,7 +13,10 @@ tests page...</H3>
(yes, really, see bellow:)
<BR>Click <a href="test.htm">here</a> to go to original testing page...
<BR>Click <a href="../../docs/html/man.htm">here</a> to go to manuals...
<BR>Click
<a href="http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/">here</a>
to go to manuals...
<BR>&nbsp;
<CENTER><TABLE CELLSPACING=5 BORDER COLS=2 WIDTH="40%" NOSAVE >
<TR ALIGN=CENTER NOSAVE>

View File

@@ -6,7 +6,7 @@
2.0.35 i686) [Netscape]">
<TITLE>wxPython does wxHTML!</TITLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#008800" LINK="#0000FF" VLINK="#FF0000" ALINK="#000088">
<BODY TEXT="#000000" BGCOLOR="#007f00" LINK="#0000FF" VLINK="#FF0000" ALINK="#000088">
<b><a href="tables.htm">click here to go to tables test page!</a></b>
<p>

View File

@@ -26,8 +26,8 @@ class MyHtmlWindow(wxHtmlWindow):
self.log.WriteText('OnSetTitle: %s\n' % title)
self.base_OnSetTitle(title)
def __del__(self):
print 'MyHtmlWindow.__del__'
## def __del__(self):
## print 'MyHtmlWindow.__del__'
class TestHtmlPanel(wxPanel):
@@ -49,9 +49,9 @@ class TestHtmlPanel(wxPanel):
self.box.Add(self.html, 1, wxGROW)
subbox = wxBoxSizer(wxHORIZONTAL)
btn = wxButton(self, 1201, "Show Default")
EVT_BUTTON(self, 1201, self.OnShowDefault)
subbox.Add(btn, 1, wxGROW | wxALL, 2)
## btn = wxButton(self, 1201, "Show Default")
## EVT_BUTTON(self, 1201, self.OnShowDefault)
## subbox.Add(btn, 1, wxGROW | wxALL, 2)
btn = wxButton(self, 1202, "Load File")
EVT_BUTTON(self, 1202, self.OnLoadFile)
@@ -87,8 +87,8 @@ class TestHtmlPanel(wxPanel):
self.OnShowDefault(None)
def __del__(self):
print 'TestHtmlPanel.__del__'
## def __del__(self):
## print 'TestHtmlPanel.__del__'

View File

@@ -27,6 +27,8 @@ def runTest(frame, nb, log):
global logger
logger = log
p = wxMVCTree(nb, -1)
#f = wxFrame(frame, -1, "wxMVCTree")
#p = wxMVCTree(f, -1)
p.SetAssumeChildren(true)
p.SetModel(LateFSTreeModel(os.path.normpath(os.getcwd() + os.sep +'..')))
#Uncomment this to enable live filename editing!
@@ -39,7 +41,14 @@ def runTest(frame, nb, log):
EVT_MVCTREE_ADD_ITEM(p, p.GetId(), add)
EVT_MVCTREE_DELETE_ITEM(p, p.GetId(), delitem)
EVT_MVCTREE_KEY_DOWN(p, p.GetId(), key)
return p
#frame.otherWin = f
#f.Show(true)
#return None
overview = """\
wxMVCTree is a control which handles hierarchical data. It is constructed in model-view-controller architecture, so the display of that data, and the content of the data can be changed greatly without affecting the other parts.

View File

@@ -81,8 +81,8 @@ class TestMaskWindow(wxScrolledWindow):
mdc = wxMemoryDC()
i = 0
for text, code in logicList:
x,y = 120+100*(i%4), 20+100*(i/4)
dc.DrawText(text, x,y-20)
x,y = 120+150*(i%4), 20+100*(i/4)
dc.DrawText(text, x, y-20)
mdc.SelectObject(self.bmp_withcolourmask)
dc.Blit(x,y, cx,cy, mdc, 0,0, code, true)
i = i + 1