fix build gtk only on linux
This commit is contained in:
parent
fd2aadfd17
commit
9f221962ce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue