We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13a22d commit 1b7b9bbCopy full SHA for 1b7b9bb
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
@@ -1965,7 +1965,14 @@ long paintSurface () {
1965
*/
1966
public void paste () {
1967
checkWidget ();
1968
- if (entryHandle != 0) GTK3.gtk_editable_paste_clipboard (entryHandle);
+ if (entryHandle != 0) {
1969
+ if (GTK.GTK4) {
1970
+ long textHandle = GTK4.gtk_widget_get_first_child(entryHandle);
1971
+ GTK4.gtk_widget_activate_action(textHandle, OS.action_paste_clipboard, null);
1972
+ } else {
1973
+ GTK3.gtk_editable_paste_clipboard (entryHandle);
1974
+ }
1975
1976
}
1977
1978
@Override
0 commit comments