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:
@@ -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__
|
||||
|
Reference in New Issue
Block a user