mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
wx.Clipboard.Flush now asserts on OSX instead of just returning False
This commit is contained in:
@@ -64,7 +64,8 @@ class MySTC(stc.StyledTextCtrl):
|
|||||||
def OnDestroy(self, evt):
|
def OnDestroy(self, evt):
|
||||||
# This is how the clipboard contents can be preserved after
|
# This is how the clipboard contents can be preserved after
|
||||||
# the app has exited.
|
# the app has exited.
|
||||||
wx.TheClipboard.Flush()
|
if 'wxMac' not in wx.PlatformInfo:
|
||||||
|
wx.TheClipboard.Flush()
|
||||||
evt.Skip()
|
evt.Skip()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user