]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/oleutils.cpp
fixing osx_cocoa
[wxWidgets.git] / src / msw / ole / oleutils.cpp
index 9c50a53fdc8144bcfc0329bfb1bb0ae7c5584064..c992ce0af50b7f1811983bfcd17236b622a7fc14 100644 (file)
@@ -362,6 +362,10 @@ wxConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant)
                 variant = oleVariant.boolVal != 0;
                 break;
 
+            case VT_R4:
+                variant = oleVariant.fltVal;
+                break;
+
             case VT_R8:
                 variant = oleVariant.dblVal;
                 break;