from gdi import *
+from fonts import *
+
from clip_dnd import *
from controls import *
from events import *
import wx
import string
-class wxSizerItemPtr :
+class wxSizerItemPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
+ def DeleteWindows(self, *_args, **_kwargs):
+ val = apply(sizersc.wxSizerItem_DeleteWindows,(self,) + _args, _kwargs)
+ return val
+ def GetPosition(self, *_args, **_kwargs):
+ val = apply(sizersc.wxSizerItem_GetPosition,(self,) + _args, _kwargs)
+ if val: val = wxPointPtr(val) ; val.thisown = 1
+ return val
def GetSize(self, *_args, **_kwargs):
val = apply(sizersc.wxSizerItem_GetSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(sizersc.wxSizerItem_GetWindow,(self,) + _args, _kwargs)
- if val: val = wxWindowPtr(val)
return val
def SetWindow(self, *_args, **_kwargs):
val = apply(sizersc.wxSizerItem_SetWindow,(self,) + _args, _kwargs)
return val
def GetSizer(self, *_args, **_kwargs):
val = apply(sizersc.wxSizerItem_GetSizer,(self,) + _args, _kwargs)
- if val: val = wxSizerPtr(val)
return val
def SetSizer(self, *_args, **_kwargs):
val = apply(sizersc.wxSizerItem_SetSizer,(self,) + _args, _kwargs)
-class wxSizerPtr :
+class wxSizerPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
+ def _setOORInfo(self, *_args, **_kwargs):
+ val = apply(sizersc.wxSizer__setOORInfo,(self,) + _args, _kwargs)
+ return val
def Destroy(self, *_args, **_kwargs):
val = apply(sizersc.wxSizer_Destroy,(self,) + _args, _kwargs)
return val
def SetSizeHints(self, *_args, **_kwargs):
val = apply(sizersc.wxSizer_SetSizeHints,(self,) + _args, _kwargs)
return val
+ def Clear(self, *_args, **_kwargs):
+ val = apply(sizersc.wxSizer_Clear,(self,) + _args, _kwargs)
+ return val
+ def DeleteWindows(self, *_args, **_kwargs):
+ val = apply(sizersc.wxSizer_DeleteWindows,(self,) + _args, _kwargs)
+ return val
def GetChildren(self, *_args, **_kwargs):
val = apply(sizersc.wxSizer_GetChildren,(self,) + _args, _kwargs)
return val
def __init__(self,this):
self.this = this
self.thisown = 0
- def _setSelf(self, *_args, **_kwargs):
- val = apply(sizersc.wxPySizer__setSelf,(self,) + _args, _kwargs)
+ def _setCallbackInfo(self, *_args, **_kwargs):
+ val = apply(sizersc.wxPySizer__setCallbackInfo,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxPySizer instance at %s>" % (self.this,)
def __init__(self,*_args,**_kwargs):
self.this = apply(sizersc.new_wxPySizer,_args,_kwargs)
self.thisown = 1
- self._setSelf(self, wxPySizer)
+ self._setCallbackInfo(self, wxPySizer)
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(sizersc.new_wxBoxSizer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
self.thisown = 0
def GetStaticBox(self, *_args, **_kwargs):
val = apply(sizersc.wxStaticBoxSizer_GetStaticBox,(self,) + _args, _kwargs)
- if val: val = wxStaticBoxPtr(val)
return val
def RecalcSizes(self, *_args, **_kwargs):
val = apply(sizersc.wxStaticBoxSizer_RecalcSizes,(self,) + _args, _kwargs)
def __init__(self,*_args,**_kwargs):
self.this = apply(sizersc.new_wxStaticBoxSizer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
return val
def GetNotebook(self, *_args, **_kwargs):
val = apply(sizersc.wxNotebookSizer_GetNotebook,(self,) + _args, _kwargs)
- if val: val = wxNotebookPtr(val)
return val
def __repr__(self):
return "<C wxNotebookSizer instance at %s>" % (self.this,)
def __init__(self,*_args,**_kwargs):
self.this = apply(sizersc.new_wxNotebookSizer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(sizersc.new_wxGridSizer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(sizersc.new_wxFlexGridSizer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)