wxpython的ComboCtrl控件中 SetPopupMaxHeight 函数怎么用
wxpython的ComboCtrl控件中 SetPopupMaxHeight 函数怎么用?
我是这样用的
self.stt=wx.ComboBox( panel,-1, u"",size=(175,30), choices=sampleList,SetPopupMaxHeight=100,style = wx.CB_DROPDOWN )
报错误:
TypeError: ComboBox(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: 'SetPopupMaxHeight' is not a valid keyword argument
OnInit returned false, exiting...
求助