mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
DnD of text or files to wx.TextCtrl doesn't work on OSX (Apple doesn't let us override the build-in behavior I think) so don't use a wx.TextCrtl for the drop target.
This commit is contained in:
@@ -117,6 +117,7 @@ class DataObjTests(wtc.WidgetTestCase):
|
||||
|
||||
|
||||
def test_DataObject2(self):
|
||||
# More-or-less a duplicate of the above, but with a custom data format
|
||||
class MyDataObject(wx.DataObject):
|
||||
def __init__(self, value=''):
|
||||
wx.DataObject.__init__(self)
|
||||
@@ -211,6 +212,7 @@ class DataObjTests(wtc.WidgetTestCase):
|
||||
|
||||
|
||||
def test_DataObjectSimple3(self):
|
||||
# More-or-less a duplicate of the above, but with a custom data format
|
||||
class MyDataObject(wx.DataObjectSimple):
|
||||
def __init__(self, value=''):
|
||||
wx.DataObjectSimple.__init__(self)
|
||||
|
||||
Reference in New Issue
Block a user