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