new y position transforms in dc. Def updates and add imagexpm.cpp to make.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-04-23 18:32:05 +00:00
parent cffbfebc68
commit 5fd2b2c6ae
5 changed files with 587 additions and 147 deletions

View File

@@ -30,14 +30,17 @@
#else
#include <utils.h>
#include <sys\time.h>
#include <types.h>
#include <in.h>
#include <netdb.h>
#include <nerrno.h>
#endif
#if defined(__VISAGECPP__) && __IBMCPP__ < 400
#include <machine\endian.h>
#include <socket.h>
#include <ioctl.h>
#include <select.h>
#include <unistd.h>
#else
#include <sys\socket.h>
#include <sys\ioctl.h>
@@ -1160,7 +1163,7 @@ GSocketError GAddress_INET_SetPortName(GAddress *address, const char *port,
port_int = atoi(port);
addr = (struct sockaddr_in *)address->m_addr;
addr->sin_port = htons(port_int);
// addr->sin_port = htons(port_int);
return GSOCK_NOERROR;
}
@@ -1182,7 +1185,7 @@ GSocketError GAddress_INET_SetPort(GAddress *address, unsigned short port)
CHECK_ADDRESS(address, INET, GSOCK_INVADDR);
addr = (struct sockaddr_in *)address->m_addr;
addr->sin_port = htons(port);
// addr->sin_port = htons(port);
return GSOCK_NOERROR;
}
@@ -1230,7 +1233,7 @@ unsigned short GAddress_INET_GetPort(GAddress *address)
CHECK_ADDRESS(address, INET, 0);
addr = (struct sockaddr_in *)address->m_addr;
return ntohs(addr->sin_port);
return /*ntohs*/(addr->sin_port);
}
/*