X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2aee749cb188d42282f54043a9723778f1cf1a05..235a997f9aea9d80774e296d314682e99e0c46f1:/include/wx/nativewin.h diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index 3aa6ffc790..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 @@ -152,8 +153,14 @@ public: // handle of this object and all of its children is invalid any more) virtual void OnNativeDestroyed(); +protected: +#ifdef __WXMSW__ + virtual WXLRESULT + MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); +#endif // __WXMSW__ + private: - DECLARE_NO_COPY_CLASS(wxNativeContainerWindow) + wxDECLARE_NO_COPY_CLASS(wxNativeContainerWindow); }; #endif // wxHAS_NATIVE_CONTAINER_WINDOW