diff options
| author | Chris Graham <unknown> | 2020-05-22 13:57:13 +1000 |
|---|---|---|
| committer | Chris Graham <unknown> | 2020-05-22 13:57:13 +1000 |
| commit | f354df9315c11abd837db480f96d4b00ea40ccc0 (patch) | |
| tree | 3c85ce954f58a9e85f9b15e3f4ae3bcd5b2c8620 /gtk/ScintillaGTK.h | |
| parent | 1834ca7dfc6ea6d901e866c5ae7598ac4bcf75cb (diff) | |
| download | scintilla-mirror-f354df9315c11abd837db480f96d4b00ea40ccc0.tar.gz | |
Bug [#2171]. Implement per-monitor DPI Awareness on Windows.
Diffstat (limited to 'gtk/ScintillaGTK.h')
| -rwxr-xr-x | gtk/ScintillaGTK.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h index 4a446ec99..2d948d71e 100755 --- a/gtk/ScintillaGTK.h +++ b/gtk/ScintillaGTK.h @@ -37,6 +37,7 @@ class ScintillaGTK : public ScintillaBase { GtkWidgetClass *parentClass; static inline GdkAtom atomUTF8 {}; + static inline GdkAtom atomUTF8Mime {}; static inline GdkAtom atomString {}; static inline GdkAtom atomUriList {}; static inline GdkAtom atomDROPFILES_DND {}; @@ -134,10 +135,10 @@ private: bool OwnPrimarySelection(); void ClaimSelection() override; void GetGtkSelectionText(GtkSelectionData *selectionData, SelectionText &selText); - void InsertSelection(GtkSelectionData *selectionData); + void InsertSelection(GtkClipboard *clipBoard, GtkSelectionData *selectionData); public: // Public for SelectionReceiver GObject *MainObject() const noexcept; - void ReceivedClipboard(GtkSelectionData *selection_data) noexcept; + void ReceivedClipboard(GtkClipboard *clipBoard, GtkSelectionData *selection_data) noexcept; private: void ReceivedSelection(GtkSelectionData *selection_data); void ReceivedDrop(GtkSelectionData *selection_data); |
