Added OS/2 patches to wxGTK.
Updated docs. Added wxMask code. Added Sylvain's newest tree ctrl code and sample. Corrected wxDC background colour (now as wrong as wxMSW). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,6 +69,17 @@
|
||||
};
|
||||
#endif // Unices without usleep()
|
||||
|
||||
#ifdef __EMX__
|
||||
/* I copied this from the XFree86 diffs. AV. */
|
||||
extern void DosSleep(unsigned long);
|
||||
#define INCL_DOSPROCESS
|
||||
#include <os2.h>
|
||||
void usleep(unsigned long delay)
|
||||
{
|
||||
DosSleep(delay ? (delay/1000l) : 1l);
|
||||
}
|
||||
#endif
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
Reference in New Issue
Block a user