Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky. Added wrappers for the default ctor and the Create methods for most window classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -17,6 +17,9 @@ class wxStatusBarPtr(wxWindowPtr): | ||||
|     def __init__(self,this): | ||||
|         self.this = this | ||||
|         self.thisown = 0 | ||||
|     def Create(self, *_args, **_kwargs): | ||||
|         val = apply(stattoolc.wxStatusBar_Create,(self,) + _args, _kwargs) | ||||
|         return val | ||||
|     def GetFieldRect(self, *_args, **_kwargs): | ||||
|         val = apply(stattoolc.wxStatusBar_GetFieldRect,(self,) + _args, _kwargs) | ||||
|         if val: val = wxRectPtr(val) ; val.thisown = 1 | ||||
| @@ -55,6 +58,11 @@ class wxStatusBar(wxStatusBarPtr): | ||||
|  | ||||
|  | ||||
|  | ||||
| def wxPreStatusBar(*_args,**_kwargs): | ||||
|     val = wxStatusBarPtr(apply(stattoolc.new_wxPreStatusBar,_args,_kwargs)) | ||||
|     val.thisown = 1 | ||||
|     return val | ||||
|  | ||||
|  | ||||
| class wxToolBarToolBasePtr(wxObjectPtr): | ||||
|     def __init__(self,this): | ||||
| @@ -291,6 +299,9 @@ class wxToolBarPtr(wxToolBarBasePtr): | ||||
|     def __init__(self,this): | ||||
|         self.this = this | ||||
|         self.thisown = 0 | ||||
|     def Create(self, *_args, **_kwargs): | ||||
|         val = apply(stattoolc.wxToolBar_Create,(self,) + _args, _kwargs) | ||||
|         return val | ||||
|     def FindToolForPosition(self, *_args, **_kwargs): | ||||
|         val = apply(stattoolc.wxToolBar_FindToolForPosition,(self,) + _args, _kwargs) | ||||
|         return val | ||||
| @@ -304,11 +315,19 @@ class wxToolBar(wxToolBarPtr): | ||||
|  | ||||
|  | ||||
|  | ||||
| def wxPreToolBar(*_args,**_kwargs): | ||||
|     val = wxToolBarPtr(apply(stattoolc.new_wxPreToolBar,_args,_kwargs)) | ||||
|     val.thisown = 1 | ||||
|     return val | ||||
|  | ||||
|  | ||||
| class wxToolBarSimplePtr(wxToolBarBasePtr): | ||||
|     def __init__(self,this): | ||||
|         self.this = this | ||||
|         self.thisown = 0 | ||||
|     def Create(self, *_args, **_kwargs): | ||||
|         val = apply(stattoolc.wxToolBarSimple_Create,(self,) + _args, _kwargs) | ||||
|         return val | ||||
|     def FindToolForPosition(self, *_args, **_kwargs): | ||||
|         val = apply(stattoolc.wxToolBarSimple_FindToolForPosition,(self,) + _args, _kwargs) | ||||
|         return val | ||||
| @@ -322,6 +341,11 @@ class wxToolBarSimple(wxToolBarSimplePtr): | ||||
|  | ||||
|  | ||||
|  | ||||
| def wxPreToolBarSimple(*_args,**_kwargs): | ||||
|     val = wxToolBarSimplePtr(apply(stattoolc.new_wxPreToolBarSimple,_args,_kwargs)) | ||||
|     val.thisown = 1 | ||||
|     return val | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user