]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/utils.cpp
fixed the vsprintf() problem once and for all
[wxWidgets.git] / src / motif / utils.cpp
index 5c2797dc175c0f5be21fc5067c48da9009d04cf8..63278446f858afd35d26048e704549b8da8e63a9 100644 (file)
@@ -615,6 +615,13 @@ bool wxIsBusy()
   return (wxBusyCursorCount > 0);
 }    
 
+const char* wxGetHomeDir( wxString *home  )
+{
+  *home = wxGetUserHome( wxString() );
+  if (home->IsNull()) *home = "/";
+  return *home;
+};
+
 char *wxGetUserHome (const wxString& user)
 {
 #ifdef VMS