diff --git a/collects/mred/private/wx/gtk/clipboard.rkt b/collects/mred/private/wx/gtk/clipboard.rkt index 9133b86c..13bdb2b8 100644 --- a/collects/mred/private/wx/gtk/clipboard.rkt +++ b/collects/mred/private/wx/gtk/clipboard.rkt @@ -127,7 +127,7 @@ (define/public (replaced s-box) ;; Called in Gtk event-dispatch thread --- atomically with respect ;; to any other thread - (when (eq? s-box self-box) + (when (ptr-equal? s-box self-box) (set! self-box #f) (let ([c client]) (when c