Version 0.4.1 for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user