]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/corefoundation/utilsexc_base.cpp
suppress (harmless) gcc warning about non-virtual dtor in a class with virtual functions
[wxWidgets.git] / src / mac / corefoundation / utilsexc_base.cpp
index a82bcb3ceb08128d2543ec4a8f21930b3bc062e2..09c7d8f1bc984a1a3e8274d145bc0e12ca51feea 100644 (file)
@@ -28,6 +28,7 @@
     #include "wx/log.h"
     #include "wx/intl.h"
     #include "wx/utils.h"
+    #include "wx/wxcrt.h"
 #endif // WX_PRECOMP
 
 // Mac Includes
@@ -60,7 +61,7 @@
 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 long wxMacExecute(wxChar **argv,
                int flags,
-               wxProcess *process)
+               wxProcess *WXUNUSED(process))
 {
     // Semi-macros used for return value of wxMacExecute
     const long errorCode = ((flags & wxEXEC_SYNC) ? -1 : 0);