- similar to __UNIX__ - or __WXPM__ when specific to the port - similar
to symbols __WXMOTIF__ or __WXGTK__).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35996
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// global data
// ---------------------------------------------------------------------------
-#ifdef __WXOS2__
+#ifdef __WXPM__
// The MakeProcInstance version of the function wxSubclassedGenericControlProc
WXDLLEXPORT_DATA(extern int) wxGenericControlSubClassProc;
WXDLLEXPORT_DATA(extern wxChar*) wxBuffer;
// global functions
// ---------------------------------------------------------------------------
-#ifdef __WXOS2__
+#ifdef __WXPM__
extern "C"
{
WXDLLEXPORT HINSTANCE wxGetInstance();
#elif defined(__OS2__)
/* wxOS2 vs. non wxOS2 ports on OS2 platform */
-# ifndef __WXMOTIF__
-# ifndef __WXOS2__
-# define __WXOS2__
-# endif
+# if !defined(__WXMOTIF__) && !defined(__WXGTK__) && !defined(__WXX11__)
# ifndef __WXPM__
# define __WXPM__
# endif