X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0aaa6ace7ede4240453251d6a1c84c918c54c321..31f4ed4aa313e7ed804f3e161ac7637dfba70350:/include/wx/osx/nonownedwnd.h?ds=sidebyside diff --git a/include/wx/osx/nonownedwnd.h b/include/wx/osx/nonownedwnd.h index da7ede4551..eee92a7ea6 100644 --- a/include/wx/osx/nonownedwnd.h +++ b/include/wx/osx/nonownedwnd.h @@ -103,6 +103,8 @@ public: virtual void HandleResized( double timestampsec ); virtual void HandleMoved( double timestampsec ); virtual void HandleResizing( double timestampsec, wxRect* rect ); + + virtual bool Destroy(); protected: // common part of all ctors @@ -117,7 +119,7 @@ protected: wxShowEffect effect, unsigned timeout); - void OnWindowDestroy( wxWindowDestroyEvent &event); + virtual void WillBeDestroyed(); wxNonOwnedWindowImpl* m_nowpeer ;