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