]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/crashrpt.cpp
more wxPostEvent MT fixes
[wxWidgets.git] / src / msw / crashrpt.cpp
index c3411045b40588304234ea93d5a1c4d32614ad8a..9ba2dbbb06d53a567c7d48db8c9888f57773038a 100644 (file)
@@ -58,7 +58,7 @@
 
 #include "wx/datetime.h"
 
-#include "wx/dynload.h"
+#include "wx/dynlib.h"
 
 #include "wx/msw/crashrpt.h"
 
@@ -1188,7 +1188,7 @@ bool wxCrashReportImpl::Generate(
             SymSetOptions(SYMOPT_DEFERRED_LOADS | SYMOPT_UNDNAME);
 
             // Initialize DbgHelp
-            if ( SymInitialize(GetCurrentProcess(), NULL, TRUE /* invade */) )
+            if ( ::SymInitialize(GetCurrentProcess(), NULL, TRUE /* invade */) )
             {
                 OutputStack(pCtx, flags);