]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
Avoid core dumps when SetImageList is used.
[wxWidgets.git] / src / msw / utilsexc.cpp
index b969c899bf8d9229c735a8c01522b6472c76cf6d..671d9e9083aaf7141449e3b810ef87cf76412353 100644 (file)
@@ -113,12 +113,10 @@ struct wxExecuteData
 public:
     ~wxExecuteData()
     {
-#ifndef __WIN16__
         if ( !::CloseHandle(hProcess) )
         {
             wxLogLastError(wxT("CloseHandle(hProcess)"));
         }
-#endif
     }
 
     HWND       hWnd;          // window to send wxWM_PROC_TERMINATED to