fix pasteboard remove method (PR 8565)
svn: r5788
This commit is contained in:
parent
3803b4e045
commit
808d8732e2
|
@ -950,7 +950,10 @@ Bool wxMediaPasteboard::_Delete(wxSnip *del_snip,
|
|||
snip->flags += wxSNIP_CAN_DISOWN;
|
||||
SnipSetAdmin(snip, NULL);
|
||||
snip->flags -= wxSNIP_CAN_DISOWN;
|
||||
|
||||
if (!del)
|
||||
if (!snip->GetAdmin())
|
||||
snip->flags -= wxSNIP_OWNED;
|
||||
|
||||
if (!modified)
|
||||
SetModified(TRUE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user