Viktor P
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36927
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
path.Printf(wxT("%c:\\"), driveBuffer[i]);
name.Printf(wxT("%c:"), driveBuffer[i]);
path.Printf(wxT("%c:\\"), driveBuffer[i]);
name.Printf(wxT("%c:"), driveBuffer[i]);
+#if !defined(__WXWINCE__)
+ wxChar pname[52];
+ if (GetVolumeInformation( path.c_str(), pname, 52, NULL, NULL, NULL, NULL, NULL ))
+ {
+ name.Printf(wxT("%s %s"), (const wxChar*) name, pname );
+ }
+#endif
+
int imageId;
int driveType = ::GetDriveType(path);
switch (driveType)
int imageId;
int driveType = ::GetDriveType(path);
switch (driveType)