]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
moved wxUniv-specific GUI stuff from wxBase to wxCore; this fixes wxUniv DLL build
[wxWidgets.git] / src / common / utilscmn.cpp
index f6195cfeb2af67fe79531458c149a35652ba8bf6..4d111eaf539c29e004758317ab38f94b1410e9fb 100644 (file)
@@ -293,12 +293,12 @@ int wxGetOsVersion(int *verMaj, int *verMin)
     if ( ! traits )
         traits = &traitsConsole;
 
-    wxToolkitInfo *info = traits->GetToolkitInfo();
+    wxToolkitInfoinfo = traits->GetToolkitInfo();
     if ( verMaj )
-        *verMaj = info->versionMajor;
+        *verMaj = info.versionMajor;
     if ( verMin )
-        *verMin = info->versionMinor;
-    return info->os;
+        *verMin = info.versionMinor;
+    return info.os;
 }
 
 // ----------------------------------------------------------------------------