1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
14 from controls
import *
18 class wxNotebookEventPtr(wxNotifyEventPtr
):
19 def __init__(self
,this
):
22 def GetSelection(self
, *_args
, **_kwargs
):
23 val
= apply(windows2c
.wxNotebookEvent_GetSelection
,(self
,) + _args
, _kwargs
)
25 def GetOldSelection(self
, *_args
, **_kwargs
):
26 val
= apply(windows2c
.wxNotebookEvent_GetOldSelection
,(self
,) + _args
, _kwargs
)
28 def SetOldSelection(self
, *_args
, **_kwargs
):
29 val
= apply(windows2c
.wxNotebookEvent_SetOldSelection
,(self
,) + _args
, _kwargs
)
31 def SetSelection(self
, *_args
, **_kwargs
):
32 val
= apply(windows2c
.wxNotebookEvent_SetSelection
,(self
,) + _args
, _kwargs
)
35 return "<C wxNotebookEvent instance at %s>" % (self
.this
,)
36 class wxNotebookEvent(wxNotebookEventPtr
):
37 def __init__(self
,*_args
,**_kwargs
):
38 self
.this
= apply(windows2c
.new_wxNotebookEvent
,_args
,_kwargs
)
44 class wxNotebookPtr(wxControlPtr
):
45 def __init__(self
,this
):
48 def Create(self
, *_args
, **_kwargs
):
49 val
= apply(windows2c
.wxNotebook_Create
,(self
,) + _args
, _kwargs
)
51 def GetPageCount(self
, *_args
, **_kwargs
):
52 val
= apply(windows2c
.wxNotebook_GetPageCount
,(self
,) + _args
, _kwargs
)
54 def SetSelection(self
, *_args
, **_kwargs
):
55 val
= apply(windows2c
.wxNotebook_SetSelection
,(self
,) + _args
, _kwargs
)
57 def AdvanceSelection(self
, *_args
, **_kwargs
):
58 val
= apply(windows2c
.wxNotebook_AdvanceSelection
,(self
,) + _args
, _kwargs
)
60 def GetSelection(self
, *_args
, **_kwargs
):
61 val
= apply(windows2c
.wxNotebook_GetSelection
,(self
,) + _args
, _kwargs
)
63 def SetPageText(self
, *_args
, **_kwargs
):
64 val
= apply(windows2c
.wxNotebook_SetPageText
,(self
,) + _args
, _kwargs
)
66 def GetPageText(self
, *_args
, **_kwargs
):
67 val
= apply(windows2c
.wxNotebook_GetPageText
,(self
,) + _args
, _kwargs
)
69 def SetImageList(self
, *_args
, **_kwargs
):
70 val
= apply(windows2c
.wxNotebook_SetImageList
,(self
,) + _args
, _kwargs
)
72 def AssignImageList(self
, *_args
, **_kwargs
):
73 val
= apply(windows2c
.wxNotebook_AssignImageList
,(self
,) + _args
, _kwargs
)
76 def GetImageList(self
, *_args
, **_kwargs
):
77 val
= apply(windows2c
.wxNotebook_GetImageList
,(self
,) + _args
, _kwargs
)
79 def GetPageImage(self
, *_args
, **_kwargs
):
80 val
= apply(windows2c
.wxNotebook_GetPageImage
,(self
,) + _args
, _kwargs
)
82 def SetPageImage(self
, *_args
, **_kwargs
):
83 val
= apply(windows2c
.wxNotebook_SetPageImage
,(self
,) + _args
, _kwargs
)
85 def GetRowCount(self
, *_args
, **_kwargs
):
86 val
= apply(windows2c
.wxNotebook_GetRowCount
,(self
,) + _args
, _kwargs
)
88 def SetPageSize(self
, *_args
, **_kwargs
):
89 val
= apply(windows2c
.wxNotebook_SetPageSize
,(self
,) + _args
, _kwargs
)
91 def SetPadding(self
, *_args
, **_kwargs
):
92 val
= apply(windows2c
.wxNotebook_SetPadding
,(self
,) + _args
, _kwargs
)
94 def DeletePage(self
, *_args
, **_kwargs
):
95 val
= apply(windows2c
.wxNotebook_DeletePage
,(self
,) + _args
, _kwargs
)
97 def RemovePage(self
, *_args
, **_kwargs
):
98 val
= apply(windows2c
.wxNotebook_RemovePage
,(self
,) + _args
, _kwargs
)
100 def DeleteAllPages(self
, *_args
, **_kwargs
):
101 val
= apply(windows2c
.wxNotebook_DeleteAllPages
,(self
,) + _args
, _kwargs
)
103 def AddPage(self
, *_args
, **_kwargs
):
104 val
= apply(windows2c
.wxNotebook_AddPage
,(self
,) + _args
, _kwargs
)
106 def InsertPage(self
, *_args
, **_kwargs
):
107 val
= apply(windows2c
.wxNotebook_InsertPage
,(self
,) + _args
, _kwargs
)
109 def GetPage(self
, *_args
, **_kwargs
):
110 val
= apply(windows2c
.wxNotebook_GetPage
,(self
,) + _args
, _kwargs
)
112 def ResizeChildren(self
, *_args
, **_kwargs
):
113 val
= apply(windows2c
.wxNotebook_ResizeChildren
,(self
,) + _args
, _kwargs
)
116 return "<C wxNotebook instance at %s>" % (self
.this
,)
117 class wxNotebook(wxNotebookPtr
):
118 def __init__(self
,*_args
,**_kwargs
):
119 self
.this
= apply(windows2c
.new_wxNotebook
,_args
,_kwargs
)
121 self
._setOORInfo
(self
)
125 def wxPreNotebook(*_args
,**_kwargs
):
126 val
= wxNotebookPtr(apply(windows2c
.new_wxPreNotebook
,_args
,_kwargs
))
132 class wxSplitterEventPtr(wxNotifyEventPtr
):
133 def __init__(self
,this
):
136 def GetSashPosition(self
, *_args
, **_kwargs
):
137 val
= apply(windows2c
.wxSplitterEvent_GetSashPosition
,(self
,) + _args
, _kwargs
)
139 def GetX(self
, *_args
, **_kwargs
):
140 val
= apply(windows2c
.wxSplitterEvent_GetX
,(self
,) + _args
, _kwargs
)
142 def GetY(self
, *_args
, **_kwargs
):
143 val
= apply(windows2c
.wxSplitterEvent_GetY
,(self
,) + _args
, _kwargs
)
145 def GetWindowBeingRemoved(self
, *_args
, **_kwargs
):
146 val
= apply(windows2c
.wxSplitterEvent_GetWindowBeingRemoved
,(self
,) + _args
, _kwargs
)
148 def SetSashPosition(self
, *_args
, **_kwargs
):
149 val
= apply(windows2c
.wxSplitterEvent_SetSashPosition
,(self
,) + _args
, _kwargs
)
152 return "<C wxSplitterEvent instance at %s>" % (self
.this
,)
153 class wxSplitterEvent(wxSplitterEventPtr
):
154 def __init__(self
,*_args
,**_kwargs
):
155 self
.this
= apply(windows2c
.new_wxSplitterEvent
,_args
,_kwargs
)
161 class wxSplitterWindowPtr(wxWindowPtr
):
162 def __init__(self
,this
):
165 def Create(self
, *_args
, **_kwargs
):
166 val
= apply(windows2c
.wxSplitterWindow_Create
,(self
,) + _args
, _kwargs
)
168 def GetWindow1(self
, *_args
, **_kwargs
):
169 val
= apply(windows2c
.wxSplitterWindow_GetWindow1
,(self
,) + _args
, _kwargs
)
171 def GetWindow2(self
, *_args
, **_kwargs
):
172 val
= apply(windows2c
.wxSplitterWindow_GetWindow2
,(self
,) + _args
, _kwargs
)
174 def SetSplitMode(self
, *_args
, **_kwargs
):
175 val
= apply(windows2c
.wxSplitterWindow_SetSplitMode
,(self
,) + _args
, _kwargs
)
177 def GetSplitMode(self
, *_args
, **_kwargs
):
178 val
= apply(windows2c
.wxSplitterWindow_GetSplitMode
,(self
,) + _args
, _kwargs
)
180 def Initialize(self
, *_args
, **_kwargs
):
181 val
= apply(windows2c
.wxSplitterWindow_Initialize
,(self
,) + _args
, _kwargs
)
183 def SplitVertically(self
, *_args
, **_kwargs
):
184 val
= apply(windows2c
.wxSplitterWindow_SplitVertically
,(self
,) + _args
, _kwargs
)
186 def SplitHorizontally(self
, *_args
, **_kwargs
):
187 val
= apply(windows2c
.wxSplitterWindow_SplitHorizontally
,(self
,) + _args
, _kwargs
)
189 def Unsplit(self
, *_args
, **_kwargs
):
190 val
= apply(windows2c
.wxSplitterWindow_Unsplit
,(self
,) + _args
, _kwargs
)
192 def ReplaceWindow(self
, *_args
, **_kwargs
):
193 val
= apply(windows2c
.wxSplitterWindow_ReplaceWindow
,(self
,) + _args
, _kwargs
)
195 def IsSplit(self
, *_args
, **_kwargs
):
196 val
= apply(windows2c
.wxSplitterWindow_IsSplit
,(self
,) + _args
, _kwargs
)
198 def SetSashSize(self
, *_args
, **_kwargs
):
199 val
= apply(windows2c
.wxSplitterWindow_SetSashSize
,(self
,) + _args
, _kwargs
)
201 def SetBorderSize(self
, *_args
, **_kwargs
):
202 val
= apply(windows2c
.wxSplitterWindow_SetBorderSize
,(self
,) + _args
, _kwargs
)
204 def GetSashSize(self
, *_args
, **_kwargs
):
205 val
= apply(windows2c
.wxSplitterWindow_GetSashSize
,(self
,) + _args
, _kwargs
)
207 def GetBorderSize(self
, *_args
, **_kwargs
):
208 val
= apply(windows2c
.wxSplitterWindow_GetBorderSize
,(self
,) + _args
, _kwargs
)
210 def SetSashPosition(self
, *_args
, **_kwargs
):
211 val
= apply(windows2c
.wxSplitterWindow_SetSashPosition
,(self
,) + _args
, _kwargs
)
213 def GetSashPosition(self
, *_args
, **_kwargs
):
214 val
= apply(windows2c
.wxSplitterWindow_GetSashPosition
,(self
,) + _args
, _kwargs
)
216 def SetMinimumPaneSize(self
, *_args
, **_kwargs
):
217 val
= apply(windows2c
.wxSplitterWindow_SetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
219 def GetMinimumPaneSize(self
, *_args
, **_kwargs
):
220 val
= apply(windows2c
.wxSplitterWindow_GetMinimumPaneSize
,(self
,) + _args
, _kwargs
)
222 def SizeWindows(self
, *_args
, **_kwargs
):
223 val
= apply(windows2c
.wxSplitterWindow_SizeWindows
,(self
,) + _args
, _kwargs
)
225 def SetNeedUpdating(self
, *_args
, **_kwargs
):
226 val
= apply(windows2c
.wxSplitterWindow_SetNeedUpdating
,(self
,) + _args
, _kwargs
)
228 def GetNeedUpdating(self
, *_args
, **_kwargs
):
229 val
= apply(windows2c
.wxSplitterWindow_GetNeedUpdating
,(self
,) + _args
, _kwargs
)
232 return "<C wxSplitterWindow instance at %s>" % (self
.this
,)
233 class wxSplitterWindow(wxSplitterWindowPtr
):
234 def __init__(self
,*_args
,**_kwargs
):
235 self
.this
= apply(windows2c
.new_wxSplitterWindow
,_args
,_kwargs
)
237 self
._setOORInfo
(self
)
241 def wxPreSplitterWindow(*_args
,**_kwargs
):
242 val
= wxSplitterWindowPtr(apply(windows2c
.new_wxPreSplitterWindow
,_args
,_kwargs
))
248 class wxTaskBarIconPtr(wxEvtHandlerPtr
):
249 def __init__(self
,this
):
252 def __del__(self
,windows2c
=windows2c
):
253 if self
.thisown
== 1 :
254 windows2c
.delete_wxTaskBarIcon(self
)
255 def SetIcon(self
, *_args
, **_kwargs
):
256 val
= apply(windows2c
.wxTaskBarIcon_SetIcon
,(self
,) + _args
, _kwargs
)
258 def RemoveIcon(self
, *_args
, **_kwargs
):
259 val
= apply(windows2c
.wxTaskBarIcon_RemoveIcon
,(self
,) + _args
, _kwargs
)
261 def PopupMenu(self
, *_args
, **_kwargs
):
262 val
= apply(windows2c
.wxTaskBarIcon_PopupMenu
,(self
,) + _args
, _kwargs
)
264 def IsIconInstalled(self
, *_args
, **_kwargs
):
265 val
= apply(windows2c
.wxTaskBarIcon_IsIconInstalled
,(self
,) + _args
, _kwargs
)
267 def IsOK(self
, *_args
, **_kwargs
):
268 val
= apply(windows2c
.wxTaskBarIcon_IsOK
,(self
,) + _args
, _kwargs
)
271 return "<C wxTaskBarIcon instance at %s>" % (self
.this
,)
272 class wxTaskBarIcon(wxTaskBarIconPtr
):
273 def __init__(self
,*_args
,**_kwargs
):
274 self
.this
= apply(windows2c
.new_wxTaskBarIcon
,_args
,_kwargs
)
276 wx
._checkForCallback
(self
, 'OnMouseMove', wxEVT_TASKBAR_MOVE
)
277 wx
._checkForCallback
(self
, 'OnLButtonDown', wxEVT_TASKBAR_LEFT_DOWN
)
278 wx
._checkForCallback
(self
, 'OnLButtonUp', wxEVT_TASKBAR_LEFT_UP
)
279 wx
._checkForCallback
(self
, 'OnRButtonDown', wxEVT_TASKBAR_RIGHT_DOWN
)
280 wx
._checkForCallback
(self
, 'OnRButtonUp', wxEVT_TASKBAR_RIGHT_UP
)
281 wx
._checkForCallback
(self
, 'OnLButtonDClick',wxEVT_TASKBAR_LEFT_DCLICK
)
282 wx
._checkForCallback
(self
, 'OnRButtonDClick',wxEVT_TASKBAR_RIGHT_DCLICK
)
287 class wxPyWindowPtr(wxWindowPtr
):
288 def __init__(self
,this
):
291 def _setCallbackInfo(self
, *_args
, **_kwargs
):
292 val
= apply(windows2c
.wxPyWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
294 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
295 val
= apply(windows2c
.wxPyWindow_base_DoMoveWindow
,(self
,) + _args
, _kwargs
)
297 def base_DoSetSize(self
, *_args
, **_kwargs
):
298 val
= apply(windows2c
.wxPyWindow_base_DoSetSize
,(self
,) + _args
, _kwargs
)
300 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
301 val
= apply(windows2c
.wxPyWindow_base_DoSetClientSize
,(self
,) + _args
, _kwargs
)
303 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
304 val
= apply(windows2c
.wxPyWindow_base_DoSetVirtualSize
,(self
,) + _args
, _kwargs
)
306 def base_DoGetSize(self
, *_args
, **_kwargs
):
307 val
= apply(windows2c
.wxPyWindow_base_DoGetSize
,(self
,) + _args
, _kwargs
)
309 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
310 val
= apply(windows2c
.wxPyWindow_base_DoGetClientSize
,(self
,) + _args
, _kwargs
)
312 def base_DoGetPosition(self
, *_args
, **_kwargs
):
313 val
= apply(windows2c
.wxPyWindow_base_DoGetPosition
,(self
,) + _args
, _kwargs
)
315 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
316 val
= apply(windows2c
.wxPyWindow_base_DoGetVirtualSize
,(self
,) + _args
, _kwargs
)
317 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
319 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
320 val
= apply(windows2c
.wxPyWindow_base_DoGetBestSize
,(self
,) + _args
, _kwargs
)
321 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
323 def base_InitDialog(self
, *_args
, **_kwargs
):
324 val
= apply(windows2c
.wxPyWindow_base_InitDialog
,(self
,) + _args
, _kwargs
)
326 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
327 val
= apply(windows2c
.wxPyWindow_base_TransferDataToWindow
,(self
,) + _args
, _kwargs
)
329 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
330 val
= apply(windows2c
.wxPyWindow_base_TransferDataFromWindow
,(self
,) + _args
, _kwargs
)
332 def base_Validate(self
, *_args
, **_kwargs
):
333 val
= apply(windows2c
.wxPyWindow_base_Validate
,(self
,) + _args
, _kwargs
)
335 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
336 val
= apply(windows2c
.wxPyWindow_base_AcceptsFocus
,(self
,) + _args
, _kwargs
)
338 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
339 val
= apply(windows2c
.wxPyWindow_base_AcceptsFocusFromKeyboard
,(self
,) + _args
, _kwargs
)
341 def base_GetMaxSize(self
, *_args
, **_kwargs
):
342 val
= apply(windows2c
.wxPyWindow_base_GetMaxSize
,(self
,) + _args
, _kwargs
)
343 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
345 def base_AddChild(self
, *_args
, **_kwargs
):
346 val
= apply(windows2c
.wxPyWindow_base_AddChild
,(self
,) + _args
, _kwargs
)
348 def base_RemoveChild(self
, *_args
, **_kwargs
):
349 val
= apply(windows2c
.wxPyWindow_base_RemoveChild
,(self
,) + _args
, _kwargs
)
352 return "<C wxPyWindow instance at %s>" % (self
.this
,)
353 class wxPyWindow(wxPyWindowPtr
):
354 def __init__(self
,*_args
,**_kwargs
):
355 self
.this
= apply(windows2c
.new_wxPyWindow
,_args
,_kwargs
)
357 self
._setCallbackInfo
(self
, wxPyWindow
)
358 self
._setOORInfo
(self
)
363 class wxPyControlPtr(wxControlPtr
):
364 def __init__(self
,this
):
367 def _setCallbackInfo(self
, *_args
, **_kwargs
):
368 val
= apply(windows2c
.wxPyControl__setCallbackInfo
,(self
,) + _args
, _kwargs
)
370 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
371 val
= apply(windows2c
.wxPyControl_base_DoMoveWindow
,(self
,) + _args
, _kwargs
)
373 def base_DoSetSize(self
, *_args
, **_kwargs
):
374 val
= apply(windows2c
.wxPyControl_base_DoSetSize
,(self
,) + _args
, _kwargs
)
376 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
377 val
= apply(windows2c
.wxPyControl_base_DoSetClientSize
,(self
,) + _args
, _kwargs
)
379 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
380 val
= apply(windows2c
.wxPyControl_base_DoSetVirtualSize
,(self
,) + _args
, _kwargs
)
382 def base_DoGetSize(self
, *_args
, **_kwargs
):
383 val
= apply(windows2c
.wxPyControl_base_DoGetSize
,(self
,) + _args
, _kwargs
)
385 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
386 val
= apply(windows2c
.wxPyControl_base_DoGetClientSize
,(self
,) + _args
, _kwargs
)
388 def base_DoGetPosition(self
, *_args
, **_kwargs
):
389 val
= apply(windows2c
.wxPyControl_base_DoGetPosition
,(self
,) + _args
, _kwargs
)
391 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
392 val
= apply(windows2c
.wxPyControl_base_DoGetVirtualSize
,(self
,) + _args
, _kwargs
)
393 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
395 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
396 val
= apply(windows2c
.wxPyControl_base_DoGetBestSize
,(self
,) + _args
, _kwargs
)
397 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
399 def base_InitDialog(self
, *_args
, **_kwargs
):
400 val
= apply(windows2c
.wxPyControl_base_InitDialog
,(self
,) + _args
, _kwargs
)
402 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
403 val
= apply(windows2c
.wxPyControl_base_TransferDataToWindow
,(self
,) + _args
, _kwargs
)
405 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
406 val
= apply(windows2c
.wxPyControl_base_TransferDataFromWindow
,(self
,) + _args
, _kwargs
)
408 def base_Validate(self
, *_args
, **_kwargs
):
409 val
= apply(windows2c
.wxPyControl_base_Validate
,(self
,) + _args
, _kwargs
)
411 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
412 val
= apply(windows2c
.wxPyControl_base_AcceptsFocus
,(self
,) + _args
, _kwargs
)
414 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
415 val
= apply(windows2c
.wxPyControl_base_AcceptsFocusFromKeyboard
,(self
,) + _args
, _kwargs
)
417 def base_GetMaxSize(self
, *_args
, **_kwargs
):
418 val
= apply(windows2c
.wxPyControl_base_GetMaxSize
,(self
,) + _args
, _kwargs
)
419 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
421 def base_AddChild(self
, *_args
, **_kwargs
):
422 val
= apply(windows2c
.wxPyControl_base_AddChild
,(self
,) + _args
, _kwargs
)
424 def base_RemoveChild(self
, *_args
, **_kwargs
):
425 val
= apply(windows2c
.wxPyControl_base_RemoveChild
,(self
,) + _args
, _kwargs
)
428 return "<C wxPyControl instance at %s>" % (self
.this
,)
429 class wxPyControl(wxPyControlPtr
):
430 def __init__(self
,*_args
,**_kwargs
):
431 self
.this
= apply(windows2c
.new_wxPyControl
,_args
,_kwargs
)
433 self
._setCallbackInfo
(self
, wxPyControl
)
434 self
._setOORInfo
(self
)
439 class wxPyPanelPtr(wxPanelPtr
):
440 def __init__(self
,this
):
443 def _setCallbackInfo(self
, *_args
, **_kwargs
):
444 val
= apply(windows2c
.wxPyPanel__setCallbackInfo
,(self
,) + _args
, _kwargs
)
446 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
447 val
= apply(windows2c
.wxPyPanel_base_DoMoveWindow
,(self
,) + _args
, _kwargs
)
449 def base_DoSetSize(self
, *_args
, **_kwargs
):
450 val
= apply(windows2c
.wxPyPanel_base_DoSetSize
,(self
,) + _args
, _kwargs
)
452 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
453 val
= apply(windows2c
.wxPyPanel_base_DoSetClientSize
,(self
,) + _args
, _kwargs
)
455 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
456 val
= apply(windows2c
.wxPyPanel_base_DoSetVirtualSize
,(self
,) + _args
, _kwargs
)
458 def base_DoGetSize(self
, *_args
, **_kwargs
):
459 val
= apply(windows2c
.wxPyPanel_base_DoGetSize
,(self
,) + _args
, _kwargs
)
461 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
462 val
= apply(windows2c
.wxPyPanel_base_DoGetClientSize
,(self
,) + _args
, _kwargs
)
464 def base_DoGetPosition(self
, *_args
, **_kwargs
):
465 val
= apply(windows2c
.wxPyPanel_base_DoGetPosition
,(self
,) + _args
, _kwargs
)
467 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
468 val
= apply(windows2c
.wxPyPanel_base_DoGetVirtualSize
,(self
,) + _args
, _kwargs
)
469 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
471 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
472 val
= apply(windows2c
.wxPyPanel_base_DoGetBestSize
,(self
,) + _args
, _kwargs
)
473 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
475 def base_InitDialog(self
, *_args
, **_kwargs
):
476 val
= apply(windows2c
.wxPyPanel_base_InitDialog
,(self
,) + _args
, _kwargs
)
478 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
479 val
= apply(windows2c
.wxPyPanel_base_TransferDataToWindow
,(self
,) + _args
, _kwargs
)
481 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
482 val
= apply(windows2c
.wxPyPanel_base_TransferDataFromWindow
,(self
,) + _args
, _kwargs
)
484 def base_Validate(self
, *_args
, **_kwargs
):
485 val
= apply(windows2c
.wxPyPanel_base_Validate
,(self
,) + _args
, _kwargs
)
487 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
488 val
= apply(windows2c
.wxPyPanel_base_AcceptsFocus
,(self
,) + _args
, _kwargs
)
490 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
491 val
= apply(windows2c
.wxPyPanel_base_AcceptsFocusFromKeyboard
,(self
,) + _args
, _kwargs
)
493 def base_GetMaxSize(self
, *_args
, **_kwargs
):
494 val
= apply(windows2c
.wxPyPanel_base_GetMaxSize
,(self
,) + _args
, _kwargs
)
495 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
497 def base_AddChild(self
, *_args
, **_kwargs
):
498 val
= apply(windows2c
.wxPyPanel_base_AddChild
,(self
,) + _args
, _kwargs
)
500 def base_RemoveChild(self
, *_args
, **_kwargs
):
501 val
= apply(windows2c
.wxPyPanel_base_RemoveChild
,(self
,) + _args
, _kwargs
)
504 return "<C wxPyPanel instance at %s>" % (self
.this
,)
505 class wxPyPanel(wxPyPanelPtr
):
506 def __init__(self
,*_args
,**_kwargs
):
507 self
.this
= apply(windows2c
.new_wxPyPanel
,_args
,_kwargs
)
509 self
._setCallbackInfo
(self
, wxPyPanel
)
510 self
._setOORInfo
(self
)
517 #-------------- FUNCTION WRAPPERS ------------------
521 #-------------- VARIABLE WRAPPERS ------------------
523 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
524 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
525 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
526 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
527 wxEVT_COMMAND_SPLITTER_UNSPLIT
= windows2c
.wxEVT_COMMAND_SPLITTER_UNSPLIT
528 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= windows2c
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
529 wxSPLIT_HORIZONTAL
= windows2c
.wxSPLIT_HORIZONTAL
530 wxSPLIT_VERTICAL
= windows2c
.wxSPLIT_VERTICAL
531 wxSPLIT_DRAG_NONE
= windows2c
.wxSPLIT_DRAG_NONE
532 wxSPLIT_DRAG_DRAGGING
= windows2c
.wxSPLIT_DRAG_DRAGGING
533 wxSPLIT_DRAG_LEFT_DOWN
= windows2c
.wxSPLIT_DRAG_LEFT_DOWN
534 wxEVT_TASKBAR_MOVE
= windows2c
.wxEVT_TASKBAR_MOVE
535 wxEVT_TASKBAR_LEFT_DOWN
= windows2c
.wxEVT_TASKBAR_LEFT_DOWN
536 wxEVT_TASKBAR_LEFT_UP
= windows2c
.wxEVT_TASKBAR_LEFT_UP
537 wxEVT_TASKBAR_RIGHT_DOWN
= windows2c
.wxEVT_TASKBAR_RIGHT_DOWN
538 wxEVT_TASKBAR_RIGHT_UP
= windows2c
.wxEVT_TASKBAR_RIGHT_UP
539 wxEVT_TASKBAR_LEFT_DCLICK
= windows2c
.wxEVT_TASKBAR_LEFT_DCLICK
540 wxEVT_TASKBAR_RIGHT_DCLICK
= windows2c
.wxEVT_TASKBAR_RIGHT_DCLICK