]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
Cured some small doc typos; some WIN16 fixes; transferred DLL WinMain to
[wxWidgets.git] / src / msw / utilsexc.cpp
index 5f12734b4c1a1bca86434a744f513ceac3cc1d69..ade6c3077ab33b77df38fdb0e4a44f0241492cf0 100644 (file)
@@ -77,10 +77,12 @@ struct wxExecuteData
 public:
     ~wxExecuteData()
     {
+#ifndef __WIN16__
         if ( !::CloseHandle(hProcess) )
         {
             wxLogLastError("CloseHandle(hProcess)");
         }
+#endif
     }
 
     HWND       hWnd;          // window to send wxWM_PROC_TERMINATED to