fix build gtk only on linux

This commit is contained in:
Christopher A. Mosher 2023-01-05 07:16:10 -05:00
parent fd2aadfd17
commit 9f221962ce
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#include "gtkutil.h"
#ifdef __WXGTK__
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
@ -13,3 +15,5 @@ void *get_gtk_native_window_handle(void *widget) {
return reinterpret_cast<void*>(xid);
}
#endif