///////////////////////////////////////////////////////////////////////////////
-// Name: mac/dataobj.h
+// Name: wx/os2/dataobj.h
// Purpose: declaration of the wxDataObject
// Author: Stefan Csomor
// Modified by:
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifndef _WX_MAC_DATAOBJ_H_
-#define _WX_MAC_DATAOBJ_H_
+#ifndef _WX_OS2_DATAOBJ_H_
+#define _WX_OS2_DATAOBJ_H_
// ----------------------------------------------------------------------------
// wxDataObject is the same as wxDataObjectBase under wxGTK
// ----------------------------------------------------------------------------
-class wxDataObject : public wxDataObjectBase
+class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
{
public:
wxDataObject();
PDRAGITEM m_pDataObject;
};
-#endif // _WX_MAC_DATAOBJ_H_
-
+#endif // _WX_OS2_DATAOBJ_H_
///////////////////////////////////////////////////////////////////////////////
-// Name: mac/dataobj2.h
+// Name: wx/os2/dataobj2.h
// Purpose: declaration of standard wxDataObjectSimple-derived classes
// Author: Stefan Csomor (adapted from Robert Roebling's gtk port
// Modified by:
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifndef _WX_MAC_DATAOBJ2_H_
-#define _WX_MAC_DATAOBJ2_H_
+#ifndef _WX_OS2_DATAOBJ2_H_
+#define _WX_OS2_DATAOBJ2_H_
// ----------------------------------------------------------------------------
// wxBitmapDataObject is a specialization of wxDataObject for bitmaps
// ----------------------------------------------------------------------------
-class wxBitmapDataObject : public wxBitmapDataObjectBase
+class WXDLLIMPEXP_CORE wxBitmapDataObject : public wxBitmapDataObjectBase
{
public:
// ctors
{ return(wxDataObjectSimple::SetData(rFormat, nLen, pBuf)); }
};
-#endif // _WX_MAC_DATAOBJ2_H_
-
+#endif // _WX_OS2_DATAOBJ2_H_
WXDLLEXPORT extern WXWORD wxGetWindowId(WXHWND hWnd);
// Convert a PM Error code to a string
-WXDLLEXPORT extern wxString wxPMErrorToStr(ERRORID vError);
+WXDLLIMPEXP_BASE extern wxString wxPMErrorToStr(ERRORID vError);
// Does this window style specify any border?
inline bool wxStyleHasBorder(long style)
#endif // __WXPM__
-#endif // _WX_PRIVATE_H_
+#endif // _WX_OS2_PRIVATE_H_
/////////////////////////////////////////////////////////////////////////////
-// Name: utils.cpp
+// Name: src/os2/utils.cpp
// Purpose: Various utilities
// Author: David Webster
// Modified by:
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
- #include "wx/setup.h"
#include "wx/utils.h"
#include "wx/app.h"
#endif //WX_PRECOMP
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
default:
sError = wxT("Unknown error");
}
- return(sError);
+ return sError;
} // end of wxPMErrorToStr
// replacement for implementation in unix/utilsunx.cpp,