X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfba244cbf2d6bef4c81a969d0bc72f824842e29..b1859b1a1b35194abb9d55a35d8bad202db39776:/include/wx/nativewin.h?ds=inline diff --git a/include/wx/nativewin.h b/include/wx/nativewin.h index ca663ba4d7..3aa6ffc790 100644 --- a/include/wx/nativewin.h +++ b/include/wx/nativewin.h @@ -145,6 +145,13 @@ 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(); + private: DECLARE_NO_COPY_CLASS(wxNativeContainerWindow) };