home *** CD-ROM | disk | FTP | other *** search
/ com!online 2005 April / com_0405_1.iso / opensource / BTpp-0.5.4-bin.exe / $INSTDIR / BT++.exe / wxPython / clip_dnd.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2003-04-19  |  43.7 KB  |  849 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.2)
  3.  
  4. import clip_dndc
  5. from misc import *
  6. from gdi import *
  7. from fonts import *
  8. import wx
  9.  
  10. class wxDataFormatPtr:
  11.     
  12.     def __init__(self, this):
  13.         self.this = this
  14.         self.thisown = 0
  15.  
  16.     
  17.     def __del__(self, delfunc = clip_dndc.delete_wxDataFormat):
  18.         if self.thisown == 1:
  19.             
  20.             try:
  21.                 delfunc(self)
  22.             except:
  23.                 pass
  24.  
  25.         
  26.  
  27.     
  28.     def SetType(self, *_args, **_kwargs):
  29.         val = apply(clip_dndc.wxDataFormat_SetType, (self,) + _args, _kwargs)
  30.         return val
  31.  
  32.     
  33.     def GetType(self, *_args, **_kwargs):
  34.         val = apply(clip_dndc.wxDataFormat_GetType, (self,) + _args, _kwargs)
  35.         return val
  36.  
  37.     
  38.     def GetId(self, *_args, **_kwargs):
  39.         val = apply(clip_dndc.wxDataFormat_GetId, (self,) + _args, _kwargs)
  40.         return val
  41.  
  42.     
  43.     def SetId(self, *_args, **_kwargs):
  44.         val = apply(clip_dndc.wxDataFormat_SetId, (self,) + _args, _kwargs)
  45.         return val
  46.  
  47.     
  48.     def __repr__(self):
  49.         return '<C wxDataFormat instance at %s>' % (self.this,)
  50.  
  51.  
  52.  
  53. class wxDataFormat(wxDataFormatPtr):
  54.     
  55.     def __init__(self, *_args, **_kwargs):
  56.         self.this = apply(clip_dndc.new_wxDataFormat, _args, _kwargs)
  57.         self.thisown = 1
  58.  
  59.  
  60.  
  61. class wxDataObjectPtr:
  62.     Get = clip_dndc.wxDataObject_Get
  63.     Set = clip_dndc.wxDataObject_Set
  64.     Both = clip_dndc.wxDataObject_Both
  65.     
  66.     def __init__(self, this):
  67.         self.this = this
  68.         self.thisown = 0
  69.  
  70.     
  71.     def __del__(self, delfunc = clip_dndc.delete_wxDataObject):
  72.         if self.thisown == 1:
  73.             
  74.             try:
  75.                 delfunc(self)
  76.             except:
  77.                 pass
  78.  
  79.         
  80.  
  81.     
  82.     def GetPreferredFormat(self, *_args, **_kwargs):
  83.         val = apply(clip_dndc.wxDataObject_GetPreferredFormat, (self,) + _args, _kwargs)
  84.         if val:
  85.             val = wxDataFormatPtr(val)
  86.             val.thisown = 1
  87.         
  88.         return val
  89.  
  90.     
  91.     def GetFormatCount(self, *_args, **_kwargs):
  92.         val = apply(clip_dndc.wxDataObject_GetFormatCount, (self,) + _args, _kwargs)
  93.         return val
  94.  
  95.     
  96.     def GetAllFormats(self, *_args, **_kwargs):
  97.         val = apply(clip_dndc.wxDataObject_GetAllFormats, (self,) + _args, _kwargs)
  98.         return val
  99.  
  100.     
  101.     def GetDataHere(self, *_args, **_kwargs):
  102.         val = apply(clip_dndc.wxDataObject_GetDataHere, (self,) + _args, _kwargs)
  103.         return val
  104.  
  105.     
  106.     def GetDataSize(self, *_args, **_kwargs):
  107.         val = apply(clip_dndc.wxDataObject_GetDataSize, (self,) + _args, _kwargs)
  108.         return val
  109.  
  110.     
  111.     def SetData(self, *_args, **_kwargs):
  112.         val = apply(clip_dndc.wxDataObject_SetData, (self,) + _args, _kwargs)
  113.         return val
  114.  
  115.     
  116.     def IsSupportedFormat(self, *_args, **_kwargs):
  117.         val = apply(clip_dndc.wxDataObject_IsSupportedFormat, (self,) + _args, _kwargs)
  118.         return val
  119.  
  120.     
  121.     def __repr__(self):
  122.         return '<C wxDataObject instance at %s>' % (self.this,)
  123.  
  124.  
  125.  
  126. class wxDataObject(wxDataObjectPtr):
  127.     
  128.     def __init__(self, this):
  129.         self.this = this
  130.  
  131.  
  132.  
  133. class wxDataObjectSimplePtr(wxDataObjectPtr):
  134.     
  135.     def __init__(self, this):
  136.         self.this = this
  137.         self.thisown = 0
  138.  
  139.     
  140.     def GetFormat(self, *_args, **_kwargs):
  141.         val = apply(clip_dndc.wxDataObjectSimple_GetFormat, (self,) + _args, _kwargs)
  142.         if val:
  143.             val = wxDataFormatPtr(val)
  144.         
  145.         return val
  146.  
  147.     
  148.     def SetFormat(self, *_args, **_kwargs):
  149.         val = apply(clip_dndc.wxDataObjectSimple_SetFormat, (self,) + _args, _kwargs)
  150.         return val
  151.  
  152.     
  153.     def __repr__(self):
  154.         return '<C wxDataObjectSimple instance at %s>' % (self.this,)
  155.  
  156.  
  157.  
  158. class wxDataObjectSimple(wxDataObjectSimplePtr):
  159.     
  160.     def __init__(self, *_args, **_kwargs):
  161.         self.this = apply(clip_dndc.new_wxDataObjectSimple, _args, _kwargs)
  162.         self.thisown = 1
  163.  
  164.  
  165.  
  166. class wxPyDataObjectSimplePtr(wxDataObjectSimplePtr):
  167.     
  168.     def __init__(self, this):
  169.         self.this = this
  170.         self.thisown = 0
  171.  
  172.     
  173.     def _setCallbackInfo(self, *_args, **_kwargs):
  174.         val = apply(clip_dndc.wxPyDataObjectSimple__setCallbackInfo, (self,) + _args, _kwargs)
  175.         return val
  176.  
  177.     
  178.     def __repr__(self):
  179.         return '<C wxPyDataObjectSimple instance at %s>' % (self.this,)
  180.  
  181.  
  182.  
  183. class wxPyDataObjectSimple(wxPyDataObjectSimplePtr):
  184.     
  185.     def __init__(self, *_args, **_kwargs):
  186.         self.this = apply(clip_dndc.new_wxPyDataObjectSimple, _args, _kwargs)
  187.         self.thisown = 1
  188.         self._setCallbackInfo(self, wxPyDataObjectSimple)
  189.  
  190.  
  191.  
  192. class wxDataObjectCompositePtr(wxDataObjectPtr):
  193.     
  194.     def __init__(self, this):
  195.         self.this = this
  196.         self.thisown = 0
  197.  
  198.     
  199.     def Add(self, *_args, **_kwargs):
  200.         val = apply(clip_dndc.wxDataObjectComposite_Add, (self,) + _args, _kwargs)
  201.         _args[0].thisown = 0
  202.         return val
  203.  
  204.     
  205.     def __repr__(self):
  206.         return '<C wxDataObjectComposite instance at %s>' % (self.this,)
  207.  
  208.  
  209.  
  210. class wxDataObjectComposite(wxDataObjectCompositePtr):
  211.     
  212.     def __init__(self, *_args, **_kwargs):
  213.         self.this = apply(clip_dndc.new_wxDataObjectComposite, _args, _kwargs)
  214.         self.thisown = 1
  215.  
  216.  
  217.  
  218. class wxTextDataObjectPtr(wxDataObjectSimplePtr):
  219.     
  220.     def __init__(self, this):
  221.         self.this = this
  222.         self.thisown = 0
  223.  
  224.     
  225.     def GetTextLength(self, *_args, **_kwargs):
  226.         val = apply(clip_dndc.wxTextDataObject_GetTextLength, (self,) + _args, _kwargs)
  227.         return val
  228.  
  229.     
  230.     def GetText(self, *_args, **_kwargs):
  231.         val = apply(clip_dndc.wxTextDataObject_GetText, (self,) + _args, _kwargs)
  232.         return val
  233.  
  234.     
  235.     def SetText(self, *_args, **_kwargs):
  236.         val = apply(clip_dndc.wxTextDataObject_SetText, (self,) + _args, _kwargs)
  237.         return val
  238.  
  239.     
  240.     def __repr__(self):
  241.         return '<C wxTextDataObject instance at %s>' % (self.this,)
  242.  
  243.  
  244.  
  245. class wxTextDataObject(wxTextDataObjectPtr):
  246.     
  247.     def __init__(self, *_args, **_kwargs):
  248.         self.this = apply(clip_dndc.new_wxTextDataObject, _args, _kwargs)
  249.         self.thisown = 1
  250.  
  251.  
  252.  
  253. class wxPyTextDataObjectPtr(wxTextDataObjectPtr):
  254.     
  255.     def __init__(self, this):
  256.         self.this = this
  257.         self.thisown = 0
  258.  
  259.     
  260.     def _setCallbackInfo(self, *_args, **_kwargs):
  261.         val = apply(clip_dndc.wxPyTextDataObject__setCallbackInfo, (self,) + _args, _kwargs)
  262.         return val
  263.  
  264.     
  265.     def __repr__(self):
  266.         return '<C wxPyTextDataObject instance at %s>' % (self.this,)
  267.  
  268.  
  269.  
  270. class wxPyTextDataObject(wxPyTextDataObjectPtr):
  271.     
  272.     def __init__(self, *_args, **_kwargs):
  273.         self.this = apply(clip_dndc.new_wxPyTextDataObject, _args, _kwargs)
  274.         self.thisown = 1
  275.         self._setCallbackInfo(self, wxPyTextDataObject)
  276.  
  277.  
  278.  
  279. class wxBitmapDataObjectPtr(wxDataObjectSimplePtr):
  280.     
  281.     def __init__(self, this):
  282.         self.this = this
  283.         self.thisown = 0
  284.  
  285.     
  286.     def GetBitmap(self, *_args, **_kwargs):
  287.         val = apply(clip_dndc.wxBitmapDataObject_GetBitmap, (self,) + _args, _kwargs)
  288.         if val:
  289.             val = wxBitmapPtr(val)
  290.             val.thisown = 1
  291.         
  292.         return val
  293.  
  294.     
  295.     def SetBitmap(self, *_args, **_kwargs):
  296.         val = apply(clip_dndc.wxBitmapDataObject_SetBitmap, (self,) + _args, _kwargs)
  297.         return val
  298.  
  299.     
  300.     def __repr__(self):
  301.         return '<C wxBitmapDataObject instance at %s>' % (self.this,)
  302.  
  303.  
  304.  
  305. class wxBitmapDataObject(wxBitmapDataObjectPtr):
  306.     
  307.     def __init__(self, *_args, **_kwargs):
  308.         self.this = apply(clip_dndc.new_wxBitmapDataObject, _args, _kwargs)
  309.         self.thisown = 1
  310.  
  311.  
  312.  
  313. class wxPyBitmapDataObjectPtr(wxBitmapDataObjectPtr):
  314.     
  315.     def __init__(self, this):
  316.         self.this = this
  317.         self.thisown = 0
  318.  
  319.     
  320.     def _setCallbackInfo(self, *_args, **_kwargs):
  321.         val = apply(clip_dndc.wxPyBitmapDataObject__setCallbackInfo, (self,) + _args, _kwargs)
  322.         return val
  323.  
  324.     
  325.     def __repr__(self):
  326.         return '<C wxPyBitmapDataObject instance at %s>' % (self.this,)
  327.  
  328.  
  329.  
  330. class wxPyBitmapDataObject(wxPyBitmapDataObjectPtr):
  331.     
  332.     def __init__(self, *_args, **_kwargs):
  333.         self.this = apply(clip_dndc.new_wxPyBitmapDataObject, _args, _kwargs)
  334.         self.thisown = 1
  335.         self._setCallbackInfo(self, wxPyBitmapDataObject)
  336.  
  337.  
  338.  
  339. class wxFileDataObjectPtr(wxDataObjectSimplePtr):
  340.     
  341.     def __init__(self, this):
  342.         self.this = this
  343.         self.thisown = 0
  344.  
  345.     
  346.     def GetFilenames(self, *_args, **_kwargs):
  347.         val = apply(clip_dndc.wxFileDataObject_GetFilenames, (self,) + _args, _kwargs)
  348.         return val
  349.  
  350.     
  351.     def AddFile(self, *_args, **_kwargs):
  352.         val = apply(clip_dndc.wxFileDataObject_AddFile, (self,) + _args, _kwargs)
  353.         return val
  354.  
  355.     
  356.     def __repr__(self):
  357.         return '<C wxFileDataObject instance at %s>' % (self.this,)
  358.  
  359.  
  360.  
  361. class wxFileDataObject(wxFileDataObjectPtr):
  362.     
  363.     def __init__(self, *_args, **_kwargs):
  364.         self.this = apply(clip_dndc.new_wxFileDataObject, _args, _kwargs)
  365.         self.thisown = 1
  366.  
  367.  
  368.  
  369. class wxCustomDataObjectPtr(wxDataObjectSimplePtr):
  370.     
  371.     def __init__(self, this):
  372.         self.this = this
  373.         self.thisown = 0
  374.  
  375.     
  376.     def TakeData(self, *_args, **_kwargs):
  377.         val = apply(clip_dndc.wxCustomDataObject_TakeData, (self,) + _args, _kwargs)
  378.         return val
  379.  
  380.     
  381.     def SetData(self, *_args, **_kwargs):
  382.         val = apply(clip_dndc.wxCustomDataObject_SetData, (self,) + _args, _kwargs)
  383.         return val
  384.  
  385.     
  386.     def GetSize(self, *_args, **_kwargs):
  387.         val = apply(clip_dndc.wxCustomDataObject_GetSize, (self,) + _args, _kwargs)
  388.         return val
  389.  
  390.     
  391.     def GetData(self, *_args, **_kwargs):
  392.         val = apply(clip_dndc.wxCustomDataObject_GetData, (self,) + _args, _kwargs)
  393.         return val
  394.  
  395.     
  396.     def __repr__(self):
  397.         return '<C wxCustomDataObject instance at %s>' % (self.this,)
  398.  
  399.  
  400.  
  401. class wxCustomDataObject(wxCustomDataObjectPtr):
  402.     
  403.     def __init__(self, *_args, **_kwargs):
  404.         self.this = apply(clip_dndc.new_wxCustomDataObject, _args, _kwargs)
  405.         self.thisown = 1
  406.  
  407.  
  408.  
  409. class wxURLDataObjectPtr(wxDataObjectCompositePtr):
  410.     
  411.     def __init__(self, this):
  412.         self.this = this
  413.         self.thisown = 0
  414.  
  415.     
  416.     def GetURL(self, *_args, **_kwargs):
  417.         val = apply(clip_dndc.wxURLDataObject_GetURL, (self,) + _args, _kwargs)
  418.         return val
  419.  
  420.     
  421.     def SetURL(self, *_args, **_kwargs):
  422.         val = apply(clip_dndc.wxURLDataObject_SetURL, (self,) + _args, _kwargs)
  423.         return val
  424.  
  425.     
  426.     def __repr__(self):
  427.         return '<C wxURLDataObject instance at %s>' % (self.this,)
  428.  
  429.  
  430.  
  431. class wxURLDataObject(wxURLDataObjectPtr):
  432.     
  433.     def __init__(self, *_args, **_kwargs):
  434.         self.this = apply(clip_dndc.new_wxURLDataObject, _args, _kwargs)
  435.         self.thisown = 1
  436.  
  437.  
  438.  
  439. class wxMetafileDataObjectPtr(wxDataObjectSimplePtr):
  440.     
  441.     def __init__(self, this):
  442.         self.this = this
  443.         self.thisown = 0
  444.  
  445.     
  446.     def SetMetafile(self, *_args, **_kwargs):
  447.         val = apply(clip_dndc.wxMetafileDataObject_SetMetafile, (self,) + _args, _kwargs)
  448.         return val
  449.  
  450.     
  451.     def GetMetafile(self, *_args, **_kwargs):
  452.         val = apply(clip_dndc.wxMetafileDataObject_GetMetafile, (self,) + _args, _kwargs)
  453.         return val
  454.  
  455.     
  456.     def __repr__(self):
  457.         return '<C wxMetafileDataObject instance at %s>' % (self.this,)
  458.  
  459.  
  460.  
  461. class wxMetafileDataObject(wxMetafileDataObjectPtr):
  462.     
  463.     def __init__(self, *_args, **_kwargs):
  464.         self.this = apply(clip_dndc.new_wxMetafileDataObject, _args, _kwargs)
  465.         self.thisown = 1
  466.  
  467.  
  468.  
  469. class wxClipboardPtr(wxObjectPtr):
  470.     
  471.     def __init__(self, this):
  472.         self.this = this
  473.         self.thisown = 0
  474.  
  475.     
  476.     def Open(self, *_args, **_kwargs):
  477.         val = apply(clip_dndc.wxClipboard_Open, (self,) + _args, _kwargs)
  478.         return val
  479.  
  480.     
  481.     def Close(self, *_args, **_kwargs):
  482.         val = apply(clip_dndc.wxClipboard_Close, (self,) + _args, _kwargs)
  483.         return val
  484.  
  485.     
  486.     def IsOpened(self, *_args, **_kwargs):
  487.         val = apply(clip_dndc.wxClipboard_IsOpened, (self,) + _args, _kwargs)
  488.         return val
  489.  
  490.     
  491.     def AddData(self, *_args, **_kwargs):
  492.         val = apply(clip_dndc.wxClipboard_AddData, (self,) + _args, _kwargs)
  493.         _args[0].thisown = 0
  494.         return val
  495.  
  496.     
  497.     def SetData(self, *_args, **_kwargs):
  498.         val = apply(clip_dndc.wxClipboard_SetData, (self,) + _args, _kwargs)
  499.         _args[0].thisown = 0
  500.         return val
  501.  
  502.     
  503.     def IsSupported(self, *_args, **_kwargs):
  504.         val = apply(clip_dndc.wxClipboard_IsSupported, (self,) + _args, _kwargs)
  505.         return val
  506.  
  507.     
  508.     def GetData(self, *_args, **_kwargs):
  509.         val = apply(clip_dndc.wxClipboard_GetData, (self,) + _args, _kwargs)
  510.         return val
  511.  
  512.     
  513.     def Clear(self, *_args, **_kwargs):
  514.         val = apply(clip_dndc.wxClipboard_Clear, (self,) + _args, _kwargs)
  515.         return val
  516.  
  517.     
  518.     def Flush(self, *_args, **_kwargs):
  519.         val = apply(clip_dndc.wxClipboard_Flush, (self,) + _args, _kwargs)
  520.         return val
  521.  
  522.     
  523.     def UsePrimarySelection(self, *_args, **_kwargs):
  524.         val = apply(clip_dndc.wxClipboard_UsePrimarySelection, (self,) + _args, _kwargs)
  525.         return val
  526.  
  527.     
  528.     def __repr__(self):
  529.         return '<C wxClipboard instance at %s>' % (self.this,)
  530.  
  531.  
  532.  
  533. class wxClipboard(wxClipboardPtr):
  534.     
  535.     def __init__(self, *_args, **_kwargs):
  536.         self.this = apply(clip_dndc.new_wxClipboard, _args, _kwargs)
  537.         self.thisown = 1
  538.  
  539.  
  540.  
  541. class wxDropSourcePtr:
  542.     
  543.     def __init__(self, this):
  544.         self.this = this
  545.         self.thisown = 0
  546.  
  547.     
  548.     def _setCallbackInfo(self, *_args, **_kwargs):
  549.         val = apply(clip_dndc.wxDropSource__setCallbackInfo, (self,) + _args, _kwargs)
  550.         return val
  551.  
  552.     
  553.     def __del__(self, delfunc = clip_dndc.delete_wxDropSource):
  554.         if self.thisown == 1:
  555.             
  556.             try:
  557.                 delfunc(self)
  558.             except:
  559.                 pass
  560.  
  561.         
  562.  
  563.     
  564.     def SetData(self, *_args, **_kwargs):
  565.         val = apply(clip_dndc.wxDropSource_SetData, (self,) + _args, _kwargs)
  566.         return val
  567.  
  568.     
  569.     def GetDataObject(self, *_args, **_kwargs):
  570.         val = apply(clip_dndc.wxDropSource_GetDataObject, (self,) + _args, _kwargs)
  571.         if val:
  572.             val = wxDataObjectPtr(val)
  573.         
  574.         return val
  575.  
  576.     
  577.     def SetCursor(self, *_args, **_kwargs):
  578.         val = apply(clip_dndc.wxDropSource_SetCursor, (self,) + _args, _kwargs)
  579.         return val
  580.  
  581.     
  582.     def DoDragDrop(self, *_args, **_kwargs):
  583.         val = apply(clip_dndc.wxDropSource_DoDragDrop, (self,) + _args, _kwargs)
  584.         return val
  585.  
  586.     
  587.     def base_GiveFeedback(self, *_args, **_kwargs):
  588.         val = apply(clip_dndc.wxDropSource_base_GiveFeedback, (self,) + _args, _kwargs)
  589.         return val
  590.  
  591.     
  592.     def __repr__(self):
  593.         return '<C wxDropSource instance at %s>' % (self.this,)
  594.  
  595.  
  596.  
  597. class wxDropSource(wxDropSourcePtr):
  598.     
  599.     def __init__(self, *_args, **_kwargs):
  600.         self.this = apply(clip_dndc.new_wxDropSource, _args, _kwargs)
  601.         self.thisown = 1
  602.         self._setCallbackInfo(self, wxDropSource, 0)
  603.  
  604.  
  605.  
  606. class wxDropTargetPtr:
  607.     
  608.     def __init__(self, this):
  609.         self.this = this
  610.         self.thisown = 0
  611.  
  612.     
  613.     def __repr__(self):
  614.         return '<C wxDropTarget instance at %s>' % (self.this,)
  615.  
  616.  
  617.  
  618. class wxDropTarget(wxDropTargetPtr):
  619.     
  620.     def __init__(self, this):
  621.         self.this = this
  622.  
  623.  
  624.  
  625. class wxPyDropTargetPtr(wxDropTargetPtr):
  626.     
  627.     def __init__(self, this):
  628.         self.this = this
  629.         self.thisown = 0
  630.  
  631.     
  632.     def _setCallbackInfo(self, *_args, **_kwargs):
  633.         val = apply(clip_dndc.wxPyDropTarget__setCallbackInfo, (self,) + _args, _kwargs)
  634.         return val
  635.  
  636.     
  637.     def __del__(self, delfunc = clip_dndc.delete_wxPyDropTarget):
  638.         if self.thisown == 1:
  639.             
  640.             try:
  641.                 delfunc(self)
  642.             except:
  643.                 pass
  644.  
  645.         
  646.  
  647.     
  648.     def GetDataObject(self, *_args, **_kwargs):
  649.         val = apply(clip_dndc.wxPyDropTarget_GetDataObject, (self,) + _args, _kwargs)
  650.         if val:
  651.             val = wxDataObjectPtr(val)
  652.         
  653.         return val
  654.  
  655.     
  656.     def SetDataObject(self, *_args, **_kwargs):
  657.         val = apply(clip_dndc.wxPyDropTarget_SetDataObject, (self,) + _args, _kwargs)
  658.         if _args:
  659.             _args[0].thisown = 0
  660.         
  661.         return val
  662.  
  663.     
  664.     def base_OnEnter(self, *_args, **_kwargs):
  665.         val = apply(clip_dndc.wxPyDropTarget_base_OnEnter, (self,) + _args, _kwargs)
  666.         return val
  667.  
  668.     
  669.     def base_OnDragOver(self, *_args, **_kwargs):
  670.         val = apply(clip_dndc.wxPyDropTarget_base_OnDragOver, (self,) + _args, _kwargs)
  671.         return val
  672.  
  673.     
  674.     def base_OnLeave(self, *_args, **_kwargs):
  675.         val = apply(clip_dndc.wxPyDropTarget_base_OnLeave, (self,) + _args, _kwargs)
  676.         return val
  677.  
  678.     
  679.     def base_OnDrop(self, *_args, **_kwargs):
  680.         val = apply(clip_dndc.wxPyDropTarget_base_OnDrop, (self,) + _args, _kwargs)
  681.         return val
  682.  
  683.     
  684.     def GetData(self, *_args, **_kwargs):
  685.         val = apply(clip_dndc.wxPyDropTarget_GetData, (self,) + _args, _kwargs)
  686.         return val
  687.  
  688.     
  689.     def __repr__(self):
  690.         return '<C wxPyDropTarget instance at %s>' % (self.this,)
  691.  
  692.  
  693.  
  694. class wxPyDropTarget(wxPyDropTargetPtr):
  695.     
  696.     def __init__(self, *_args, **_kwargs):
  697.         self.this = apply(clip_dndc.new_wxPyDropTarget, _args, _kwargs)
  698.         self.thisown = 1
  699.         if _args:
  700.             _args[0].thisown = 0
  701.         
  702.         self._setCallbackInfo(self, wxPyDropTarget)
  703.  
  704.  
  705.  
  706. class wxTextDropTargetPtr(wxPyDropTargetPtr):
  707.     
  708.     def __init__(self, this):
  709.         self.this = this
  710.         self.thisown = 0
  711.  
  712.     
  713.     def _setCallbackInfo(self, *_args, **_kwargs):
  714.         val = apply(clip_dndc.wxTextDropTarget__setCallbackInfo, (self,) + _args, _kwargs)
  715.         return val
  716.  
  717.     
  718.     def base_OnEnter(self, *_args, **_kwargs):
  719.         val = apply(clip_dndc.wxTextDropTarget_base_OnEnter, (self,) + _args, _kwargs)
  720.         return val
  721.  
  722.     
  723.     def base_OnDragOver(self, *_args, **_kwargs):
  724.         val = apply(clip_dndc.wxTextDropTarget_base_OnDragOver, (self,) + _args, _kwargs)
  725.         return val
  726.  
  727.     
  728.     def base_OnLeave(self, *_args, **_kwargs):
  729.         val = apply(clip_dndc.wxTextDropTarget_base_OnLeave, (self,) + _args, _kwargs)
  730.         return val
  731.  
  732.     
  733.     def base_OnDrop(self, *_args, **_kwargs):
  734.         val = apply(clip_dndc.wxTextDropTarget_base_OnDrop, (self,) + _args, _kwargs)
  735.         return val
  736.  
  737.     
  738.     def base_OnData(self, *_args, **_kwargs):
  739.         val = apply(clip_dndc.wxTextDropTarget_base_OnData, (self,) + _args, _kwargs)
  740.         return val
  741.  
  742.     
  743.     def __repr__(self):
  744.         return '<C wxTextDropTarget instance at %s>' % (self.this,)
  745.  
  746.  
  747.  
  748. class wxTextDropTarget(wxTextDropTargetPtr):
  749.     
  750.     def __init__(self, *_args, **_kwargs):
  751.         self.this = apply(clip_dndc.new_wxTextDropTarget, _args, _kwargs)
  752.         self.thisown = 1
  753.         self._setCallbackInfo(self, wxTextDropTarget)
  754.  
  755.  
  756.  
  757. class wxFileDropTargetPtr(wxPyDropTargetPtr):
  758.     
  759.     def __init__(self, this):
  760.         self.this = this
  761.         self.thisown = 0
  762.  
  763.     
  764.     def _setCallbackInfo(self, *_args, **_kwargs):
  765.         val = apply(clip_dndc.wxFileDropTarget__setCallbackInfo, (self,) + _args, _kwargs)
  766.         return val
  767.  
  768.     
  769.     def base_OnEnter(self, *_args, **_kwargs):
  770.         val = apply(clip_dndc.wxFileDropTarget_base_OnEnter, (self,) + _args, _kwargs)
  771.         return val
  772.  
  773.     
  774.     def base_OnDragOver(self, *_args, **_kwargs):
  775.         val = apply(clip_dndc.wxFileDropTarget_base_OnDragOver, (self,) + _args, _kwargs)
  776.         return val
  777.  
  778.     
  779.     def base_OnLeave(self, *_args, **_kwargs):
  780.         val = apply(clip_dndc.wxFileDropTarget_base_OnLeave, (self,) + _args, _kwargs)
  781.         return val
  782.  
  783.     
  784.     def base_OnDrop(self, *_args, **_kwargs):
  785.         val = apply(clip_dndc.wxFileDropTarget_base_OnDrop, (self,) + _args, _kwargs)
  786.         return val
  787.  
  788.     
  789.     def base_OnData(self, *_args, **_kwargs):
  790.         val = apply(clip_dndc.wxFileDropTarget_base_OnData, (self,) + _args, _kwargs)
  791.         return val
  792.  
  793.     
  794.     def __repr__(self):
  795.         return '<C wxFileDropTarget instance at %s>' % (self.this,)
  796.  
  797.  
  798.  
  799. class wxFileDropTarget(wxFileDropTargetPtr):
  800.     
  801.     def __init__(self, *_args, **_kwargs):
  802.         self.this = apply(clip_dndc.new_wxFileDropTarget, _args, _kwargs)
  803.         self.thisown = 1
  804.         self._setCallbackInfo(self, wxFileDropTarget)
  805.  
  806.  
  807.  
  808. def wxCustomDataFormat(*_args, **_kwargs):
  809.     val = apply(clip_dndc.wxCustomDataFormat, _args, _kwargs)
  810.     if val:
  811.         val = wxDataFormatPtr(val)
  812.         val.thisown = 1
  813.     
  814.     return val
  815.  
  816. wxIsDragResultOk = clip_dndc.wxIsDragResultOk
  817. wxDF_INVALID = clip_dndc.wxDF_INVALID
  818. wxDF_TEXT = clip_dndc.wxDF_TEXT
  819. wxDF_BITMAP = clip_dndc.wxDF_BITMAP
  820. wxDF_METAFILE = clip_dndc.wxDF_METAFILE
  821. wxDF_SYLK = clip_dndc.wxDF_SYLK
  822. wxDF_DIF = clip_dndc.wxDF_DIF
  823. wxDF_TIFF = clip_dndc.wxDF_TIFF
  824. wxDF_OEMTEXT = clip_dndc.wxDF_OEMTEXT
  825. wxDF_DIB = clip_dndc.wxDF_DIB
  826. wxDF_PALETTE = clip_dndc.wxDF_PALETTE
  827. wxDF_PENDATA = clip_dndc.wxDF_PENDATA
  828. wxDF_RIFF = clip_dndc.wxDF_RIFF
  829. wxDF_WAVE = clip_dndc.wxDF_WAVE
  830. wxDF_UNICODETEXT = clip_dndc.wxDF_UNICODETEXT
  831. wxDF_ENHMETAFILE = clip_dndc.wxDF_ENHMETAFILE
  832. wxDF_FILENAME = clip_dndc.wxDF_FILENAME
  833. wxDF_LOCALE = clip_dndc.wxDF_LOCALE
  834. wxDF_PRIVATE = clip_dndc.wxDF_PRIVATE
  835. wxDF_HTML = clip_dndc.wxDF_HTML
  836. wxDF_MAX = clip_dndc.wxDF_MAX
  837. cvar = clip_dndc.cvar
  838. wxFormatInvalid = wxDataFormatPtr(clip_dndc.cvar.wxFormatInvalid)
  839. wxTheClipboard = wxClipboardPtr(clip_dndc.cvar.wxTheClipboard)
  840. wxDrag_CopyOnly = clip_dndc.wxDrag_CopyOnly
  841. wxDrag_AllowMove = clip_dndc.wxDrag_AllowMove
  842. wxDrag_DefaultMove = clip_dndc.wxDrag_DefaultMove
  843. wxDragError = clip_dndc.wxDragError
  844. wxDragNone = clip_dndc.wxDragNone
  845. wxDragCopy = clip_dndc.wxDragCopy
  846. wxDragMove = clip_dndc.wxDragMove
  847. wxDragLink = clip_dndc.wxDragLink
  848. wxDragCancel = clip_dndc.wxDragCancel
  849.