]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
don't skip first/last node when pressing down/up arrow after opening the menu with...
[wxWidgets.git] / src / msw / utils.cpp
index 00ea5c39eba8caf44a437927e2d852034bf93f60..34b1ee859ae625abbfb6a197eb91824b7e1e6556 100644 (file)
@@ -500,12 +500,12 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
 
         if ( pTotal )
         {
-            *pTotal = wxLongLong(bytesTotal.u.HighPart, bytesTotal.u.LowPart);
+            *pTotal = wxLongLong(bytesTotal.HighPart, bytesTotal.LowPart);
         }
 
         if ( pFree )
         {
-            *pFree = wxLongLong(bytesFree.u.HighPart, bytesFree.u.LowPart);
+            *pFree = wxLongLong(bytesFree.HighPart, bytesFree.LowPart);
         }
     }
     else