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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user