X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dc44eff0235c5f30940f32ccc6d9d82a236e7d2..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/nativewin.h diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index 6571149755..01007fdee6 100644 --- a/include/wx/nativewin.h +++ b/include/wx/nativewin.h @@ -39,7 +39,12 @@ typedef HWND wxNativeContainerWindowId; typedef HWND wxNativeContainerWindowHandle; #elif defined(__WXGTK__) - typedef unsigned long 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