]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/utils.cpp
added wxListCtrl::DeleteAllColumns()
[wxWidgets.git] / src / motif / utils.cpp
index 5c2797dc175c0f5be21fc5067c48da9009d04cf8..07ac707905be836252cf5cc8d3a065b422a54b0d 100644 (file)
@@ -275,7 +275,7 @@ wxFlushResources (void)
   wxNode *node = wxResourceCache.First ();
   while (node)
     {
-      char *file = node->key.string;
+      const char *file = node->GetKeyString();
       // If file doesn't exist, create it first.
       (void)GetResourcePath(nameBuffer, file, TRUE);
 
@@ -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