]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clipbrd.cpp
corrected off by 1 error in cMB2WC() call (thanks valgrind)
[wxWidgets.git] / src / gtk / clipbrd.cpp
index 143a624fdcde786a552f28cdfac55d00796546a9..483b6beca4889861019d77c3cc6e1c27cb973eb4 100644 (file)
@@ -439,7 +439,7 @@ void wxClipboard::AddSupportedTarget(GdkAtom atom)
 {
     gtk_selection_add_target
     (
 {
     gtk_selection_add_target
     (
-        GTK_WIDGET(m_clipboardWidget),
+        m_clipboardWidget,
         GTKGetClipboardAtom(),
         atom,
         0 // info (same as client data) unused
         GTKGetClipboardAtom(),
         atom,
         0 // info (same as client data) unused