Fixed OS/2 specific defines (there's no such thing as WXOS2).

Added the more commonly used wxPORT_PM as alias for wxPORT_OS2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-08-27 16:40:17 +00:00
parent d1c3843c77
commit 8ab09e65f9
2 changed files with 8 additions and 3 deletions

View File

@@ -483,8 +483,12 @@ bool wxPlatform::Is(int platform)
if (platform == wxPORT_MGL)
return true;
#endif
#ifdef __WXOS2__
if (platform == wxPORT_OS2)
#ifdef __OS2__
if (platform == wxOS_OS2)
return true;
#endif
#ifdef __WXPM__
if (platform == wxPORT_PM)
return true;
#endif
#ifdef __WXCOCOA__