Call wxAuiManager::UnInit() if associated frame is destroyed

Don't require the application code to explicitly do it if the frame is
destroyed before the manager itself.
This commit is contained in:
Hans Mackowiak
2020-07-18 17:40:35 +02:00
committed by Vadim Zeitlin
parent 2ea7090de2
commit f646532889
2 changed files with 11 additions and 0 deletions

View File

@@ -555,6 +555,7 @@ public:
protected:
// protected events
void OnDestroy(wxWindowDestroyEvent& evt);
void OnPaint(wxPaintEvent& evt);
void OnEraseBackground(wxEraseEvent& evt);
void OnSize(wxSizeEvent& evt);