]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/windows.py
- Moved the header in the .i files out of the code that gets put into
[wxWidgets.git] / utils / wxPython / src / windows.py
1 # This file was created automatically by SWIG.
2 import windowsc
3
4 from misc import *
5
6 from gdi import *
7 class wxEvtHandlerPtr :
8 def __init__(self,this):
9 self.this = this
10 self.thisown = 0
11 def Connect(self,arg0,arg1,arg2,arg3):
12 val = windowsc.wxEvtHandler_Connect(self.this,arg0,arg1,arg2,arg3)
13 return val
14 def __repr__(self):
15 return "<C wxEvtHandler instance>"
16 class wxEvtHandler(wxEvtHandlerPtr):
17 def __init__(self,this):
18 self.this = this
19
20
21
22
23 class wxWindowPtr(wxEvtHandlerPtr):
24 def __init__(self,this):
25 self.this = this
26 self.thisown = 0
27 def CaptureMouse(self):
28 val = windowsc.wxWindow_CaptureMouse(self.this)
29 return val
30 def Centre(self,*args):
31 val = apply(windowsc.wxWindow_Centre,(self.this,)+args)
32 return val
33 def ClientToScreen(self,arg0,arg1):
34 val = windowsc.wxWindow_ClientToScreen(self.this,arg0,arg1)
35 return val
36 def Close(self,*args):
37 val = apply(windowsc.wxWindow_Close,(self.this,)+args)
38 return val
39 def Destroy(self):
40 val = windowsc.wxWindow_Destroy(self.this)
41 return val
42 def DestroyChildren(self):
43 val = windowsc.wxWindow_DestroyChildren(self.this)
44 return val
45 def DragAcceptFiles(self,arg0):
46 val = windowsc.wxWindow_DragAcceptFiles(self.this,arg0)
47 return val
48 def Enable(self,arg0):
49 val = windowsc.wxWindow_Enable(self.this,arg0)
50 return val
51 def Fit(self):
52 val = windowsc.wxWindow_Fit(self.this)
53 return val
54 def GetBackgroundColour(self):
55 val = windowsc.wxWindow_GetBackgroundColour(self.this)
56 val = wxColourPtr(val)
57 val.thisown = 1
58 return val
59 def GetCharHeight(self):
60 val = windowsc.wxWindow_GetCharHeight(self.this)
61 return val
62 def GetCharWidth(self):
63 val = windowsc.wxWindow_GetCharWidth(self.this)
64 return val
65 def GetClientSize(self):
66 val = windowsc.wxWindow_GetClientSize(self.this)
67 return val
68 def GetConstraints(self):
69 val = windowsc.wxWindow_GetConstraints(self.this)
70 val = wxLayoutConstraintsPtr(val)
71 return val
72 def GetDefaultItem(self):
73 val = windowsc.wxWindow_GetDefaultItem(self.this)
74 val = wxButtonPtr(val)
75 return val
76 def GetFont(self):
77 val = windowsc.wxWindow_GetFont(self.this)
78 val = wxFontPtr(val)
79 return val
80 def GetForegroundColour(self):
81 val = windowsc.wxWindow_GetForegroundColour(self.this)
82 val = wxColourPtr(val)
83 val.thisown = 1
84 return val
85 def GetGrandParent(self):
86 val = windowsc.wxWindow_GetGrandParent(self.this)
87 val = wxWindowPtr(val)
88 return val
89 def GetId(self):
90 val = windowsc.wxWindow_GetId(self.this)
91 return val
92 def GetPosition(self):
93 val = windowsc.wxWindow_GetPosition(self.this)
94 return val
95 def GetLabel(self):
96 val = windowsc.wxWindow_GetLabel(self.this)
97 return val
98 def GetName(self):
99 val = windowsc.wxWindow_GetName(self.this)
100 return val
101 def GetParent(self):
102 val = windowsc.wxWindow_GetParent(self.this)
103 val = wxWindowPtr(val)
104 return val
105 def GetReturnCode(self):
106 val = windowsc.wxWindow_GetReturnCode(self.this)
107 return val
108 def GetScrollThumb(self,arg0):
109 val = windowsc.wxWindow_GetScrollThumb(self.this,arg0)
110 return val
111 def GetScrollPos(self,arg0):
112 val = windowsc.wxWindow_GetScrollPos(self.this,arg0)
113 return val
114 def GetScrollRange(self,arg0):
115 val = windowsc.wxWindow_GetScrollRange(self.this,arg0)
116 return val
117 def GetSize(self):
118 val = windowsc.wxWindow_GetSize(self.this)
119 return val
120 def GetTextExtent(self,arg0):
121 val = windowsc.wxWindow_GetTextExtent(self.this,arg0)
122 return val
123 def GetTitle(self):
124 val = windowsc.wxWindow_GetTitle(self.this)
125 return val
126 def GetWindowStyleFlag(self):
127 val = windowsc.wxWindow_GetWindowStyleFlag(self.this)
128 return val
129 def InitDialog(self):
130 val = windowsc.wxWindow_InitDialog(self.this)
131 return val
132 def IsEnabled(self):
133 val = windowsc.wxWindow_IsEnabled(self.this)
134 return val
135 def IsRetained(self):
136 val = windowsc.wxWindow_IsRetained(self.this)
137 return val
138 def IsShown(self):
139 val = windowsc.wxWindow_IsShown(self.this)
140 return val
141 def Layout(self):
142 val = windowsc.wxWindow_Layout(self.this)
143 return val
144 def LoadFromResource(self,arg0,arg1,*args):
145 val = apply(windowsc.wxWindow_LoadFromResource,(self.this,arg0.this,arg1,)+args)
146 return val
147 def Lower(self):
148 val = windowsc.wxWindow_Lower(self.this)
149 return val
150 def MakeModal(self,arg0):
151 val = windowsc.wxWindow_MakeModal(self.this,arg0)
152 return val
153 def Move(self,arg0,arg1):
154 val = windowsc.wxWindow_Move(self.this,arg0,arg1)
155 return val
156 def PopupMenu(self,arg0,arg1,arg2):
157 val = windowsc.wxWindow_PopupMenu(self.this,arg0.this,arg1,arg2)
158 return val
159 def Raise(self):
160 val = windowsc.wxWindow_Raise(self.this)
161 return val
162 def Refresh(self,*args):
163 argl = map(None,args)
164 try: argl[1] = argl[1].this
165 except: pass
166 args = tuple(argl)
167 val = apply(windowsc.wxWindow_Refresh,(self.this,)+args)
168 return val
169 def ReleaseMouse(self):
170 val = windowsc.wxWindow_ReleaseMouse(self.this)
171 return val
172 def ScreenToClient(self,arg0,arg1):
173 val = windowsc.wxWindow_ScreenToClient(self.this,arg0,arg1)
174 return val
175 def ScrollWindow(self,arg0,arg1,*args):
176 argl = map(None,args)
177 try: argl[0] = argl[0].this
178 except: pass
179 args = tuple(argl)
180 val = apply(windowsc.wxWindow_ScrollWindow,(self.this,arg0,arg1,)+args)
181 return val
182 def SetAutoLayout(self,arg0):
183 val = windowsc.wxWindow_SetAutoLayout(self.this,arg0)
184 return val
185 def SetBackgroundColour(self,arg0):
186 val = windowsc.wxWindow_SetBackgroundColour(self.this,arg0.this)
187 return val
188 def SetConstraints(self,arg0):
189 val = windowsc.wxWindow_SetConstraints(self.this,arg0.this)
190 return val
191 def SetDoubleClick(self,arg0):
192 val = windowsc.wxWindow_SetDoubleClick(self.this,arg0)
193 return val
194 def SetFocus(self):
195 val = windowsc.wxWindow_SetFocus(self.this)
196 return val
197 def SetFont(self,arg0):
198 val = windowsc.wxWindow_SetFont(self.this,arg0.this)
199 return val
200 def SetForegroundColour(self,arg0):
201 val = windowsc.wxWindow_SetForegroundColour(self.this,arg0.this)
202 return val
203 def SetId(self,arg0):
204 val = windowsc.wxWindow_SetId(self.this,arg0)
205 return val
206 def SetName(self,arg0):
207 val = windowsc.wxWindow_SetName(self.this,arg0)
208 return val
209 def SetReturnCode(self,arg0):
210 val = windowsc.wxWindow_SetReturnCode(self.this,arg0)
211 return val
212 def SetScrollbar(self,arg0,arg1,arg2,arg3,*args):
213 val = apply(windowsc.wxWindow_SetScrollbar,(self.this,arg0,arg1,arg2,arg3,)+args)
214 return val
215 def SetScrollPos(self,arg0,arg1,*args):
216 val = apply(windowsc.wxWindow_SetScrollPos,(self.this,arg0,arg1,)+args)
217 return val
218 def SetDimensions(self,arg0,arg1,arg2,arg3,*args):
219 val = apply(windowsc.wxWindow_SetDimensions,(self.this,arg0,arg1,arg2,arg3,)+args)
220 return val
221 def SetSize(self,arg0):
222 val = windowsc.wxWindow_SetSize(self.this,arg0.this)
223 return val
224 def SetPosition(self,arg0):
225 val = windowsc.wxWindow_SetPosition(self.this,arg0.this)
226 return val
227 def SetSizeHints(self,*args):
228 val = apply(windowsc.wxWindow_SetSizeHints,(self.this,)+args)
229 return val
230 def SetClientSize(self,arg0,arg1):
231 val = windowsc.wxWindow_SetClientSize(self.this,arg0,arg1)
232 return val
233 def SetCursor(self,arg0):
234 val = windowsc.wxWindow_SetCursor(self.this,arg0.this)
235 return val
236 def SetTitle(self,arg0):
237 val = windowsc.wxWindow_SetTitle(self.this,arg0)
238 return val
239 def Show(self,arg0):
240 val = windowsc.wxWindow_Show(self.this,arg0)
241 return val
242 def TransferDataFromWindow(self):
243 val = windowsc.wxWindow_TransferDataFromWindow(self.this)
244 return val
245 def TransferDataToWindow(self):
246 val = windowsc.wxWindow_TransferDataToWindow(self.this)
247 return val
248 def Validate(self):
249 val = windowsc.wxWindow_Validate(self.this)
250 return val
251 def WarpPointer(self,arg0,arg1):
252 val = windowsc.wxWindow_WarpPointer(self.this,arg0,arg1)
253 return val
254 def __repr__(self):
255 return "<C wxWindow instance>"
256 class wxWindow(wxWindowPtr):
257 def __init__(self,arg0,arg1,*args) :
258 argl = map(None,args)
259 try: argl[0] = argl[0].this
260 except: pass
261 try: argl[1] = argl[1].this
262 except: pass
263 args = tuple(argl)
264 self.this = apply(windowsc.new_wxWindow,(arg0.this,arg1,)+args)
265 self.thisown = 1
266
267
268
269
270 class wxFramePtr(wxWindowPtr):
271 def __init__(self,this):
272 self.this = this
273 self.thisown = 0
274 def Centre(self,*args):
275 val = apply(windowsc.wxFrame_Centre,(self.this,)+args)
276 return val
277 def Command(self,arg0):
278 val = windowsc.wxFrame_Command(self.this,arg0)
279 return val
280 def CreateStatusBar(self,*args):
281 val = apply(windowsc.wxFrame_CreateStatusBar,(self.this,)+args)
282 return val
283 def GetMenuBar(self):
284 val = windowsc.wxFrame_GetMenuBar(self.this)
285 val = wxMenuBarPtr(val)
286 return val
287 def GetStatusBar(self):
288 val = windowsc.wxFrame_GetStatusBar(self.this)
289 return val
290 def GetTitle(self):
291 val = windowsc.wxFrame_GetTitle(self.this)
292 return val
293 def Iconize(self,arg0):
294 val = windowsc.wxFrame_Iconize(self.this,arg0)
295 return val
296 def IsIconized(self):
297 val = windowsc.wxFrame_IsIconized(self.this)
298 return val
299 def SetAcceleratorTable(self,arg0):
300 val = windowsc.wxFrame_SetAcceleratorTable(self.this,arg0.this)
301 return val
302 def Maximize(self,arg0):
303 val = windowsc.wxFrame_Maximize(self.this,arg0)
304 return val
305 def SetIcon(self,arg0):
306 val = windowsc.wxFrame_SetIcon(self.this,arg0.this)
307 return val
308 def SetMenuBar(self,arg0):
309 val = windowsc.wxFrame_SetMenuBar(self.this,arg0.this)
310 return val
311 def SetStatusText(self,arg0,*args):
312 val = apply(windowsc.wxFrame_SetStatusText,(self.this,arg0,)+args)
313 return val
314 def SetStatusWidths(self,arg0,*args):
315 val = apply(windowsc.wxFrame_SetStatusWidths,(self.this,arg0,)+args)
316 return val
317 def SetTitle(self,arg0):
318 val = windowsc.wxFrame_SetTitle(self.this,arg0)
319 return val
320 def __repr__(self):
321 return "<C wxFrame instance>"
322 class wxFrame(wxFramePtr):
323 def __init__(self,arg0,arg1,arg2,*args) :
324 argl = map(None,args)
325 try: argl[0] = argl[0].this
326 except: pass
327 try: argl[1] = argl[1].this
328 except: pass
329 args = tuple(argl)
330 self.this = apply(windowsc.new_wxFrame,(arg0.this,arg1,arg2,)+args)
331 self.thisown = 1
332
333
334
335
336 class wxMiniFramePtr(wxFramePtr):
337 def __init__(self,this):
338 self.this = this
339 self.thisown = 0
340 def __repr__(self):
341 return "<C wxMiniFrame instance>"
342 class wxMiniFrame(wxMiniFramePtr):
343 def __init__(self,arg0,arg1,arg2,*args) :
344 argl = map(None,args)
345 try: argl[0] = argl[0].this
346 except: pass
347 try: argl[1] = argl[1].this
348 except: pass
349 args = tuple(argl)
350 self.this = apply(windowsc.new_wxMiniFrame,(arg0.this,arg1,arg2,)+args)
351 self.thisown = 1
352
353
354
355
356 class wxPanelPtr(wxWindowPtr):
357 def __init__(self,this):
358 self.this = this
359 self.thisown = 0
360 def InitDialog(self):
361 val = windowsc.wxPanel_InitDialog(self.this)
362 return val
363 def __repr__(self):
364 return "<C wxPanel instance>"
365 class wxPanel(wxPanelPtr):
366 def __init__(self,arg0,arg1,*args) :
367 argl = map(None,args)
368 try: argl[0] = argl[0].this
369 except: pass
370 try: argl[1] = argl[1].this
371 except: pass
372 args = tuple(argl)
373 self.this = apply(windowsc.new_wxPanel,(arg0.this,arg1,)+args)
374 self.thisown = 1
375
376
377
378
379 class wxDialogPtr(wxPanelPtr):
380 def __init__(self,this):
381 self.this = this
382 self.thisown = 0
383 def Centre(self,*args):
384 val = apply(windowsc.wxDialog_Centre,(self.this,)+args)
385 return val
386 def EndModal(self,arg0):
387 val = windowsc.wxDialog_EndModal(self.this,arg0)
388 return val
389 def GetTitle(self):
390 val = windowsc.wxDialog_GetTitle(self.this)
391 return val
392 def Iconize(self,arg0):
393 val = windowsc.wxDialog_Iconize(self.this,arg0)
394 return val
395 def IsIconized(self):
396 val = windowsc.wxDialog_IsIconized(self.this)
397 return val
398 def SetModal(self,arg0):
399 val = windowsc.wxDialog_SetModal(self.this,arg0)
400 return val
401 def IsModal(self):
402 val = windowsc.wxDialog_IsModal(self.this)
403 return val
404 def SetTitle(self,arg0):
405 val = windowsc.wxDialog_SetTitle(self.this,arg0)
406 return val
407 def Show(self,arg0):
408 val = windowsc.wxDialog_Show(self.this,arg0)
409 return val
410 def ShowModal(self):
411 val = windowsc.wxDialog_ShowModal(self.this)
412 return val
413 def __repr__(self):
414 return "<C wxDialog instance>"
415 class wxDialog(wxDialogPtr):
416 def __init__(self,arg0,arg1,arg2,*args) :
417 argl = map(None,args)
418 try: argl[0] = argl[0].this
419 except: pass
420 try: argl[1] = argl[1].this
421 except: pass
422 args = tuple(argl)
423 self.this = apply(windowsc.new_wxDialog,(arg0.this,arg1,arg2,)+args)
424 self.thisown = 1
425
426
427
428
429 class wxScrolledWindowPtr(wxWindowPtr):
430 def __init__(self,this):
431 self.this = this
432 self.thisown = 0
433 def EnableScrolling(self,arg0,arg1):
434 val = windowsc.wxScrolledWindow_EnableScrolling(self.this,arg0,arg1)
435 return val
436 def GetScrollPixelsPerUnit(self):
437 val = windowsc.wxScrolledWindow_GetScrollPixelsPerUnit(self.this)
438 return val
439 def GetVirtualSize(self):
440 val = windowsc.wxScrolledWindow_GetVirtualSize(self.this)
441 return val
442 def IsRetained(self):
443 val = windowsc.wxScrolledWindow_IsRetained(self.this)
444 return val
445 def PrepareDC(self,arg0):
446 val = windowsc.wxScrolledWindow_PrepareDC(self.this,arg0.this)
447 return val
448 def Scroll(self,arg0,arg1):
449 val = windowsc.wxScrolledWindow_Scroll(self.this,arg0,arg1)
450 return val
451 def SetScrollbars(self,arg0,arg1,arg2,arg3,*args):
452 val = apply(windowsc.wxScrolledWindow_SetScrollbars,(self.this,arg0,arg1,arg2,arg3,)+args)
453 return val
454 def ViewStart(self):
455 val = windowsc.wxScrolledWindow_ViewStart(self.this)
456 return val
457 def __repr__(self):
458 return "<C wxScrolledWindow instance>"
459 class wxScrolledWindow(wxScrolledWindowPtr):
460 def __init__(self,arg0,*args) :
461 argl = map(None,args)
462 try: argl[1] = argl[1].this
463 except: pass
464 try: argl[2] = argl[2].this
465 except: pass
466 args = tuple(argl)
467 self.this = apply(windowsc.new_wxScrolledWindow,(arg0.this,)+args)
468 self.thisown = 1
469
470
471
472
473 class wxMenuPtr(wxEvtHandlerPtr):
474 def __init__(self,this):
475 self.this = this
476 self.thisown = 0
477 def Append(self,arg0,arg1,*args):
478 val = apply(windowsc.wxMenu_Append,(self.this,arg0,arg1,)+args)
479 return val
480 def AppendMenu(self,arg0,arg1,arg2,*args):
481 val = apply(windowsc.wxMenu_AppendMenu,(self.this,arg0,arg1,arg2.this,)+args)
482 return val
483 def AppendSeparator(self):
484 val = windowsc.wxMenu_AppendSeparator(self.this)
485 return val
486 def Break(self):
487 val = windowsc.wxMenu_Break(self.this)
488 return val
489 def Check(self,arg0,arg1):
490 val = windowsc.wxMenu_Check(self.this,arg0,arg1)
491 return val
492 def Enable(self,arg0,arg1):
493 val = windowsc.wxMenu_Enable(self.this,arg0,arg1)
494 return val
495 def FindItem(self,arg0):
496 val = windowsc.wxMenu_FindItem(self.this,arg0)
497 return val
498 def FindItemForId(self,arg0):
499 val = windowsc.wxMenu_FindItemForId(self.this,arg0)
500 val = wxMenuItemPtr(val)
501 return val
502 def GetHelpString(self,arg0):
503 val = windowsc.wxMenu_GetHelpString(self.this,arg0)
504 return val
505 def GetLabel(self,arg0):
506 val = windowsc.wxMenu_GetLabel(self.this,arg0)
507 return val
508 def GetTitle(self):
509 val = windowsc.wxMenu_GetTitle(self.this)
510 return val
511 def SetHelpString(self,arg0,arg1):
512 val = windowsc.wxMenu_SetHelpString(self.this,arg0,arg1)
513 return val
514 def SetTitle(self,arg0):
515 val = windowsc.wxMenu_SetTitle(self.this,arg0)
516 return val
517 def IsChecked(self,arg0):
518 val = windowsc.wxMenu_IsChecked(self.this,arg0)
519 return val
520 def IsEnabled(self,arg0):
521 val = windowsc.wxMenu_IsEnabled(self.this,arg0)
522 return val
523 def SetLabel(self,arg0,arg1):
524 val = windowsc.wxMenu_SetLabel(self.this,arg0,arg1)
525 return val
526 def __repr__(self):
527 return "<C wxMenu instance>"
528 class wxMenu(wxMenuPtr):
529 def __init__(self,*args) :
530 self.this = apply(windowsc.new_wxMenu,()+args)
531 self.thisown = 1
532
533
534
535
536 class wxPyMenuPtr(wxMenuPtr):
537 def __init__(self,this):
538 self.this = this
539 self.thisown = 0
540 def __del__(self):
541 if self.thisown == 1 :
542 windowsc.delete_wxPyMenu(self.this)
543 def __repr__(self):
544 return "<C wxPyMenu instance>"
545 class wxPyMenu(wxPyMenuPtr):
546 def __init__(self,*args) :
547 self.this = apply(windowsc.new_wxPyMenu,()+args)
548 self.thisown = 1
549
550
551
552
553 class wxMenuBarPtr(wxEvtHandlerPtr):
554 def __init__(self,this):
555 self.this = this
556 self.thisown = 0
557 def Append(self,arg0,arg1):
558 val = windowsc.wxMenuBar_Append(self.this,arg0.this,arg1)
559 return val
560 def Check(self,arg0,arg1):
561 val = windowsc.wxMenuBar_Check(self.this,arg0,arg1)
562 return val
563 def Checked(self,arg0):
564 val = windowsc.wxMenuBar_Checked(self.this,arg0)
565 return val
566 def Enable(self,arg0,arg1):
567 val = windowsc.wxMenuBar_Enable(self.this,arg0,arg1)
568 return val
569 def FindMenuItem(self,arg0,arg1):
570 val = windowsc.wxMenuBar_FindMenuItem(self.this,arg0,arg1)
571 return val
572 def EnableTop(self,arg0,arg1):
573 val = windowsc.wxMenuBar_EnableTop(self.this,arg0,arg1)
574 return val
575 def FindItemForId(self,arg0):
576 val = windowsc.wxMenuBar_FindItemForId(self.this,arg0)
577 val = wxMenuItemPtr(val)
578 return val
579 def GetHelpString(self,arg0):
580 val = windowsc.wxMenuBar_GetHelpString(self.this,arg0)
581 return val
582 def GetLabel(self,arg0):
583 val = windowsc.wxMenuBar_GetLabel(self.this,arg0)
584 return val
585 def SetHelpString(self,arg0,arg1):
586 val = windowsc.wxMenuBar_SetHelpString(self.this,arg0,arg1)
587 return val
588 def SetLabel(self,arg0,arg1):
589 val = windowsc.wxMenuBar_SetLabel(self.this,arg0,arg1)
590 return val
591 def GetLabelTop(self,arg0):
592 val = windowsc.wxMenuBar_GetLabelTop(self.this,arg0)
593 return val
594 def SetLabelTop(self,arg0,arg1):
595 val = windowsc.wxMenuBar_SetLabelTop(self.this,arg0,arg1)
596 return val
597 def __repr__(self):
598 return "<C wxMenuBar instance>"
599 class wxMenuBar(wxMenuBarPtr):
600 def __init__(self) :
601 self.this = windowsc.new_wxMenuBar()
602 self.thisown = 1
603
604
605
606
607 class wxMenuItemPtr :
608 def __init__(self,this):
609 self.this = this
610 self.thisown = 0
611 def IsSeparator(self):
612 val = windowsc.wxMenuItem_IsSeparator(self.this)
613 return val
614 def IsEnabled(self):
615 val = windowsc.wxMenuItem_IsEnabled(self.this)
616 return val
617 def IsChecked(self):
618 val = windowsc.wxMenuItem_IsChecked(self.this)
619 return val
620 def GetId(self):
621 val = windowsc.wxMenuItem_GetId(self.this)
622 return val
623 def GetSubMenu(self):
624 val = windowsc.wxMenuItem_GetSubMenu(self.this)
625 val = wxMenuPtr(val)
626 return val
627 def GetHelp(self):
628 val = windowsc.wxMenuItem_GetHelp(self.this)
629 return val
630 def SetName(self,arg0):
631 val = windowsc.wxMenuItem_SetName(self.this,arg0)
632 return val
633 def SetHelp(self,arg0):
634 val = windowsc.wxMenuItem_SetHelp(self.this,arg0)
635 return val
636 def Enable(self,*args):
637 val = apply(windowsc.wxMenuItem_Enable,(self.this,)+args)
638 return val
639 def Check(self,*args):
640 val = apply(windowsc.wxMenuItem_Check,(self.this,)+args)
641 return val
642 def DeleteSubMenu(self):
643 val = windowsc.wxMenuItem_DeleteSubMenu(self.this)
644 return val
645 def GetName(self):
646 val = windowsc.wxMenuItem_GetName(self.this)
647 return val
648 def IsCheckable(self):
649 val = windowsc.wxMenuItem_IsCheckable(self.this)
650 return val
651 def __repr__(self):
652 return "<C wxMenuItem instance>"
653 class wxMenuItem(wxMenuItemPtr):
654 def __init__(self,this):
655 self.this = this
656
657
658
659
660
661
662 #-------------- FUNCTION WRAPPERS ------------------
663
664 def wxWindow_FindFocus():
665 val = windowsc.wxWindow_FindFocus()
666 val = wxWindowPtr(val)
667 return val
668
669
670
671 #-------------- VARIABLE WRAPPERS ------------------
672