From 9f221962cea8457629cd08ac685492e15884d37d Mon Sep 17 00:00:00 2001 From: "Christopher A. Mosher" Date: Thu, 5 Jan 2023 07:16:10 -0500 Subject: [PATCH] fix build gtk only on linux --- src/gtkutil.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gtkutil.cpp b/src/gtkutil.cpp index 4e28668..13b0c33 100644 --- a/src/gtkutil.cpp +++ b/src/gtkutil.cpp @@ -1,5 +1,7 @@ #include "gtkutil.h" +#ifdef __WXGTK__ + #include #include @@ -13,3 +15,5 @@ void *get_gtk_native_window_handle(void *widget) { return reinterpret_cast(xid); } + +#endif