]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows2.py
Added bakefile for the OGL contrib
[wxWidgets.git] / wxPython / src / msw / windows2.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import windows2c
3
4from misc import *
5
6from gdi import *
7
68bc8549
RD
8from fonts import *
9
8ab979d7
RD
10from windows import *
11
b1462dfa
RD
12from clip_dnd import *
13
8ab979d7
RD
14from controls import *
15
16from events import *
b8b8dda7 17import wx
bb0054cd 18class wxNotebookEventPtr(wxNotifyEventPtr):
8ab979d7
RD
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
1d99702e
RD
22 def GetSelection(self, *_args, **_kwargs):
23 val = apply(windows2c.wxNotebookEvent_GetSelection,(self,) + _args, _kwargs)
8ab979d7 24 return val
1d99702e
RD
25 def GetOldSelection(self, *_args, **_kwargs):
26 val = apply(windows2c.wxNotebookEvent_GetOldSelection,(self,) + _args, _kwargs)
8ab979d7 27 return val
1d99702e
RD
28 def SetOldSelection(self, *_args, **_kwargs):
29 val = apply(windows2c.wxNotebookEvent_SetOldSelection,(self,) + _args, _kwargs)
bb0054cd 30 return val
1d99702e
RD
31 def SetSelection(self, *_args, **_kwargs):
32 val = apply(windows2c.wxNotebookEvent_SetSelection,(self,) + _args, _kwargs)
bb0054cd 33 return val
8ab979d7 34 def __repr__(self):
1d99702e 35 return "<C wxNotebookEvent instance at %s>" % (self.this,)
8ab979d7 36class wxNotebookEvent(wxNotebookEventPtr):
09f3d4e6
RD
37 def __init__(self,*_args,**_kwargs):
38 self.this = apply(windows2c.new_wxNotebookEvent,_args,_kwargs)
39 self.thisown = 1
8ab979d7
RD
40
41
42
43
44class wxNotebookPtr(wxControlPtr):
45 def __init__(self,this):
46 self.this = this
47 self.thisown = 0
09f3d4e6
RD
48 def Create(self, *_args, **_kwargs):
49 val = apply(windows2c.wxNotebook_Create,(self,) + _args, _kwargs)
50 return val
1d99702e
RD
51 def GetPageCount(self, *_args, **_kwargs):
52 val = apply(windows2c.wxNotebook_GetPageCount,(self,) + _args, _kwargs)
8ab979d7 53 return val
1d99702e
RD
54 def SetSelection(self, *_args, **_kwargs):
55 val = apply(windows2c.wxNotebook_SetSelection,(self,) + _args, _kwargs)
8ab979d7 56 return val
1d99702e
RD
57 def AdvanceSelection(self, *_args, **_kwargs):
58 val = apply(windows2c.wxNotebook_AdvanceSelection,(self,) + _args, _kwargs)
8ab979d7 59 return val
1d99702e
RD
60 def GetSelection(self, *_args, **_kwargs):
61 val = apply(windows2c.wxNotebook_GetSelection,(self,) + _args, _kwargs)
8ab979d7 62 return val
1d99702e
RD
63 def SetPageText(self, *_args, **_kwargs):
64 val = apply(windows2c.wxNotebook_SetPageText,(self,) + _args, _kwargs)
8ab979d7 65 return val
1d99702e
RD
66 def GetPageText(self, *_args, **_kwargs):
67 val = apply(windows2c.wxNotebook_GetPageText,(self,) + _args, _kwargs)
8ab979d7 68 return val
1d99702e
RD
69 def SetImageList(self, *_args, **_kwargs):
70 val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs)
8ab979d7 71 return val
949853a4
RD
72 def AssignImageList(self, *_args, **_kwargs):
73 val = apply(windows2c.wxNotebook_AssignImageList,(self,) + _args, _kwargs)
74 _args[0].thisown = 0
75 return val
1d99702e
RD
76 def GetImageList(self, *_args, **_kwargs):
77 val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs)
8ab979d7 78 return val
1d99702e
RD
79 def GetPageImage(self, *_args, **_kwargs):
80 val = apply(windows2c.wxNotebook_GetPageImage,(self,) + _args, _kwargs)
8ab979d7 81 return val
1d99702e
RD
82 def SetPageImage(self, *_args, **_kwargs):
83 val = apply(windows2c.wxNotebook_SetPageImage,(self,) + _args, _kwargs)
8ab979d7 84 return val
1d99702e
RD
85 def GetRowCount(self, *_args, **_kwargs):
86 val = apply(windows2c.wxNotebook_GetRowCount,(self,) + _args, _kwargs)
8ab979d7 87 return val
c368d904
RD
88 def SetPageSize(self, *_args, **_kwargs):
89 val = apply(windows2c.wxNotebook_SetPageSize,(self,) + _args, _kwargs)
90 return val
91 def SetPadding(self, *_args, **_kwargs):
92 val = apply(windows2c.wxNotebook_SetPadding,(self,) + _args, _kwargs)
93 return val
1d99702e
RD
94 def DeletePage(self, *_args, **_kwargs):
95 val = apply(windows2c.wxNotebook_DeletePage,(self,) + _args, _kwargs)
8ab979d7 96 return val
1d99702e
RD
97 def RemovePage(self, *_args, **_kwargs):
98 val = apply(windows2c.wxNotebook_RemovePage,(self,) + _args, _kwargs)
cf694132 99 return val
1d99702e
RD
100 def DeleteAllPages(self, *_args, **_kwargs):
101 val = apply(windows2c.wxNotebook_DeleteAllPages,(self,) + _args, _kwargs)
8ab979d7 102 return val
1d99702e
RD
103 def AddPage(self, *_args, **_kwargs):
104 val = apply(windows2c.wxNotebook_AddPage,(self,) + _args, _kwargs)
8ab979d7 105 return val
1d99702e
RD
106 def InsertPage(self, *_args, **_kwargs):
107 val = apply(windows2c.wxNotebook_InsertPage,(self,) + _args, _kwargs)
8ab979d7 108 return val
1d99702e
RD
109 def GetPage(self, *_args, **_kwargs):
110 val = apply(windows2c.wxNotebook_GetPage,(self,) + _args, _kwargs)
8ab979d7 111 return val
1d99702e
RD
112 def ResizeChildren(self, *_args, **_kwargs):
113 val = apply(windows2c.wxNotebook_ResizeChildren,(self,) + _args, _kwargs)
cf694132 114 return val
8ab979d7 115 def __repr__(self):
1d99702e 116 return "<C wxNotebook instance at %s>" % (self.this,)
8ab979d7 117class wxNotebook(wxNotebookPtr):
1d99702e
RD
118 def __init__(self,*_args,**_kwargs):
119 self.this = apply(windows2c.new_wxNotebook,_args,_kwargs)
8ab979d7 120 self.thisown = 1
0122b7e3 121 self._setOORInfo(self)
9c039d08
RD
122
123
124
09f3d4e6
RD
125def wxPreNotebook(*_args,**_kwargs):
126 val = wxNotebookPtr(apply(windows2c.new_wxPreNotebook,_args,_kwargs))
127 val.thisown = 1
17c0e08c 128 val._setOORInfo(val)
09f3d4e6
RD
129 return val
130
9c039d08 131
756ed80c 132class wxSplitterEventPtr(wxNotifyEventPtr):
bb0054cd
RD
133 def __init__(self,this):
134 self.this = this
135 self.thisown = 0
1d99702e
RD
136 def GetSashPosition(self, *_args, **_kwargs):
137 val = apply(windows2c.wxSplitterEvent_GetSashPosition,(self,) + _args, _kwargs)
bb0054cd 138 return val
1d99702e
RD
139 def GetX(self, *_args, **_kwargs):
140 val = apply(windows2c.wxSplitterEvent_GetX,(self,) + _args, _kwargs)
bb0054cd 141 return val
1d99702e
RD
142 def GetY(self, *_args, **_kwargs):
143 val = apply(windows2c.wxSplitterEvent_GetY,(self,) + _args, _kwargs)
bb0054cd 144 return val
1d99702e
RD
145 def GetWindowBeingRemoved(self, *_args, **_kwargs):
146 val = apply(windows2c.wxSplitterEvent_GetWindowBeingRemoved,(self,) + _args, _kwargs)
bb0054cd 147 return val
1d99702e
RD
148 def SetSashPosition(self, *_args, **_kwargs):
149 val = apply(windows2c.wxSplitterEvent_SetSashPosition,(self,) + _args, _kwargs)
bb0054cd
RD
150 return val
151 def __repr__(self):
1d99702e 152 return "<C wxSplitterEvent instance at %s>" % (self.this,)
bb0054cd 153class wxSplitterEvent(wxSplitterEventPtr):
09f3d4e6
RD
154 def __init__(self,*_args,**_kwargs):
155 self.this = apply(windows2c.new_wxSplitterEvent,_args,_kwargs)
156 self.thisown = 1
bb0054cd
RD
157
158
159
160
9c039d08
RD
161class wxSplitterWindowPtr(wxWindowPtr):
162 def __init__(self,this):
163 self.this = this
164 self.thisown = 0
09f3d4e6
RD
165 def Create(self, *_args, **_kwargs):
166 val = apply(windows2c.wxSplitterWindow_Create,(self,) + _args, _kwargs)
9c039d08 167 return val
1d99702e
RD
168 def GetWindow1(self, *_args, **_kwargs):
169 val = apply(windows2c.wxSplitterWindow_GetWindow1,(self,) + _args, _kwargs)
9c039d08 170 return val
1d99702e
RD
171 def GetWindow2(self, *_args, **_kwargs):
172 val = apply(windows2c.wxSplitterWindow_GetWindow2,(self,) + _args, _kwargs)
9c039d08 173 return val
09f3d4e6
RD
174 def SetSplitMode(self, *_args, **_kwargs):
175 val = apply(windows2c.wxSplitterWindow_SetSplitMode,(self,) + _args, _kwargs)
176 return val
177 def GetSplitMode(self, *_args, **_kwargs):
178 val = apply(windows2c.wxSplitterWindow_GetSplitMode,(self,) + _args, _kwargs)
179 return val
1d99702e
RD
180 def Initialize(self, *_args, **_kwargs):
181 val = apply(windows2c.wxSplitterWindow_Initialize,(self,) + _args, _kwargs)
9c039d08 182 return val
09f3d4e6
RD
183 def SplitVertically(self, *_args, **_kwargs):
184 val = apply(windows2c.wxSplitterWindow_SplitVertically,(self,) + _args, _kwargs)
185 return val
186 def SplitHorizontally(self, *_args, **_kwargs):
187 val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self,) + _args, _kwargs)
188 return val
189 def Unsplit(self, *_args, **_kwargs):
190 val = apply(windows2c.wxSplitterWindow_Unsplit,(self,) + _args, _kwargs)
9c039d08 191 return val
9d8bd15f
RD
192 def ReplaceWindow(self, *_args, **_kwargs):
193 val = apply(windows2c.wxSplitterWindow_ReplaceWindow,(self,) + _args, _kwargs)
194 return val
09f3d4e6
RD
195 def IsSplit(self, *_args, **_kwargs):
196 val = apply(windows2c.wxSplitterWindow_IsSplit,(self,) + _args, _kwargs)
197 return val
198 def SetSashSize(self, *_args, **_kwargs):
199 val = apply(windows2c.wxSplitterWindow_SetSashSize,(self,) + _args, _kwargs)
200 return val
1d99702e
RD
201 def SetBorderSize(self, *_args, **_kwargs):
202 val = apply(windows2c.wxSplitterWindow_SetBorderSize,(self,) + _args, _kwargs)
b639c3c5 203 return val
09f3d4e6
RD
204 def GetSashSize(self, *_args, **_kwargs):
205 val = apply(windows2c.wxSplitterWindow_GetSashSize,(self,) + _args, _kwargs)
206 return val
207 def GetBorderSize(self, *_args, **_kwargs):
208 val = apply(windows2c.wxSplitterWindow_GetBorderSize,(self,) + _args, _kwargs)
209 return val
1d99702e
RD
210 def SetSashPosition(self, *_args, **_kwargs):
211 val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self,) + _args, _kwargs)
9c039d08 212 return val
09f3d4e6
RD
213 def GetSashPosition(self, *_args, **_kwargs):
214 val = apply(windows2c.wxSplitterWindow_GetSashPosition,(self,) + _args, _kwargs)
b639c3c5 215 return val
1d99702e
RD
216 def SetMinimumPaneSize(self, *_args, **_kwargs):
217 val = apply(windows2c.wxSplitterWindow_SetMinimumPaneSize,(self,) + _args, _kwargs)
9c039d08 218 return val
09f3d4e6
RD
219 def GetMinimumPaneSize(self, *_args, **_kwargs):
220 val = apply(windows2c.wxSplitterWindow_GetMinimumPaneSize,(self,) + _args, _kwargs)
9c039d08 221 return val
3bd1e033
RD
222 def SizeWindows(self, *_args, **_kwargs):
223 val = apply(windows2c.wxSplitterWindow_SizeWindows,(self,) + _args, _kwargs)
224 return val
225 def SetNeedUpdating(self, *_args, **_kwargs):
226 val = apply(windows2c.wxSplitterWindow_SetNeedUpdating,(self,) + _args, _kwargs)
227 return val
228 def GetNeedUpdating(self, *_args, **_kwargs):
229 val = apply(windows2c.wxSplitterWindow_GetNeedUpdating,(self,) + _args, _kwargs)
230 return val
9c039d08 231 def __repr__(self):
1d99702e 232 return "<C wxSplitterWindow instance at %s>" % (self.this,)
9c039d08 233class wxSplitterWindow(wxSplitterWindowPtr):
1d99702e
RD
234 def __init__(self,*_args,**_kwargs):
235 self.this = apply(windows2c.new_wxSplitterWindow,_args,_kwargs)
9c039d08 236 self.thisown = 1
0122b7e3 237 self._setOORInfo(self)
8ab979d7
RD
238
239
240
09f3d4e6
RD
241def wxPreSplitterWindow(*_args,**_kwargs):
242 val = wxSplitterWindowPtr(apply(windows2c.new_wxPreSplitterWindow,_args,_kwargs))
243 val.thisown = 1
17c0e08c 244 val._setOORInfo(val)
09f3d4e6
RD
245 return val
246
8ab979d7 247
b639c3c5
RD
248class wxTaskBarIconPtr(wxEvtHandlerPtr):
249 def __init__(self,this):
250 self.this = this
251 self.thisown = 0
7e50db3f
RD
252 def __del__(self, delfunc=windows2c.delete_wxTaskBarIcon):
253 if self.thisown == 1:
254 try:
255 delfunc(self)
256 except:
257 pass
1d99702e
RD
258 def SetIcon(self, *_args, **_kwargs):
259 val = apply(windows2c.wxTaskBarIcon_SetIcon,(self,) + _args, _kwargs)
b639c3c5 260 return val
1d99702e
RD
261 def RemoveIcon(self, *_args, **_kwargs):
262 val = apply(windows2c.wxTaskBarIcon_RemoveIcon,(self,) + _args, _kwargs)
b639c3c5 263 return val
1d99702e
RD
264 def PopupMenu(self, *_args, **_kwargs):
265 val = apply(windows2c.wxTaskBarIcon_PopupMenu,(self,) + _args, _kwargs)
be4d9c1f 266 return val
c368d904
RD
267 def IsIconInstalled(self, *_args, **_kwargs):
268 val = apply(windows2c.wxTaskBarIcon_IsIconInstalled,(self,) + _args, _kwargs)
269 return val
270 def IsOK(self, *_args, **_kwargs):
271 val = apply(windows2c.wxTaskBarIcon_IsOK,(self,) + _args, _kwargs)
272 return val
b639c3c5 273 def __repr__(self):
1d99702e 274 return "<C wxTaskBarIcon instance at %s>" % (self.this,)
b639c3c5 275class wxTaskBarIcon(wxTaskBarIconPtr):
1d99702e
RD
276 def __init__(self,*_args,**_kwargs):
277 self.this = apply(windows2c.new_wxTaskBarIcon,_args,_kwargs)
b639c3c5 278 self.thisown = 1
b8b8dda7
RD
279 wx._checkForCallback(self, 'OnMouseMove', wxEVT_TASKBAR_MOVE)
280 wx._checkForCallback(self, 'OnLButtonDown', wxEVT_TASKBAR_LEFT_DOWN)
281 wx._checkForCallback(self, 'OnLButtonUp', wxEVT_TASKBAR_LEFT_UP)
282 wx._checkForCallback(self, 'OnRButtonDown', wxEVT_TASKBAR_RIGHT_DOWN)
283 wx._checkForCallback(self, 'OnRButtonUp', wxEVT_TASKBAR_RIGHT_UP)
284 wx._checkForCallback(self, 'OnLButtonDClick',wxEVT_TASKBAR_LEFT_DCLICK)
285 wx._checkForCallback(self, 'OnRButtonDClick',wxEVT_TASKBAR_RIGHT_DCLICK)
b639c3c5
RD
286
287
288
289
b0e5c039
RD
290class wxPyWindowPtr(wxWindowPtr):
291 def __init__(self,this):
292 self.this = this
293 self.thisown = 0
294 def _setCallbackInfo(self, *_args, **_kwargs):
295 val = apply(windows2c.wxPyWindow__setCallbackInfo,(self,) + _args, _kwargs)
296 return val
297 def base_DoMoveWindow(self, *_args, **_kwargs):
298 val = apply(windows2c.wxPyWindow_base_DoMoveWindow,(self,) + _args, _kwargs)
299 return val
300 def base_DoSetSize(self, *_args, **_kwargs):
301 val = apply(windows2c.wxPyWindow_base_DoSetSize,(self,) + _args, _kwargs)
302 return val
303 def base_DoSetClientSize(self, *_args, **_kwargs):
304 val = apply(windows2c.wxPyWindow_base_DoSetClientSize,(self,) + _args, _kwargs)
305 return val
306 def base_DoSetVirtualSize(self, *_args, **_kwargs):
307 val = apply(windows2c.wxPyWindow_base_DoSetVirtualSize,(self,) + _args, _kwargs)
308 return val
309 def base_DoGetSize(self, *_args, **_kwargs):
310 val = apply(windows2c.wxPyWindow_base_DoGetSize,(self,) + _args, _kwargs)
311 return val
312 def base_DoGetClientSize(self, *_args, **_kwargs):
313 val = apply(windows2c.wxPyWindow_base_DoGetClientSize,(self,) + _args, _kwargs)
314 return val
315 def base_DoGetPosition(self, *_args, **_kwargs):
316 val = apply(windows2c.wxPyWindow_base_DoGetPosition,(self,) + _args, _kwargs)
317 return val
318 def base_DoGetVirtualSize(self, *_args, **_kwargs):
319 val = apply(windows2c.wxPyWindow_base_DoGetVirtualSize,(self,) + _args, _kwargs)
320 if val: val = wxSizePtr(val) ; val.thisown = 1
321 return val
322 def base_DoGetBestSize(self, *_args, **_kwargs):
323 val = apply(windows2c.wxPyWindow_base_DoGetBestSize,(self,) + _args, _kwargs)
324 if val: val = wxSizePtr(val) ; val.thisown = 1
325 return val
326 def base_InitDialog(self, *_args, **_kwargs):
327 val = apply(windows2c.wxPyWindow_base_InitDialog,(self,) + _args, _kwargs)
328 return val
329 def base_TransferDataToWindow(self, *_args, **_kwargs):
330 val = apply(windows2c.wxPyWindow_base_TransferDataToWindow,(self,) + _args, _kwargs)
331 return val
332 def base_TransferDataFromWindow(self, *_args, **_kwargs):
333 val = apply(windows2c.wxPyWindow_base_TransferDataFromWindow,(self,) + _args, _kwargs)
334 return val
335 def base_Validate(self, *_args, **_kwargs):
336 val = apply(windows2c.wxPyWindow_base_Validate,(self,) + _args, _kwargs)
337 return val
338 def base_AcceptsFocus(self, *_args, **_kwargs):
339 val = apply(windows2c.wxPyWindow_base_AcceptsFocus,(self,) + _args, _kwargs)
340 return val
341 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
342 val = apply(windows2c.wxPyWindow_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
343 return val
344 def base_GetMaxSize(self, *_args, **_kwargs):
345 val = apply(windows2c.wxPyWindow_base_GetMaxSize,(self,) + _args, _kwargs)
346 if val: val = wxSizePtr(val) ; val.thisown = 1
347 return val
aaad759f
RD
348 def base_AddChild(self, *_args, **_kwargs):
349 val = apply(windows2c.wxPyWindow_base_AddChild,(self,) + _args, _kwargs)
350 return val
351 def base_RemoveChild(self, *_args, **_kwargs):
352 val = apply(windows2c.wxPyWindow_base_RemoveChild,(self,) + _args, _kwargs)
353 return val
b0e5c039
RD
354 def __repr__(self):
355 return "<C wxPyWindow instance at %s>" % (self.this,)
356class wxPyWindow(wxPyWindowPtr):
357 def __init__(self,*_args,**_kwargs):
358 self.this = apply(windows2c.new_wxPyWindow,_args,_kwargs)
359 self.thisown = 1
360 self._setCallbackInfo(self, wxPyWindow)
361 self._setOORInfo(self)
362
363
364
365
366class wxPyControlPtr(wxControlPtr):
367 def __init__(self,this):
368 self.this = this
369 self.thisown = 0
370 def _setCallbackInfo(self, *_args, **_kwargs):
371 val = apply(windows2c.wxPyControl__setCallbackInfo,(self,) + _args, _kwargs)
372 return val
373 def base_DoMoveWindow(self, *_args, **_kwargs):
374 val = apply(windows2c.wxPyControl_base_DoMoveWindow,(self,) + _args, _kwargs)
375 return val
376 def base_DoSetSize(self, *_args, **_kwargs):
377 val = apply(windows2c.wxPyControl_base_DoSetSize,(self,) + _args, _kwargs)
378 return val
379 def base_DoSetClientSize(self, *_args, **_kwargs):
380 val = apply(windows2c.wxPyControl_base_DoSetClientSize,(self,) + _args, _kwargs)
381 return val
382 def base_DoSetVirtualSize(self, *_args, **_kwargs):
383 val = apply(windows2c.wxPyControl_base_DoSetVirtualSize,(self,) + _args, _kwargs)
384 return val
385 def base_DoGetSize(self, *_args, **_kwargs):
386 val = apply(windows2c.wxPyControl_base_DoGetSize,(self,) + _args, _kwargs)
387 return val
388 def base_DoGetClientSize(self, *_args, **_kwargs):
389 val = apply(windows2c.wxPyControl_base_DoGetClientSize,(self,) + _args, _kwargs)
390 return val
391 def base_DoGetPosition(self, *_args, **_kwargs):
392 val = apply(windows2c.wxPyControl_base_DoGetPosition,(self,) + _args, _kwargs)
393 return val
394 def base_DoGetVirtualSize(self, *_args, **_kwargs):
395 val = apply(windows2c.wxPyControl_base_DoGetVirtualSize,(self,) + _args, _kwargs)
396 if val: val = wxSizePtr(val) ; val.thisown = 1
397 return val
398 def base_DoGetBestSize(self, *_args, **_kwargs):
399 val = apply(windows2c.wxPyControl_base_DoGetBestSize,(self,) + _args, _kwargs)
400 if val: val = wxSizePtr(val) ; val.thisown = 1
401 return val
402 def base_InitDialog(self, *_args, **_kwargs):
403 val = apply(windows2c.wxPyControl_base_InitDialog,(self,) + _args, _kwargs)
404 return val
405 def base_TransferDataToWindow(self, *_args, **_kwargs):
406 val = apply(windows2c.wxPyControl_base_TransferDataToWindow,(self,) + _args, _kwargs)
407 return val
408 def base_TransferDataFromWindow(self, *_args, **_kwargs):
409 val = apply(windows2c.wxPyControl_base_TransferDataFromWindow,(self,) + _args, _kwargs)
410 return val
411 def base_Validate(self, *_args, **_kwargs):
412 val = apply(windows2c.wxPyControl_base_Validate,(self,) + _args, _kwargs)
413 return val
414 def base_AcceptsFocus(self, *_args, **_kwargs):
415 val = apply(windows2c.wxPyControl_base_AcceptsFocus,(self,) + _args, _kwargs)
416 return val
417 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
418 val = apply(windows2c.wxPyControl_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
419 return val
420 def base_GetMaxSize(self, *_args, **_kwargs):
421 val = apply(windows2c.wxPyControl_base_GetMaxSize,(self,) + _args, _kwargs)
422 if val: val = wxSizePtr(val) ; val.thisown = 1
423 return val
aaad759f
RD
424 def base_AddChild(self, *_args, **_kwargs):
425 val = apply(windows2c.wxPyControl_base_AddChild,(self,) + _args, _kwargs)
426 return val
427 def base_RemoveChild(self, *_args, **_kwargs):
428 val = apply(windows2c.wxPyControl_base_RemoveChild,(self,) + _args, _kwargs)
429 return val
b0e5c039
RD
430 def __repr__(self):
431 return "<C wxPyControl instance at %s>" % (self.this,)
432class wxPyControl(wxPyControlPtr):
433 def __init__(self,*_args,**_kwargs):
434 self.this = apply(windows2c.new_wxPyControl,_args,_kwargs)
435 self.thisown = 1
436 self._setCallbackInfo(self, wxPyControl)
437 self._setOORInfo(self)
438
439
440
441
86a12675
RD
442class wxPyPanelPtr(wxPanelPtr):
443 def __init__(self,this):
444 self.this = this
445 self.thisown = 0
446 def _setCallbackInfo(self, *_args, **_kwargs):
447 val = apply(windows2c.wxPyPanel__setCallbackInfo,(self,) + _args, _kwargs)
448 return val
449 def base_DoMoveWindow(self, *_args, **_kwargs):
450 val = apply(windows2c.wxPyPanel_base_DoMoveWindow,(self,) + _args, _kwargs)
451 return val
452 def base_DoSetSize(self, *_args, **_kwargs):
453 val = apply(windows2c.wxPyPanel_base_DoSetSize,(self,) + _args, _kwargs)
454 return val
455 def base_DoSetClientSize(self, *_args, **_kwargs):
456 val = apply(windows2c.wxPyPanel_base_DoSetClientSize,(self,) + _args, _kwargs)
457 return val
458 def base_DoSetVirtualSize(self, *_args, **_kwargs):
459 val = apply(windows2c.wxPyPanel_base_DoSetVirtualSize,(self,) + _args, _kwargs)
460 return val
461 def base_DoGetSize(self, *_args, **_kwargs):
462 val = apply(windows2c.wxPyPanel_base_DoGetSize,(self,) + _args, _kwargs)
463 return val
464 def base_DoGetClientSize(self, *_args, **_kwargs):
465 val = apply(windows2c.wxPyPanel_base_DoGetClientSize,(self,) + _args, _kwargs)
466 return val
467 def base_DoGetPosition(self, *_args, **_kwargs):
468 val = apply(windows2c.wxPyPanel_base_DoGetPosition,(self,) + _args, _kwargs)
469 return val
470 def base_DoGetVirtualSize(self, *_args, **_kwargs):
471 val = apply(windows2c.wxPyPanel_base_DoGetVirtualSize,(self,) + _args, _kwargs)
472 if val: val = wxSizePtr(val) ; val.thisown = 1
473 return val
474 def base_DoGetBestSize(self, *_args, **_kwargs):
475 val = apply(windows2c.wxPyPanel_base_DoGetBestSize,(self,) + _args, _kwargs)
476 if val: val = wxSizePtr(val) ; val.thisown = 1
477 return val
478 def base_InitDialog(self, *_args, **_kwargs):
479 val = apply(windows2c.wxPyPanel_base_InitDialog,(self,) + _args, _kwargs)
480 return val
481 def base_TransferDataToWindow(self, *_args, **_kwargs):
482 val = apply(windows2c.wxPyPanel_base_TransferDataToWindow,(self,) + _args, _kwargs)
483 return val
484 def base_TransferDataFromWindow(self, *_args, **_kwargs):
485 val = apply(windows2c.wxPyPanel_base_TransferDataFromWindow,(self,) + _args, _kwargs)
486 return val
487 def base_Validate(self, *_args, **_kwargs):
488 val = apply(windows2c.wxPyPanel_base_Validate,(self,) + _args, _kwargs)
489 return val
490 def base_AcceptsFocus(self, *_args, **_kwargs):
491 val = apply(windows2c.wxPyPanel_base_AcceptsFocus,(self,) + _args, _kwargs)
492 return val
493 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
494 val = apply(windows2c.wxPyPanel_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
495 return val
496 def base_GetMaxSize(self, *_args, **_kwargs):
497 val = apply(windows2c.wxPyPanel_base_GetMaxSize,(self,) + _args, _kwargs)
498 if val: val = wxSizePtr(val) ; val.thisown = 1
499 return val
aaad759f
RD
500 def base_AddChild(self, *_args, **_kwargs):
501 val = apply(windows2c.wxPyPanel_base_AddChild,(self,) + _args, _kwargs)
502 return val
503 def base_RemoveChild(self, *_args, **_kwargs):
504 val = apply(windows2c.wxPyPanel_base_RemoveChild,(self,) + _args, _kwargs)
505 return val
86a12675
RD
506 def __repr__(self):
507 return "<C wxPyPanel instance at %s>" % (self.this,)
508class wxPyPanel(wxPyPanelPtr):
509 def __init__(self,*_args,**_kwargs):
510 self.this = apply(windows2c.new_wxPyPanel,_args,_kwargs)
511 self.thisown = 1
512 self._setCallbackInfo(self, wxPyPanel)
513 self._setOORInfo(self)
514
515
516
517
8ab979d7
RD
518
519
520#-------------- FUNCTION WRAPPERS ------------------
521
522
523
524#-------------- VARIABLE WRAPPERS ------------------
525
1b62f00d
RD
526wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
527wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
528wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
529wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
530wxEVT_COMMAND_SPLITTER_UNSPLIT = windows2c.wxEVT_COMMAND_SPLITTER_UNSPLIT
531wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = windows2c.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
f6bcfd97
BP
532wxSPLIT_HORIZONTAL = windows2c.wxSPLIT_HORIZONTAL
533wxSPLIT_VERTICAL = windows2c.wxSPLIT_VERTICAL
534wxSPLIT_DRAG_NONE = windows2c.wxSPLIT_DRAG_NONE
535wxSPLIT_DRAG_DRAGGING = windows2c.wxSPLIT_DRAG_DRAGGING
536wxSPLIT_DRAG_LEFT_DOWN = windows2c.wxSPLIT_DRAG_LEFT_DOWN
b639c3c5
RD
537wxEVT_TASKBAR_MOVE = windows2c.wxEVT_TASKBAR_MOVE
538wxEVT_TASKBAR_LEFT_DOWN = windows2c.wxEVT_TASKBAR_LEFT_DOWN
539wxEVT_TASKBAR_LEFT_UP = windows2c.wxEVT_TASKBAR_LEFT_UP
540wxEVT_TASKBAR_RIGHT_DOWN = windows2c.wxEVT_TASKBAR_RIGHT_DOWN
541wxEVT_TASKBAR_RIGHT_UP = windows2c.wxEVT_TASKBAR_RIGHT_UP
542wxEVT_TASKBAR_LEFT_DCLICK = windows2c.wxEVT_TASKBAR_LEFT_DCLICK
543wxEVT_TASKBAR_RIGHT_DCLICK = windows2c.wxEVT_TASKBAR_RIGHT_DCLICK