Updates to make wxWidgets compaile on OpenVMS again

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2010-03-25 11:16:32 +00:00
parent d26cb76b58
commit e1cf09d918
4 changed files with 20 additions and 6 deletions

View File

@@ -372,7 +372,15 @@ wxString wxControlBase::DoEllipsizeSingleLine(const wxString& curLine, const wxD
return curLine;
}
wxASSERT(initialCharToRemove >= 0 && initialCharToRemove <= len-1); // see valid range for initialCharToRemove above
#ifdef __VMS
#pragma message disable unscomzer
// suppress warnings on comparison of unsigned numbers
#endif
wxASSERT(initialCharToRemove >= 0 && initialCharToRemove <= len-1); // see valid range for initialCharToRemove above
#ifdef __VMS
#pragma message enable unscomzer
// suppress warnings on comparison of unsigned numbers
#endif
wxASSERT(nCharsToRemove >= 1 && nCharsToRemove <= len-initialCharToRemove); // see valid range for nCharsToRemove above
// erase nCharsToRemove characters after initialCharToRemove (included);