]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clipbrd.cpp
Only send keypress events to focus widget, not its parents
[wxWidgets.git] / src / gtk / clipbrd.cpp
index 483b6beca4889861019d77c3cc6e1c27cb973eb4..649b4424d8264fbe481952218594ae27fb96f485 100644 (file)
@@ -409,7 +409,7 @@ GdkAtom wxClipboard::GTKGetClipboardAtom() const
 
 void wxClipboard::GTKClearData(Kind kind)
 {
-    wxDataObject *&data = Data();
+    wxDataObject *&data = Data(kind);
     if ( data )
     {
         delete data;