X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da00cef2d8497aff5bd5d84bed7983575fce71f0..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/include/wx/nativewin.h diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index 60d94037cf..01007fdee6 100644 --- a/include/wx/nativewin.h +++ b/include/wx/nativewin.h @@ -39,9 +39,12 @@ typedef HWND wxNativeContainerWindowId; typedef HWND wxNativeContainerWindowHandle; #elif defined(__WXGTK__) - #include - - typedef GdkNativeWindow wxNativeContainerWindowId; + // GdkNativeWindow is guint32 under GDK/X11 and gpointer under GDK/WIN32 + #ifdef __UNIX__ + typedef unsigned long wxNativeContainerWindowId; + #else + typedef void *wxNativeContainerWindowId; + #endif typedef GdkWindow *wxNativeContainerWindowHandle; #else // no support for using native windows under this platform yet