X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfba244cbf2d6bef4c81a969d0bc72f824842e29..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/include/wx/nativewin.h 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) };