]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
mingw32 compilation fixes (unfortunately, this effectively disables placing controls...
[wxWidgets.git] / src / msw / utilsexc.cpp
index d287d7fad24368f995cdbb781c717e4b7bcf3d9c..e6570d80a32335080ed32637c974da706d75306a 100644 (file)
@@ -214,11 +214,7 @@ long wxExecute(const wxString& command, bool sync, wxProcess *handler)
 #else // 1
     // create the process
     STARTUPINFO si;
-#ifdef __GNUWIN32__
-    memset(&si, 0, sizeof(si));
-#else
-    ::ZeroMemory(&si, sizeof(si));
-#endif
+    wxZeroMemory(si);
 
     si.cb = sizeof(si);