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:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user