omitting assert that makes no sense for OpenVMS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen 2009-10-28 12:05:18 +00:00
parent eb74a51f7e
commit 4c9147881b

View File

@ -486,9 +486,11 @@ void wxFileName::Assign(const wxString& fullpathOrig,
SplitPath(fullpath, &volume, &path, &nameDummy, &extDummy, format); SplitPath(fullpath, &volume, &path, &nameDummy, &extDummy, format);
wxASSERT_MSG( nameDummy.empty() && extDummy.empty(), #ifndef __VMS
// This test makes no sense on an OpenVMS system.
wxASSERT_MSG( nameDummy.empty() && extDummy.empty(),
wxT("the path shouldn't contain file name nor extension") ); wxT("the path shouldn't contain file name nor extension") );
#endif
Assign(volume, path, name, ext, hasExt, format); Assign(volume, path, name, ext, hasExt, format);
} }