const char *wxGetHomeDir(wxString*) added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -249,11 +249,9 @@ bool WXDLLEXPORT wxGetResource(const wxString& section, const wxString& entry, l | |||||||
| bool WXDLLEXPORT wxGetResource(const wxString& section, const wxString& entry, int *value, const wxString& file = ""); | bool WXDLLEXPORT wxGetResource(const wxString& section, const wxString& entry, int *value, const wxString& file = ""); | ||||||
| #endif // USE_RESOURCES | #endif // USE_RESOURCES | ||||||
|  |  | ||||||
| #ifdef __UNIX__ | // Get current Home dir and copy to dest (returns pstr->c_str()) | ||||||
| // 'X' Only, will soon vanish.... | const char* WXDLLEXPORT wxGetHomeDir(wxString *pstr); | ||||||
| // Get current Home dir and copy to dest |  | ||||||
| char* WXDLLEXPORT wxGetHomeDir( char *dest ); |  | ||||||
| #endif |  | ||||||
| // Get the user's home dir (caller must copy--- volatile) | // Get the user's home dir (caller must copy--- volatile) | ||||||
| // returns NULL is no HOME dir is known | // returns NULL is no HOME dir is known | ||||||
| char* WXDLLEXPORT wxGetUserHome(const wxString& user = ""); | char* WXDLLEXPORT wxGetUserHome(const wxString& user = ""); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user