]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/auibook.cpp
rename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT
[wxWidgets.git] / src / aui / auibook.cpp
index 607722c11549a4ff85b87efc5fe43fd0ce253ade..690acc096b21abc6baf9e410835cf5e834e32bf8 100644 (file)
@@ -2898,7 +2898,7 @@ void wxAuiNotebook::InitNotebook(long style)
 wxAuiNotebook::~wxAuiNotebook()
 {
     // Indicate we're deleting pages
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
 
     while ( GetPageCount() > 0 )
         DeletePage(0);