From e7f4e232fa1a4518196c431138b99f5757535599 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 21 Nov 2017 18:45:53 +0100 Subject: [PATCH] Use "class" for wxGTK wxWindowGesturesData definition No real changes, just be consistent with wxWindowGesturesData forward declaration as "class", clang (and MSVC) warn about mismatching keywords being used for declaration and definition. --- src/gtk/window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index c05ccb0651..36c049b5d2 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -235,8 +235,9 @@ static bool gs_inSizeAllocate; #ifdef wxGTK_HAS_GESTURES_SUPPORT // Per-window data for gestures support. -struct wxWindowGesturesData +class wxWindowGesturesData { +public: wxWindowGesturesData(wxWindow* win, GtkWidget *widget); ~wxWindowGesturesData();