X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dc44eff0235c5f30940f32ccc6d9d82a236e7d2..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/nativewin.h?ds=sidebyside diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index 6571149755..e0328e9583 100644 --- a/include/wx/nativewin.h +++ b/include/wx/nativewin.h @@ -3,7 +3,6 @@ // Purpose: classes allowing to wrap a native window handle // Author: Vadim Zeitlin // Created: 2008-03-05 -// RCS-ID: $Id$ // Copyright: (c) 2008 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -39,7 +38,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