X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/nativewin.h?ds=sidebyside diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index f38d8e978f..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 @@ -145,6 +148,9 @@ public: return false; } +#ifdef __WXMSW__ + virtual bool IsShown() const; +#endif // __WXMSW__ // this is an implementation detail: called when the native window is // destroyed by an outside agency; deletes the C++ object too but can in