Visualage fixes for Stefan's socket implementations, some scrolling fixes and dir fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,22 +37,27 @@
|
|||||||
|
|
||||||
#include "wx/os2/private.h"
|
#include "wx/os2/private.h"
|
||||||
|
|
||||||
#if defined(__VISAGECPP__) && __IBMCPP__ < 400
|
#ifdef __EMX__
|
||||||
#include <machine\endian.h>
|
|
||||||
#include <ioctl.h>
|
|
||||||
#include <select.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#else
|
|
||||||
#include <sys\ioctl.h>
|
#include <sys\ioctl.h>
|
||||||
#include <sys\select.h>
|
#include <sys\select.h>
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#include <ioctl.h>
|
||||||
|
#include <select.h>
|
||||||
|
|
||||||
|
#endif // ndef for __EMX__
|
||||||
|
|
||||||
#ifndef __EMX__
|
#ifndef __EMX__
|
||||||
|
|
||||||
#define select(a,b,c,d,e) bsdselect(a,b,c,d,e)
|
#define select(a,b,c,d,e) bsdselect(a,b,c,d,e)
|
||||||
int _System bsdselect(int,
|
int _System bsdselect(int,
|
||||||
struct fd_set *,
|
struct fd_set *,
|
||||||
struct fd_set *,
|
struct fd_set *,
|
||||||
struct fd_set *,
|
struct fd_set *,
|
||||||
struct timeval *);
|
struct timeval *);
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
@@ -133,22 +138,34 @@ struct GsocketCallbackInfo{
|
|||||||
#define wxSockReadMask 0x01
|
#define wxSockReadMask 0x01
|
||||||
#define wxSockWriteMask 0x02
|
#define wxSockWriteMask 0x02
|
||||||
|
|
||||||
|
#ifdef __EMX__
|
||||||
extern "C"
|
extern "C"
|
||||||
int wxAppAddSocketHandler(int handle, int mask,
|
int wxAppAddSocketHandler(int handle, int mask,
|
||||||
void (*callback)(void*), void * gsock)
|
void (*callback)(void*), void * gsock)
|
||||||
{
|
{
|
||||||
return wxTheApp->AddSocketHandler(handle, mask, callback, gsock);
|
return wxTheApp->AddSocketHandler(handle, mask, callback, gsock);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
void wxAppRemoveSocketHandler(int handle)
|
void wxAppRemoveSocketHandler(int handle)
|
||||||
{
|
{
|
||||||
wxTheApp->RemoveSocketHandler(handle);
|
wxTheApp->RemoveSocketHandler(handle);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
// Linkage mode problems using callbacks with extern C in a .cpp module
|
||||||
|
int wxAppAddSocketHandler(int handle, int mask,
|
||||||
|
void (*callback)(void*), void * gsock)
|
||||||
|
{
|
||||||
|
return wxTheApp->AddSocketHandler(handle, mask, callback, gsock);
|
||||||
|
}
|
||||||
|
void wxAppRemoveSocketHandler(int handle)
|
||||||
|
{
|
||||||
|
wxTheApp->RemoveSocketHandler(handle);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void wxApp::HandleSockets()
|
void wxApp::HandleSockets()
|
||||||
{
|
{
|
||||||
bool pendingEvent = false;
|
bool pendingEvent = FALSE;
|
||||||
|
|
||||||
// Check whether it's time for Gsocket operation
|
// Check whether it's time for Gsocket operation
|
||||||
if (m_maxSocketHandles > 0 && m_maxSocketNr > 0)
|
if (m_maxSocketHandles > 0 && m_maxSocketNr > 0)
|
||||||
@@ -179,7 +196,7 @@ void wxApp::HandleSockets()
|
|||||||
if (r < m_maxSocketHandles)
|
if (r < m_maxSocketHandles)
|
||||||
{
|
{
|
||||||
CallbackInfo[r].proc(CallbackInfo[r].gsock);
|
CallbackInfo[r].proc(CallbackInfo[r].gsock);
|
||||||
pendingEvent = true;
|
pendingEvent = TRUE;
|
||||||
wxYield();
|
wxYield();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -193,7 +210,7 @@ void wxApp::HandleSockets()
|
|||||||
if (r < m_maxSocketHandles)
|
if (r < m_maxSocketHandles)
|
||||||
{
|
{
|
||||||
CallbackInfo[r].proc(CallbackInfo[r].gsock);
|
CallbackInfo[r].proc(CallbackInfo[r].gsock);
|
||||||
pendingEvent = true;
|
pendingEvent = TRUE;
|
||||||
wxYield();
|
wxYield();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -160,6 +160,7 @@ public:
|
|||||||
void SetFileSpec(const wxString& rsFilespec) { m_sFilespec = rsFilespec; }
|
void SetFileSpec(const wxString& rsFilespec) { m_sFilespec = rsFilespec; }
|
||||||
void SetFlags(int nFlags) { m_nFlags = nFlags; }
|
void SetFlags(int nFlags) { m_nFlags = nFlags; }
|
||||||
|
|
||||||
|
const wxString& GetName() const { return m_sDirname; }
|
||||||
void Close();
|
void Close();
|
||||||
void Rewind();
|
void Rewind();
|
||||||
bool Read(wxString* rsFilename);
|
bool Read(wxString* rsFilename);
|
||||||
@@ -348,6 +349,28 @@ bool wxDir::IsOpened() const
|
|||||||
return m_data != NULL;
|
return m_data != NULL;
|
||||||
} // end of wxDir::IsOpen
|
} // end of wxDir::IsOpen
|
||||||
|
|
||||||
|
wxString wxDir::GetName() const
|
||||||
|
{
|
||||||
|
wxString name;
|
||||||
|
if ( m_data )
|
||||||
|
{
|
||||||
|
name = M_DIR->GetName();
|
||||||
|
if ( !name.empty() )
|
||||||
|
{
|
||||||
|
// bring to canonical Windows form
|
||||||
|
name.Replace(_T("/"), _T("\\"));
|
||||||
|
|
||||||
|
if ( name.Last() == _T('\\') )
|
||||||
|
{
|
||||||
|
// chop off the last (back)slash
|
||||||
|
name.Truncate(name.length() - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
wxDir::~wxDir()
|
wxDir::~wxDir()
|
||||||
{
|
{
|
||||||
delete M_DIR;
|
delete M_DIR;
|
||||||
|
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <sys\types.h>
|
#include <sys\types.h>
|
||||||
|
|
||||||
#ifdef __EMX__
|
#ifdef __EMX__
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
@@ -38,24 +39,34 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
#define HAVE_INET_ADDR
|
#define HAVE_INET_ADDR
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <utils.h>
|
#include <utils.h>
|
||||||
#include <sys\time.h>
|
#include <sys\time.h>
|
||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <in.h>
|
#include <in.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <nerrno.h>
|
#include <nerrno.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__VISAGECPP__) && __IBMCPP__ < 400
|
#if defined(__VISAGECPP__) && __IBMCPP__ < 400
|
||||||
|
|
||||||
#include <machine\endian.h>
|
#include <machine\endian.h>
|
||||||
#include <socket.h>
|
#include <socket.h>
|
||||||
#include <ioctl.h>
|
#include <ioctl.h>
|
||||||
#include <select.h>
|
#include <select.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#define EBADF SOCEBADF
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <sys\socket.h>
|
#include <sys\socket.h>
|
||||||
#include <sys\ioctl.h>
|
#include <sys\ioctl.h>
|
||||||
#include <sys\select.h>
|
#include <sys\select.h>
|
||||||
|
|
||||||
#ifdef __EMX__
|
#ifdef __EMX__
|
||||||
#define soclose(a) close(a)
|
#define soclose(a) close(a)
|
||||||
#else
|
#else
|
||||||
@@ -1181,10 +1192,13 @@ int _GSocket_Send_Stream(GSocket *socket, const char *buffer, int size)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
#ifdef __EMX__
|
||||||
MASK_SIGNAL();
|
MASK_SIGNAL();
|
||||||
ret = send(socket->m_fd, buffer, size, 0);
|
ret = send(socket->m_fd, buffer, size, 0);
|
||||||
UNMASK_SIGNAL();
|
UNMASK_SIGNAL();
|
||||||
|
#else
|
||||||
|
ret = send(socket->m_fd, buffer, size, 0);
|
||||||
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1207,9 +1221,13 @@ int _GSocket_Send_Dgram(GSocket *socket, const char *buffer, int size)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __EMX__
|
||||||
MASK_SIGNAL();
|
MASK_SIGNAL();
|
||||||
ret = sendto(socket->m_fd, buffer, size, 0, addr, len);
|
ret = sendto(socket->m_fd, buffer, size, 0, addr, len);
|
||||||
UNMASK_SIGNAL();
|
UNMASK_SIGNAL();
|
||||||
|
#else
|
||||||
|
ret = sendto(socket->m_fd, buffer, size, 0, addr, len);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Frees memory allocated from _GAddress_translate_to */
|
/* Frees memory allocated from _GAddress_translate_to */
|
||||||
free(addr);
|
free(addr);
|
||||||
@@ -1471,11 +1489,13 @@ GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
|
|||||||
if (inet_aton(hostname, addr) == 0)
|
if (inet_aton(hostname, addr) == 0)
|
||||||
{
|
{
|
||||||
#elif defined(HAVE_INET_ADDR)
|
#elif defined(HAVE_INET_ADDR)
|
||||||
if ( (addr->s_addr = inet_addr(hostname)) == -1 )
|
addr->s_addr = inet_addr(hostname);
|
||||||
|
if ( (addr->s_addr == -1 )
|
||||||
{
|
{
|
||||||
#else
|
#else
|
||||||
/* Use gethostbyname by default */
|
/* Use gethostbyname by default */
|
||||||
if (1)
|
int val = 1; //VA doesn't like constants in conditional expressions at all
|
||||||
|
if (val)
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
struct in_addr *array_addr;
|
struct in_addr *array_addr;
|
||||||
|
@@ -202,6 +202,7 @@ COMMONOBJS = \
|
|||||||
..\common\$D\dbtable.obj \
|
..\common\$D\dbtable.obj \
|
||||||
!endif
|
!endif
|
||||||
..\common\$D\dcbase.obj \
|
..\common\$D\dcbase.obj \
|
||||||
|
..\common\$D\dircmn.obj \
|
||||||
..\common\$D\dlgcmn.obj \
|
..\common\$D\dlgcmn.obj \
|
||||||
..\common\$D\dndcmn.obj \
|
..\common\$D\dndcmn.obj \
|
||||||
..\common\$D\dobjcmn.obj \
|
..\common\$D\dobjcmn.obj \
|
||||||
@@ -315,6 +316,7 @@ COMLIBOBJS1 = \
|
|||||||
db.obj \
|
db.obj \
|
||||||
dbtable.obj \
|
dbtable.obj \
|
||||||
dcbase.obj \
|
dcbase.obj \
|
||||||
|
dircmn.obj \
|
||||||
dndcmn.obj \
|
dndcmn.obj \
|
||||||
dlgcmn.obj \
|
dlgcmn.obj \
|
||||||
dobjcmn.obj \
|
dobjcmn.obj \
|
||||||
@@ -343,10 +345,10 @@ COMLIBOBJS1 = \
|
|||||||
geometry.obj \
|
geometry.obj \
|
||||||
gifdecod.obj \
|
gifdecod.obj \
|
||||||
hash.obj \
|
hash.obj \
|
||||||
helpbase.obj \
|
helpbase.obj
|
||||||
http.obj
|
|
||||||
|
|
||||||
COMLIBOBJS2 = \
|
COMLIBOBJS2 = \
|
||||||
|
http.obj \
|
||||||
imagall.obj \
|
imagall.obj \
|
||||||
imagbmp.obj \
|
imagbmp.obj \
|
||||||
image.obj \
|
image.obj \
|
||||||
@@ -387,10 +389,10 @@ COMLIBOBJS2 = \
|
|||||||
sizer.obj \
|
sizer.obj \
|
||||||
socket.obj \
|
socket.obj \
|
||||||
strconv.obj \
|
strconv.obj \
|
||||||
stream.obj \
|
stream.obj
|
||||||
string.obj
|
|
||||||
|
|
||||||
COMLIBOBJS3 = \
|
COMLIBOBJS3 = \
|
||||||
|
string.obj \
|
||||||
tbarbase.obj \
|
tbarbase.obj \
|
||||||
textcmn.obj \
|
textcmn.obj \
|
||||||
textfile.obj \
|
textfile.obj \
|
||||||
@@ -450,6 +452,7 @@ OS2OBJS = \
|
|||||||
..\os2\$D\gdiimage.obj \
|
..\os2\$D\gdiimage.obj \
|
||||||
..\os2\$D\gdiobj.obj \
|
..\os2\$D\gdiobj.obj \
|
||||||
..\os2\$D\gsocket.obj \
|
..\os2\$D\gsocket.obj \
|
||||||
|
..\os2\$D\gsockpm.obj \
|
||||||
..\os2\$D\helpwin.obj \
|
..\os2\$D\helpwin.obj \
|
||||||
..\os2\$D\icon.obj \
|
..\os2\$D\icon.obj \
|
||||||
..\os2\$D\iniconf.obj \
|
..\os2\$D\iniconf.obj \
|
||||||
@@ -531,6 +534,7 @@ OS2LIBOBJS1 = \
|
|||||||
gdiimage.obj \
|
gdiimage.obj \
|
||||||
gdiobj.obj \
|
gdiobj.obj \
|
||||||
gsocket.obj \
|
gsocket.obj \
|
||||||
|
gsockpm.obj \
|
||||||
helpwin.obj \
|
helpwin.obj \
|
||||||
icon.obj \
|
icon.obj \
|
||||||
iniconf.obj \
|
iniconf.obj \
|
||||||
@@ -539,10 +543,10 @@ OS2LIBOBJS1 = \
|
|||||||
main.obj \
|
main.obj \
|
||||||
mdi.obj \
|
mdi.obj \
|
||||||
menu.obj \
|
menu.obj \
|
||||||
menuitem.obj \
|
menuitem.obj
|
||||||
metafile.obj
|
|
||||||
|
|
||||||
OS2LIBOBJS2 = \
|
OS2LIBOBJS2 = \
|
||||||
|
metafile.obj \
|
||||||
mimetype.obj \
|
mimetype.obj \
|
||||||
minifram.obj \
|
minifram.obj \
|
||||||
msgdlg.obj \
|
msgdlg.obj \
|
||||||
@@ -656,6 +660,7 @@ $(COMLIBOBJS1):
|
|||||||
copy ..\common\$D\dbtable.obj
|
copy ..\common\$D\dbtable.obj
|
||||||
copy ..\common\$D\dcbase.obj
|
copy ..\common\$D\dcbase.obj
|
||||||
copy ..\common\$D\dlgcmn.obj
|
copy ..\common\$D\dlgcmn.obj
|
||||||
|
copy ..\common\$D\dircmn.obj
|
||||||
copy ..\common\$D\dndcmn.obj
|
copy ..\common\$D\dndcmn.obj
|
||||||
copy ..\common\$D\dobjcmn.obj
|
copy ..\common\$D\dobjcmn.obj
|
||||||
copy ..\common\$D\docmdi.obj
|
copy ..\common\$D\docmdi.obj
|
||||||
@@ -684,9 +689,9 @@ $(COMLIBOBJS1):
|
|||||||
copy ..\common\$D\gifdecod.obj
|
copy ..\common\$D\gifdecod.obj
|
||||||
copy ..\common\$D\hash.obj
|
copy ..\common\$D\hash.obj
|
||||||
copy ..\common\$D\helpbase.obj
|
copy ..\common\$D\helpbase.obj
|
||||||
copy ..\common\$D\http.obj
|
|
||||||
|
|
||||||
$(COMLIBOBJS2):
|
$(COMLIBOBJS2):
|
||||||
|
copy ..\common\$D\http.obj
|
||||||
copy ..\common\$D\imagall.obj
|
copy ..\common\$D\imagall.obj
|
||||||
copy ..\common\$D\imagbmp.obj
|
copy ..\common\$D\imagbmp.obj
|
||||||
copy ..\common\$D\image.obj
|
copy ..\common\$D\image.obj
|
||||||
@@ -728,9 +733,9 @@ $(COMLIBOBJS2):
|
|||||||
copy ..\common\$D\socket.obj
|
copy ..\common\$D\socket.obj
|
||||||
copy ..\common\$D\strconv.obj
|
copy ..\common\$D\strconv.obj
|
||||||
copy ..\common\$D\stream.obj
|
copy ..\common\$D\stream.obj
|
||||||
copy ..\common\$D\string.obj
|
|
||||||
|
|
||||||
$(COMLIBOBJS3):
|
$(COMLIBOBJS3):
|
||||||
|
copy ..\common\$D\string.obj
|
||||||
copy ..\common\$D\tbarbase.obj
|
copy ..\common\$D\tbarbase.obj
|
||||||
copy ..\common\$D\textcmn.obj
|
copy ..\common\$D\textcmn.obj
|
||||||
copy ..\common\$D\textfile.obj
|
copy ..\common\$D\textfile.obj
|
||||||
@@ -853,6 +858,7 @@ $(OS2LIBOBJS1):
|
|||||||
copy ..\os2\$D\gdiimage.obj
|
copy ..\os2\$D\gdiimage.obj
|
||||||
copy ..\os2\$D\gdiobj.obj
|
copy ..\os2\$D\gdiobj.obj
|
||||||
copy ..\os2\$D\gsocket.obj
|
copy ..\os2\$D\gsocket.obj
|
||||||
|
copy ..\os2\$D\gsockpm.obj
|
||||||
copy ..\os2\$D\helpwin.obj
|
copy ..\os2\$D\helpwin.obj
|
||||||
copy ..\os2\$D\icon.obj
|
copy ..\os2\$D\icon.obj
|
||||||
copy ..\os2\$D\iniconf.obj
|
copy ..\os2\$D\iniconf.obj
|
||||||
@@ -862,9 +868,9 @@ $(OS2LIBOBJS1):
|
|||||||
copy ..\os2\$D\mdi.obj
|
copy ..\os2\$D\mdi.obj
|
||||||
copy ..\os2\$D\menu.obj
|
copy ..\os2\$D\menu.obj
|
||||||
copy ..\os2\$D\menuitem.obj
|
copy ..\os2\$D\menuitem.obj
|
||||||
copy ..\os2\$D\metafile.obj
|
|
||||||
|
|
||||||
$(OS2LIBOBJS2):
|
$(OS2LIBOBJS2):
|
||||||
|
copy ..\os2\$D\metafile.obj
|
||||||
copy ..\os2\$D\mimetype.obj
|
copy ..\os2\$D\mimetype.obj
|
||||||
copy ..\os2\$D\minifram.obj
|
copy ..\os2\$D\minifram.obj
|
||||||
copy ..\os2\$D\msgdlg.obj
|
copy ..\os2\$D\msgdlg.obj
|
||||||
|
@@ -35,6 +35,30 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
//
|
||||||
|
// already defined via nerror.h in app.h so undef them
|
||||||
|
//
|
||||||
|
#ifdef EEXIST
|
||||||
|
#undef EEXIST
|
||||||
|
#endif
|
||||||
|
#ifdef ENOENT
|
||||||
|
#undef ENOENT
|
||||||
|
#endif
|
||||||
|
#ifdef EMFILE
|
||||||
|
#undef EMFILE
|
||||||
|
#endif
|
||||||
|
#ifdef EINTR
|
||||||
|
#undef EINTR
|
||||||
|
#endif
|
||||||
|
#ifdef EINVAL
|
||||||
|
#undef EINVAL
|
||||||
|
#endif
|
||||||
|
#ifdef ENOMEM
|
||||||
|
#undef ENOMEM
|
||||||
|
#endif
|
||||||
|
#ifdef EACCES
|
||||||
|
#undef EACCES
|
||||||
|
#endif
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
@@ -43,6 +43,30 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
//
|
||||||
|
// already defined via nerror.h in app.h so undef them
|
||||||
|
//
|
||||||
|
#ifdef EEXIST
|
||||||
|
#undef EEXIST
|
||||||
|
#endif
|
||||||
|
#ifdef ENOENT
|
||||||
|
#undef ENOENT
|
||||||
|
#endif
|
||||||
|
#ifdef EMFILE
|
||||||
|
#undef EMFILE
|
||||||
|
#endif
|
||||||
|
#ifdef EINTR
|
||||||
|
#undef EINTR
|
||||||
|
#endif
|
||||||
|
#ifdef EINVAL
|
||||||
|
#undef EINVAL
|
||||||
|
#endif
|
||||||
|
#ifdef ENOMEM
|
||||||
|
#undef ENOMEM
|
||||||
|
#endif
|
||||||
|
#ifdef EACCES
|
||||||
|
#undef EACCES
|
||||||
|
#endif
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
@@ -369,14 +369,6 @@ bool wxWindow::Create(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
nTempy = pParent->GetSize().y - (vPos.y + rSize.y);
|
nTempy = pParent->GetSize().y - (vPos.y + rSize.y);
|
||||||
#if 0
|
|
||||||
if (nTempy < 0)
|
|
||||||
{
|
|
||||||
nTempy = pParent->GetSize().y + (vPos.y + rSize.y);
|
|
||||||
pParent->SetSize(0, 0, pParent->GetSize().x, nTempy);
|
|
||||||
nTempy = pParent->GetSize().y - (vPos.y + rSize.y);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
vPos.y = nTempy;
|
vPos.y = nTempy;
|
||||||
if ( pParent->IsKindOf(CLASSINFO(wxGenericScrolledWindow)) ||
|
if ( pParent->IsKindOf(CLASSINFO(wxGenericScrolledWindow)) ||
|
||||||
pParent->IsKindOf(CLASSINFO(wxScrolledWindow))
|
pParent->IsKindOf(CLASSINFO(wxScrolledWindow))
|
||||||
|
@@ -4,7 +4,7 @@ DATA MULTIPLE NONSHARED READWRITE LOADONCALL
|
|||||||
CODE LOADONCALL
|
CODE LOADONCALL
|
||||||
|
|
||||||
EXPORTS
|
EXPORTS
|
||||||
;From library: F:\DEV\WX2\WXWINDOWS\LIB\WX.lib
|
;From library: H:\Dev\Wx2\WxWindows\lib\wx.lib
|
||||||
;From object file: dummy.cpp
|
;From object file: dummy.cpp
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
wxDummyChar
|
wxDummyChar
|
||||||
@@ -746,6 +746,12 @@ EXPORTS
|
|||||||
wx_spline_push__FdN71
|
wx_spline_push__FdN71
|
||||||
;wx_spline_pop(double*,double*,double*,double*,double*,double*,double*,double*)
|
;wx_spline_pop(double*,double*,double*,double*,double*,double*,double*,double*)
|
||||||
wx_spline_pop__FPdN71
|
wx_spline_pop__FPdN71
|
||||||
|
;From object file: ..\common\dircmn.cpp
|
||||||
|
;PUBDEFs (Symbols available from object file):
|
||||||
|
;wxDir::GetAllFiles(const wxString&,wxArrayString*,const wxString&,int)
|
||||||
|
GetAllFiles__5wxDirFRC8wxStringP13wxArrayStringT1i
|
||||||
|
;wxDir::Traverse(wxDirTraverser&,const wxString&,int) const
|
||||||
|
Traverse__5wxDirCFR14wxDirTraverserRC8wxStringi
|
||||||
;From object file: ..\common\dndcmn.cpp
|
;From object file: ..\common\dndcmn.cpp
|
||||||
;From object file: ..\common\dlgcmn.cpp
|
;From object file: ..\common\dlgcmn.cpp
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
@@ -1491,6 +1497,8 @@ EXPORTS
|
|||||||
wxConstructorForwxPaintEvent__Fv
|
wxConstructorForwxPaintEvent__Fv
|
||||||
;wxConstructorForwxNotifyEvent()
|
;wxConstructorForwxNotifyEvent()
|
||||||
wxConstructorForwxNotifyEvent__Fv
|
wxConstructorForwxNotifyEvent__Fv
|
||||||
|
;wxConstructorForwxContextMenuEvent()
|
||||||
|
wxConstructorForwxContextMenuEvent__Fv
|
||||||
;wxConstructorForwxCloseEvent()
|
;wxConstructorForwxCloseEvent()
|
||||||
wxConstructorForwxCloseEvent__Fv
|
wxConstructorForwxCloseEvent__Fv
|
||||||
;wxEvtHandler::sm_classwxEvtHandler
|
;wxEvtHandler::sm_classwxEvtHandler
|
||||||
@@ -1616,6 +1624,8 @@ EXPORTS
|
|||||||
sm_classwxIdleEvent__11wxIdleEvent
|
sm_classwxIdleEvent__11wxIdleEvent
|
||||||
;wxDropFilesEvent::sm_classwxDropFilesEvent
|
;wxDropFilesEvent::sm_classwxDropFilesEvent
|
||||||
sm_classwxDropFilesEvent__16wxDropFilesEvent
|
sm_classwxDropFilesEvent__16wxDropFilesEvent
|
||||||
|
;wxContextMenuEvent::sm_classwxContextMenuEvent
|
||||||
|
sm_classwxContextMenuEvent__18wxContextMenuEvent
|
||||||
;wxActivateEvent::sm_classwxActivateEvent
|
;wxActivateEvent::sm_classwxActivateEvent
|
||||||
sm_classwxActivateEvent__15wxActivateEvent
|
sm_classwxActivateEvent__15wxActivateEvent
|
||||||
__vft15wxUpdateUIEvent8wxObject
|
__vft15wxUpdateUIEvent8wxObject
|
||||||
@@ -1652,7 +1662,7 @@ EXPORTS
|
|||||||
wxEVT_NC_LEFT_DCLICK
|
wxEVT_NC_LEFT_DCLICK
|
||||||
wxEVT_INIT_DIALOG
|
wxEVT_INIT_DIALOG
|
||||||
wxEVT_COMMAND_SET_FOCUS
|
wxEVT_COMMAND_SET_FOCUS
|
||||||
;From object file: F:\DEV\WX2\WXWINDOWS\src\common\extended.c
|
;From object file: H:\DEV\WX2\WXWINDOWS\src\common\extended.c
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
ConvertToIeeeExtended
|
ConvertToIeeeExtended
|
||||||
ConvertFromIeeeExtended
|
ConvertFromIeeeExtended
|
||||||
@@ -2720,14 +2730,14 @@ EXPORTS
|
|||||||
GetImageCount__14wxImageHandlerFR13wxInputStream
|
GetImageCount__14wxImageHandlerFR13wxInputStream
|
||||||
;wxImage::ConvertToMono(unsigned char,unsigned char,unsigned char) const
|
;wxImage::ConvertToMono(unsigned char,unsigned char,unsigned char) const
|
||||||
ConvertToMono__7wxImageCFUcN21
|
ConvertToMono__7wxImageCFUcN21
|
||||||
;wxImage::ConvertToBitmap() const
|
;wxImage::GetHeight() const
|
||||||
ConvertToBitmap__7wxImageCFv
|
GetHeight__7wxImageCFv
|
||||||
;wxImage::SetData(unsigned char*,int,int)
|
;wxImage::SetData(unsigned char*,int,int)
|
||||||
SetData__7wxImageFPUciT2
|
SetData__7wxImageFPUciT2
|
||||||
;wxImage::GetMaskBlue() const
|
;wxImage::GetMaskBlue() const
|
||||||
GetMaskBlue__7wxImageCFv
|
GetMaskBlue__7wxImageCFv
|
||||||
;wxImage::GetHeight() const
|
;wxImage::ConvertToBitmap() const
|
||||||
GetHeight__7wxImageCFv
|
ConvertToBitmap__7wxImageCFv
|
||||||
;wxImage::CleanUpHandlers()
|
;wxImage::CleanUpHandlers()
|
||||||
CleanUpHandlers__7wxImageFv
|
CleanUpHandlers__7wxImageFv
|
||||||
;wxImageHandler::CanRead(const wxString&)
|
;wxImageHandler::CanRead(const wxString&)
|
||||||
@@ -3115,6 +3125,8 @@ EXPORTS
|
|||||||
wxLogTrace__FUlPCce
|
wxLogTrace__FUlPCce
|
||||||
;wxLogStatus(const char*,...)
|
;wxLogStatus(const char*,...)
|
||||||
wxLogStatus__FPCce
|
wxLogStatus__FPCce
|
||||||
|
;wxLog::ClearTraceMasks()
|
||||||
|
ClearTraceMasks__5wxLogFv
|
||||||
;wxLog::RemoveTraceMask(const wxString&)
|
;wxLog::RemoveTraceMask(const wxString&)
|
||||||
RemoveTraceMask__5wxLogFRC8wxString
|
RemoveTraceMask__5wxLogFRC8wxString
|
||||||
;wxSysErrorMsg(unsigned long)
|
;wxSysErrorMsg(unsigned long)
|
||||||
@@ -3127,6 +3139,8 @@ EXPORTS
|
|||||||
wxLogTrace__FPCcT1e
|
wxLogTrace__FPCcT1e
|
||||||
;wxLogSysError(const char*,...)
|
;wxLogSysError(const char*,...)
|
||||||
wxLogSysError__FPCce
|
wxLogSysError__FPCce
|
||||||
|
;wxLog::DontCreateOnDemand()
|
||||||
|
DontCreateOnDemand__5wxLogFv
|
||||||
;Trap()
|
;Trap()
|
||||||
Trap__Fv
|
Trap__Fv
|
||||||
;wxLog::TimeStamp(wxString*)
|
;wxLog::TimeStamp(wxString*)
|
||||||
@@ -5263,7 +5277,7 @@ EXPORTS
|
|||||||
Read32__17wxTextInputStreamFv
|
Read32__17wxTextInputStreamFv
|
||||||
;wxTextInputStream::SkipIfEndOfLine(char)
|
;wxTextInputStream::SkipIfEndOfLine(char)
|
||||||
SkipIfEndOfLine__17wxTextInputStreamFc
|
SkipIfEndOfLine__17wxTextInputStreamFc
|
||||||
;From object file: F:\DEV\WX2\WXWINDOWS\src\common\unzip.c
|
;From object file: H:\DEV\WX2\WXWINDOWS\src\common\unzip.c
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
unzReadCurrentFile
|
unzReadCurrentFile
|
||||||
unzGetCurrentFileInfo
|
unzGetCurrentFileInfo
|
||||||
@@ -10253,11 +10267,15 @@ EXPORTS
|
|||||||
wxTheApp
|
wxTheApp
|
||||||
;wxApp::sm_classwxApp
|
;wxApp::sm_classwxApp
|
||||||
sm_classwxApp__5wxApp
|
sm_classwxApp__5wxApp
|
||||||
;wxConstructorForwxApp()
|
;wxAppRemoveSocketHandler(int)
|
||||||
wxConstructorForwxApp__Fv
|
wxAppRemoveSocketHandler__Fi
|
||||||
|
;wxAppAddSocketHandler(int,int,void(*)(void*),void*)
|
||||||
|
wxAppAddSocketHandler__FiT1PFPv_vPv
|
||||||
;wxWakeUpIdle()
|
;wxWakeUpIdle()
|
||||||
wxWakeUpIdle__Fv
|
wxWakeUpIdle__Fv
|
||||||
wxSTD_MDICHILDFRAME_ICON
|
wxSTD_MDICHILDFRAME_ICON
|
||||||
|
;wxConstructorForwxApp()
|
||||||
|
wxConstructorForwxApp__Fv
|
||||||
vHabmain
|
vHabmain
|
||||||
;wxApp::~wxApp()
|
;wxApp::~wxApp()
|
||||||
__dt__5wxAppFv
|
__dt__5wxAppFv
|
||||||
@@ -10265,6 +10283,8 @@ EXPORTS
|
|||||||
Pending__5wxAppFv
|
Pending__5wxAppFv
|
||||||
;wxApp::DeletePendingObjects()
|
;wxApp::DeletePendingObjects()
|
||||||
DeletePendingObjects__5wxAppFv
|
DeletePendingObjects__5wxAppFv
|
||||||
|
;wxApp::AddSocketHandler(int,int,void(*)(void*),void*)
|
||||||
|
AddSocketHandler__5wxAppFiT1PFPv_vPv
|
||||||
CANTREGISTERCLASS
|
CANTREGISTERCLASS
|
||||||
;wxApp::RegisterWindowClasses(unsigned long)
|
;wxApp::RegisterWindowClasses(unsigned long)
|
||||||
RegisterWindowClasses__5wxAppFUl
|
RegisterWindowClasses__5wxAppFUl
|
||||||
@@ -10278,11 +10298,13 @@ EXPORTS
|
|||||||
wxMDIFrameClassName
|
wxMDIFrameClassName
|
||||||
;wxMsgArray::Insert(const _QMSG&,unsigned int)
|
;wxMsgArray::Insert(const _QMSG&,unsigned int)
|
||||||
Insert__10wxMsgArrayFRC5_QMSGUi
|
Insert__10wxMsgArrayFRC5_QMSGUi
|
||||||
;wxApp::wxApp()
|
;wxApp::HandleSockets()
|
||||||
__ct__5wxAppFv
|
HandleSockets__5wxAppFv
|
||||||
;wxYieldIfNeeded()
|
;wxYieldIfNeeded()
|
||||||
wxYieldIfNeeded__Fv
|
wxYieldIfNeeded__Fv
|
||||||
wxDEFAULT_MDIPARENTFRAME_ICON
|
wxDEFAULT_MDIPARENTFRAME_ICON
|
||||||
|
;wxApp::wxApp()
|
||||||
|
__ct__5wxAppFv
|
||||||
;wxApp::SendIdleEvents()
|
;wxApp::SendIdleEvents()
|
||||||
SendIdleEvents__5wxAppFv
|
SendIdleEvents__5wxAppFv
|
||||||
;wxApp::ProcessMessage(void**)
|
;wxApp::ProcessMessage(void**)
|
||||||
@@ -10298,6 +10320,8 @@ EXPORTS
|
|||||||
DoCopy__10wxMsgArrayFRC10wxMsgArray
|
DoCopy__10wxMsgArrayFRC10wxMsgArray
|
||||||
;wxMsgArray::operator=(const wxMsgArray&)
|
;wxMsgArray::operator=(const wxMsgArray&)
|
||||||
__as__10wxMsgArrayFRC10wxMsgArray
|
__as__10wxMsgArrayFRC10wxMsgArray
|
||||||
|
;wxApp::RemoveSocketHandler(int)
|
||||||
|
RemoveSocketHandler__5wxAppFi
|
||||||
;wxYield()
|
;wxYield()
|
||||||
wxYield__Fv
|
wxYield__Fv
|
||||||
wxSTD_FRAME_ICON
|
wxSTD_FRAME_ICON
|
||||||
@@ -11301,6 +11325,8 @@ EXPORTS
|
|||||||
__ct__9wxDirDataFRC8wxString
|
__ct__9wxDirDataFRC8wxString
|
||||||
;wxDir::Open(const wxString&)
|
;wxDir::Open(const wxString&)
|
||||||
Open__5wxDirFRC8wxString
|
Open__5wxDirFRC8wxString
|
||||||
|
;wxDir::GetName() const
|
||||||
|
GetName__5wxDirCFv
|
||||||
;From object file: ..\os2\dirdlg.cpp
|
;From object file: ..\os2\dirdlg.cpp
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
;wxDirDialog::sm_classwxDirDialog
|
;wxDirDialog::sm_classwxDirDialog
|
||||||
@@ -11671,8 +11697,6 @@ EXPORTS
|
|||||||
GSocket_Shutdown
|
GSocket_Shutdown
|
||||||
GSocket_GetPeer
|
GSocket_GetPeer
|
||||||
GAddress_new
|
GAddress_new
|
||||||
;_GAddress_Init_UNIX(_GAddress*)
|
|
||||||
_GAddress_Init_UNIX__FP9_GAddress
|
|
||||||
GSocket_SetNonBlocking
|
GSocket_SetNonBlocking
|
||||||
GAddress_INET_SetAnyAddress
|
GAddress_INET_SetAnyAddress
|
||||||
GAddress_INET_GetHostAddress
|
GAddress_INET_GetHostAddress
|
||||||
@@ -11684,7 +11708,6 @@ EXPORTS
|
|||||||
_GAddress_Init_INET
|
_GAddress_Init_INET
|
||||||
GSocket_Read
|
GSocket_Read
|
||||||
GSocket_Connect
|
GSocket_Connect
|
||||||
GAddress_UNIX_GetPath
|
|
||||||
GAddress_INET_GetPort
|
GAddress_INET_GetPort
|
||||||
GSocket_destroy
|
GSocket_destroy
|
||||||
_GAddress_translate_from
|
_GAddress_translate_from
|
||||||
@@ -11698,7 +11721,6 @@ EXPORTS
|
|||||||
_GSocket_Output_Timeout
|
_GSocket_Output_Timeout
|
||||||
_GSocket_Detected_Read
|
_GSocket_Detected_Read
|
||||||
GSocket_SetTimeout
|
GSocket_SetTimeout
|
||||||
GAddress_UNIX_SetPath
|
|
||||||
GAddress_INET_SetPort
|
GAddress_INET_SetPort
|
||||||
_GSocket_Recv_Stream
|
_GSocket_Recv_Stream
|
||||||
_GSocket_Detected_Write
|
_GSocket_Detected_Write
|
||||||
@@ -11707,6 +11729,14 @@ EXPORTS
|
|||||||
GSocket_SetServer
|
GSocket_SetServer
|
||||||
GSocket_UnsetCallback
|
GSocket_UnsetCallback
|
||||||
_GAddress_translate_to
|
_GAddress_translate_to
|
||||||
|
;From object file: ..\os2\gsockpm.c
|
||||||
|
;PUBDEFs (Symbols available from object file):
|
||||||
|
_GSocket_GUI_Destroy
|
||||||
|
_GSocket_Install_Callback
|
||||||
|
_GSocket_Disable_Events
|
||||||
|
_GSocket_GUI_Init
|
||||||
|
_GSocket_Uninstall_Callback
|
||||||
|
_GSocket_Enable_Events
|
||||||
;From object file: ..\os2\helpwin.cpp
|
;From object file: ..\os2\helpwin.cpp
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
;wxWinHelpController::Initialize(const wxString&)
|
;wxWinHelpController::Initialize(const wxString&)
|
||||||
|
Reference in New Issue
Block a user