1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/x11-toolkits/wxgtk26/files/patch-src-gtk-clipbrd.cpp
Max Khon 70be79bafd - Update to 2.6.3
- Get rid of USE_REINPLACE
- Make portlint happy with the IGNORE value

PR:		95149 (mostly)
Submitted by:	Vasil Dimov
2006-04-02 11:06:59 +00:00

27 lines
900 B
C++

--- src/gtk/clipbrd.cpp.orig Wed Mar 22 05:42:16 2006
+++ src/gtk/clipbrd.cpp Sun Apr 2 17:51:17 2006
@@ -494,16 +494,21 @@
delete[] array;
+#ifdef __WXGTK20__
gtk_signal_connect( GTK_OBJECT(m_clipboardWidget),
"selection_get",
GTK_SIGNAL_FUNC(selection_handler),
GUINT_TO_POINTER(
-#ifdef __WXGTK20__
gtk_get_current_event_time()
+ ) );
#else
+ gtk_signal_connect( GTK_OBJECT(m_clipboardWidget),
+ "selection_get",
+ GTK_SIGNAL_FUNC(selection_handler),
+ GUINT_TO_POINTER(
gdk_event_get_time(gtk_get_current_event())
-#endif
) );
+#endif
#if wxUSE_THREADS
/* disable GUI threads */