After resolving all conflicts that came down the

telephone line: DialogEd is ready for general
  consumption now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-07 22:01:55 +00:00
parent b8c631bb29
commit d84eb08384
14 changed files with 218 additions and 190 deletions

View File

@@ -80,15 +80,11 @@ int wxDisplayDepth(void)
// user and home routines
//------------------------------------------------------------------------
char* wxGetHomeDir( char *dest )
const char* wxGetHomeDir( wxString *home )
{
wxString tmp = wxGetUserHome( wxString() );
if (tmp.IsNull())
strcpy( wxBuffer, "/" );
else
strcpy( wxBuffer, tmp );
if (dest) strcpy( dest, WXSTRINGCAST tmp );
return wxBuffer;
*home = wxGetUserHome( wxString() );
if (home->IsNull()) *home = "/";
return *home;
};
char *wxGetUserHome( const wxString &user )