Fix wxNativeContainerWindowId definition for wxGTK/Windows port.
It's a gpointer and not unsigned long as under Unix in this case. Closes #14447. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,7 +39,12 @@
|
|||||||
typedef HWND wxNativeContainerWindowId;
|
typedef HWND wxNativeContainerWindowId;
|
||||||
typedef HWND wxNativeContainerWindowHandle;
|
typedef HWND wxNativeContainerWindowHandle;
|
||||||
#elif defined(__WXGTK__)
|
#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;
|
typedef GdkWindow *wxNativeContainerWindowHandle;
|
||||||
#else
|
#else
|
||||||
// no support for using native windows under this platform yet
|
// no support for using native windows under this platform yet
|
||||||
|
Reference in New Issue
Block a user