mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +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):
|
||||
# This is how the clipboard contents can be preserved after
|
||||
# the app has exited.
|
||||
wx.TheClipboard.Flush()
|
||||
if 'wxMac' not in wx.PlatformInfo:
|
||||
wx.TheClipboard.Flush()
|
||||
evt.Skip()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user