wxPython 2.1b1: Very minor changes needed for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,7 +185,7 @@ class wxChoice(wxChoicePtr):
|
||||
|
||||
|
||||
|
||||
class wxComboBoxPtr(wxControlPtr):
|
||||
class wxComboBoxPtr(wxChoicePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
@@ -243,9 +243,6 @@ class wxComboBoxPtr(wxControlPtr):
|
||||
def SetInsertionPointEnd(self):
|
||||
val = controlsc.wxComboBox_SetInsertionPointEnd(self.this)
|
||||
return val
|
||||
def SetSelection(self,arg0,*args):
|
||||
val = apply(controlsc.wxComboBox_SetSelection,(self.this,arg0,)+args)
|
||||
return val
|
||||
def SetMark(self,arg0,arg1):
|
||||
val = controlsc.wxComboBox_SetMark(self.this,arg0,arg1)
|
||||
return val
|
||||
@@ -334,6 +331,26 @@ class wxStaticBox(wxStaticBoxPtr):
|
||||
|
||||
|
||||
|
||||
class wxStaticLinePtr(wxControlPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def __repr__(self):
|
||||
return "<C wxStaticLine instance>"
|
||||
class wxStaticLine(wxStaticLinePtr):
|
||||
def __init__(self,arg0,arg1,*args) :
|
||||
argl = map(None,args)
|
||||
try: argl[0] = argl[0].this
|
||||
except: pass
|
||||
try: argl[1] = argl[1].this
|
||||
except: pass
|
||||
args = tuple(argl)
|
||||
self.this = apply(controlsc.new_wxStaticLine,(arg0.this,arg1,)+args)
|
||||
self.thisown = 1
|
||||
|
||||
|
||||
|
||||
|
||||
class wxStaticTextPtr(wxControlPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
@@ -713,9 +730,6 @@ class wxRadioBoxPtr(wxControlPtr):
|
||||
def Number(self):
|
||||
val = controlsc.wxRadioBox_Number(self.this)
|
||||
return val
|
||||
def SetLabel(self,arg0):
|
||||
val = controlsc.wxRadioBox_SetLabel(self.this,arg0)
|
||||
return val
|
||||
def SetItemLabel(self,arg0,arg1):
|
||||
val = controlsc.wxRadioBox_SetItemLabel(self.this,arg0,arg1)
|
||||
return val
|
||||
|
Reference in New Issue
Block a user