X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d03824751913dd8caae70c9ee7465374c84ef706..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/nativewin.h?ds=sidebyside diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index be24584745..6571149755 100644 --- a/include/wx/nativewin.h +++ b/include/wx/nativewin.h @@ -39,9 +39,7 @@ typedef HWND wxNativeContainerWindowId; typedef HWND wxNativeContainerWindowHandle; #elif defined(__WXGTK__) - #include - - typedef GdkNativeWindow wxNativeContainerWindowId; + typedef unsigned long wxNativeContainerWindowId; typedef GdkWindow *wxNativeContainerWindowHandle; #else // no support for using native windows under this platform yet @@ -145,6 +143,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 @@ -159,7 +160,7 @@ protected: #endif // __WXMSW__ private: - DECLARE_NO_COPY_CLASS(wxNativeContainerWindow) + wxDECLARE_NO_COPY_CLASS(wxNativeContainerWindow); }; #endif // wxHAS_NATIVE_CONTAINER_WINDOW