Fixes for building wxOS2 shared with OpenWatcom.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-01-25 13:59:55 +00:00
parent 980ee83f63
commit 0e2a14e5e3
4 changed files with 16 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: utils.cpp
// Name: src/os2/utils.cpp
// Purpose: Various utilities
// Author: David Webster
// Modified by:
@@ -13,7 +13,6 @@
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/setup.h"
#include "wx/utils.h"
#include "wx/app.h"
#endif //WX_PRECOMP
@@ -442,9 +441,9 @@ wxChar* wxGetUserHome ( const wxString &rUser )
return (wxChar*)wxEmptyString; // No home known!
}
wxString WXDLLEXPORT wxPMErrorToStr(ERRORID vError)
wxString wxPMErrorToStr(ERRORID vError)
{
wxString sError;
wxString sError;
//
// Remove the high order byte -- it is useless
@@ -495,7 +494,7 @@ wxString WXDLLEXPORT wxPMErrorToStr(ERRORID vError)
default:
sError = wxT("Unknown error");
}
return(sError);
return sError;
} // end of wxPMErrorToStr
// replacement for implementation in unix/utilsunx.cpp,