From d03824751913dd8caae70c9ee7465374c84ef706 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 Mar 2008 03:36:15 +0000 Subject: [PATCH] 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 --- include/wx/nativewin.h | 6 ++++++ 1 file changed, 6 insertions(+) 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) }; -- 2.45.2