summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-25 20:21:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-25 20:22:18 +0100
commit6a01c78435c4237e8702966d30de2a47b58e7620 (patch)
treeb7544854636bd9b9c6eb118983b7436a1a8ebf9c /vcl
parenta8228c4950eda9310382c8f773ade578367ca501 (diff)
these ancient baselines are breaking my spirit
Change-Id: I96dbe2c1213c78da1114f9270953334a38c7b2ae
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 8edaedcd748c..94bdbcea408e 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -2875,6 +2875,19 @@ void GtkSalFrame::Sync()
gdk_display_sync( getGdkDisplay() );
}
+#ifndef GDK_Open
+#define GDK_Open 0x1008ff6b
+#endif
+#ifndef GDK_Paste
+#define GDK_Paste 0x1008ff6d
+#endif
+#ifndef GDK_Copy
+#define GDK_Copy 0x1008ff57
+#endif
+#ifndef GDK_Cut
+#define GDK_Cut 0x1008ff58
+#endif
+
void GtkSalFrame::KeyCodeToGdkKey(const vcl::KeyCode& rKeyCode,
guint* pGdkKeyCode, GdkModifierType *pGdkModifiers)
{