From: Vadim Zeitlin Date: Sat, 15 Mar 2008 03:36:15 +0000 (+0000) Subject: call OnNativeDestroyed() if the native window is destroyed independently from us X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d03824751913dd8caae70c9ee7465374c84ef706 call OnNativeDestroyed() if the native window is destroyed independently from us git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index 3aa6ffc790..be24584745 100644 --- a/include/wx/nativewin.h +++ b/include/wx/nativewin.h @@ -152,6 +152,12 @@ 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) };