Modified Files:
wxWindows/setup.h_vms wxWindows/lib/vms_gtk.opt wxWindows/src/common/fileconf.cpp wxWindows/src/unix/utilsunx.cpp Patches for VMS: Updated Setup The conftest sample in wxGTK now can read_to/write_from the home-directory. ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -640,9 +640,14 @@ long wxExecute(wxChar **argv,
|
||||
const wxChar* wxGetHomeDir( wxString *home )
|
||||
{
|
||||
*home = wxGetUserHome( wxString() );
|
||||
wxString tmp;
|
||||
if ( home->IsEmpty() )
|
||||
*home = wxT("/");
|
||||
|
||||
#ifdef __VMS
|
||||
tmp = *home;
|
||||
if ( tmp.Last() != wxT(']'))
|
||||
if ( tmp.Last() != wxT('/')) *home << wxT('/');
|
||||
#endif
|
||||
return home->c_str();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user