X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfba244cbf2d6bef4c81a969d0bc72f824842e29..5df8beb1d95030c94f678458fc1980049f537992:/include/wx/nativewin.h?ds=sidebyside diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index ca663ba4d7..be24584745 100644 --- a/include/wx/nativewin.h +++ b/include/wx/nativewin.h @@ -145,6 +145,19 @@ public: return false; } + + // this is an implementation detail: called when the native window is + // destroyed by an outside agency; deletes the C++ object too but can in + // principle be overridden to something else (knowing that the window + // 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) };