X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70551f4702bfdd1796be68bc4c24503d229a05c5..3dd4e4e05cc46ffc653730715e527af7b18b9caf:/utils/wxPython/src/gtk/controls.py?ds=inline diff --git a/utils/wxPython/src/gtk/controls.py b/utils/wxPython/src/gtk/controls.py index cccf4bbb8b..7e70aae9fa 100644 --- a/utils/wxPython/src/gtk/controls.py +++ b/utils/wxPython/src/gtk/controls.py @@ -8,6 +8,7 @@ from windows import * from gdi import * from events import * +import wxp class wxControlPtr(wxWindowPtr): def __init__(self,this): self.this = this @@ -49,6 +50,7 @@ class wxButton(wxButtonPtr): args = tuple(argl) self.this = apply(controlsc.new_wxButton,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -76,6 +78,7 @@ class wxBitmapButton(wxBitmapButtonPtr): args = tuple(argl) self.this = apply(controlsc.new_wxBitmapButton,(arg0.this,arg1,arg2.this,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -102,6 +105,7 @@ class wxCheckBox(wxCheckBoxPtr): args = tuple(argl) self.this = apply(controlsc.new_wxCheckBox,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -155,6 +159,7 @@ class wxChoice(wxChoicePtr): args = tuple(argl) self.this = apply(controlsc.new_wxChoice,(arg0.this,arg1,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -238,6 +243,7 @@ class wxComboBox(wxComboBoxPtr): args = tuple(argl) self.this = apply(controlsc.new_wxComboBox,(arg0.this,arg1,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -282,6 +288,7 @@ class wxGauge(wxGaugePtr): args = tuple(argl) self.this = apply(controlsc.new_wxGauge,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -328,6 +335,7 @@ class wxStaticText(wxStaticTextPtr): args = tuple(argl) self.this = apply(controlsc.new_wxStaticText,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -396,6 +404,7 @@ class wxListBox(wxListBoxPtr): args = tuple(argl) self.this = apply(controlsc.new_wxListBox,(arg0.this,arg1,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -476,6 +485,7 @@ class wxTextCtrl(wxTextCtrlPtr): args = tuple(argl) self.this = apply(controlsc.new_wxTextCtrl,(arg0.this,arg1,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -514,6 +524,7 @@ class wxScrollBar(wxScrollBarPtr): args = tuple(argl) self.this = apply(controlsc.new_wxScrollBar,(arg0.this,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -541,6 +552,7 @@ class wxStaticBitmap(wxStaticBitmapPtr): args = tuple(argl) self.this = apply(controlsc.new_wxStaticBitmap,(arg0.this,arg1,arg2.this,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -558,9 +570,6 @@ class wxRadioBoxPtr(wxControlPtr): def FindString(self,arg0): val = controlsc.wxRadioBox_FindString(self.this,arg0) return val - def GetBoxLabel(self): - val = controlsc.wxRadioBox_GetBoxLabel(self.this) - return val def GetLabel(self,arg0): val = controlsc.wxRadioBox_GetLabel(self.this,arg0) return val @@ -606,6 +615,7 @@ class wxRadioBox(wxRadioBoxPtr): args = tuple(argl) self.this = apply(controlsc.new_wxRadioBox,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -632,6 +642,7 @@ class wxRadioButton(wxRadioButtonPtr): args = tuple(argl) self.this = apply(controlsc.new_wxRadioButton,(arg0.this,arg1,arg2,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self) @@ -709,6 +720,7 @@ class wxSlider(wxSliderPtr): args = tuple(argl) self.this = apply(controlsc.new_wxSlider,(arg0.this,arg1,arg2,arg3,arg4,)+args) self.thisown = 1 + wxp._StdWindowCallbacks(self)