Added menu sample, and some other minor changes to the demo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-07-02 17:08:55 +00:00
parent 5f4403b407
commit 3115ef3e56
5 changed files with 191 additions and 28 deletions

View File

@@ -10,8 +10,7 @@ class ScrolledPanel(wxScrolledWindow):
def __init__(self, parent, log):
self.log = log
wxScrolledWindow.__init__(self, parent, -1,
style = wxTAB_TRAVERSAL|wxHSCROLL|wxVSCROLL)
style = wxTAB_TRAVERSAL)
box = wxBoxSizer(wxVERTICAL)
box.Add(wxStaticText(self, -1,
@@ -73,10 +72,6 @@ class ScrolledPanel(wxScrolledWindow):
#----------------------------------------------------------------------
## class ScrollToHandler(wxEvtHandler):
## """This class helps to scroll the panel
#----------------------------------------------------------------------
def runTest(frame, nb, log):
win = ScrolledPanel(nb, log)