]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/app.cpp
/dev/null may not exist, be smarter about it
[wxWidgets.git] / src / os2 / app.cpp
index e6a8c71e5437beab43397c30b39ff4346944d415..8e98b984bdd28cba3823245d815a254fc264df20 100644 (file)
@@ -386,8 +386,7 @@ bool wxApp::RegisterWindowClasses( HAB vHab )
 //
 void wxApp::CleanUp()
 {
-    delete[] wxBuffer;
-    wxBuffer = NULL;
+    wxDELETEA(wxBuffer);
 
     //
     // PM-SPECIFIC CLEANUP
@@ -414,8 +413,7 @@ void wxApp::CleanUp()
 // TODO:        ::DeleteObject( wxDisableButtonBrush );
     }
 
-    delete wxWinHandleHash;
-    wxWinHandleHash = NULL;
+    wxDELETE(wxWinHandleHash);
 
     // Delete Message queue
     if (wxTheApp->m_hMq)