some fixes and code regeneration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -383,6 +383,11 @@ class MyApp(wxApp):
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
def main():
|
||||
try:
|
||||
demoPath = os.path.split(__file__)[0]
|
||||
os.chdir(demoPath)
|
||||
except:
|
||||
pass
|
||||
app = MyApp(0)
|
||||
app.MainLoop()
|
||||
|
||||
|
@@ -51,7 +51,7 @@ class TestToolBar(wxFrame):
|
||||
|
||||
|
||||
tb.AddSeparator()
|
||||
tb.AddControl(wxComboBox(tb, -1, "", LIST=["", "This", "is a", "wxComboBox"],
|
||||
tb.AddControl(wxComboBox(tb, -1, "", choices=["", "This", "is a", "wxComboBox"],
|
||||
size=(150,-1), style=wxCB_DROPDOWN))
|
||||
|
||||
tb.Realize()
|
||||
|
Reference in New Issue
Block a user