]> git.saurik.com Git - wxWidgets.git/commitdiff
call OnNativeDestroyed() if the native window is destroyed independently from us
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Mar 2008 03:36:15 +0000 (03:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Mar 2008 03:36:15 +0000 (03:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/nativewin.h

index 3aa6ffc79055f41aa3c73b1e634437d9c0d78080..be24584745b6fb9e1e618e4f9c0291cb15e77a00 100644 (file)
@@ -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)
 };