wxWindows cvs
От | Andreas Pflug |
---|---|
Тема | wxWindows cvs |
Дата | |
Msg-id | 3F16CE9C.4000101@web.de обсуждение исходный текст |
Список | pgadmin-hackers |
Hi Dave, I checked the current wxWindows CVS, and with a few patches it seems usable.... - My string patch was screwed up, so it needs another round through sourceforge. - The wxFileSystem destructor deleted the static list of wxFileSystemHandlers, so after first usage wx couldn't handle *any* fs. - two unicode/compilation fixes for win32. Regards, Andreas RCS file: /pack/cvsroots/wxwindows/wxWindows/src/msw/crashrpt.cpp,v retrieving revision 1.4 diff -u -r1.4 crashrpt.cpp --- crashrpt.cpp 2003/07/15 23:54:37 1.4 +++ crashrpt.cpp 2003/07/17 14:02:39 @@ -1118,7 +1118,7 @@ ); wxStrncat(gs_reportFilename, fname, - WXSIZEOF(gs_reportFilename) - strlen(gs_reportFilename) - 1); + WXSIZEOF(gs_reportFilename) - wxStrlen(gs_reportFilename) - 1); } return true; RCS file: /pack/cvsroots/wxwindows/wxWindows/include/wx/event.h,v retrieving revision 1.175 diff -u -r1.175 event.h --- event.h 2003/07/12 23:08:55 1.175 +++ event.h 2003/07/17 13:54:39 @@ -93,7 +93,7 @@ #define DECLARE_EVENT_TYPE(name, value) \ DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_CORE, name, value) #define DECLARE_LOCAL_EVENT_TYPE(name, value) \ - DECLARE_EXPORTED_EVENT_TYPE(/* */, name, value) + extern const wxEventType name; #define DEFINE_EVENT_TYPE(name) const wxEventType name = wxNewEventType(); #define DEFINE_LOCAL_EVENT_TYPE(name) DEFINE_EVENT_TYPE(name) RCS file: /pack/cvsroots/wxwindows/wxWindows/include/wx/filesys.h,v retrieving revision 1.21 diff -u -r1.21 filesys.h --- filesys.h 2003/07/08 19:52:20 1.21 +++ filesys.h 2003/07/17 14:52:51 @@ -161,7 +161,7 @@ { public: wxFileSystem() : wxObject() {m_Path = m_LastName = wxEmptyString; m_FindFileHandler = NULL;} - ~wxFileSystem() { WX_CLEAR_LIST(wxList, m_Handlers); } + ~wxFileSystem() {} // sets the current location. Every call to OpenFile is // relative to this location. RCS file: /pack/cvsroots/wxwindows/wxWindows/src/common/string.cpp,v retrieving revision 1.186 diff -u -r1.186 string.cpp --- string.cpp 2003/07/15 13:46:39 1.186 +++ string.cpp 2003/07/17 15:53:54 @@ -263,8 +263,8 @@ } else { - // MB2WC wants the buffer size, not the string length hence +1 - nLen = conv.MB2WC(m_pchData, psz, nLen + 1); + // MB2WC wants the buffer size, not the string length; we'll append the zero ourselves + nLen = conv.MB2WC(m_pchData, psz, nLen); if ( nLen != (size_t)-1 )
В списке pgadmin-hackers по дате отправления: