blob: 1568c514b291abded68cc4c9ba0f4ba99e38c01b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- 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 */
|