Added a bug report; C++Builder compile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-11-11 11:01:28 +00:00
parent 1c6fb09fe2
commit cf1d22d685
3 changed files with 28 additions and 2 deletions

View File

@@ -88,6 +88,21 @@ PLATFORMS: wxGTK
DATE IDENTIFIED: 10/11/1999 DATE IDENTIFIED: 10/11/1999
IDENTIFIED BY: Jonathan Brown <jbrown@sso.sytexinc.com> IDENTIFIED BY: Jonathan Brown <jbrown@sso.sytexinc.com>
BUG NUMBER: 5
SHORT DESCRIPTION: no vertical space inside wxHTML
DETAILS: We are working on making a demonstration of projects we do here
using Python & wxWindows & HTML (wxPython/wxHTML thus). We 'd like to
have the opportunity to specify vertical space, eg <br><br>, or <p><p>
in HTML. These constructs currently do not work. I looked in the source
code (nice job btw), but am not sure where to hack the solution. I
am willing to discuss this in more detail.
WORKAROUND: Create a transparent gif of 1x1 pixel and use width & height
to fool the renderer
wxWINDOWS VERSION: wxWindows 2.1.11
PLATFORMS: Windows + Python 1.5
DATE IDENTIFIED: 10/11/1999
IDENTIFIED BY: A.T.Hofkamp
---------------------------END OF BUGLIST------------------------- ---------------------------END OF BUGLIST-------------------------

View File

@@ -411,6 +411,13 @@
#define wxUSE_ODBC 0 #define wxUSE_ODBC 0
#endif #endif
// With C++Builder we get lots of doubly-defined symbols
// when including both winsock.h and winsock2.h
#if defined(__BORLANDC__) && (__BORLANDC__ == 0x530)
#undef wxUSE_SOCKETS
#undef wxUSE_SOCKETS 0
#endif
#if defined(__WXMSW__) && defined(__WATCOMC__) #if defined(__WXMSW__) && defined(__WATCOMC__)
#undef wxUSE_LIBJPEG #undef wxUSE_LIBJPEG
#define wxUSE_LIBJPEG 0 #define wxUSE_LIBJPEG 0

View File

@@ -169,15 +169,19 @@ typedef _TUCHAR wxUChar;
# endif # endif
// wchar_t is available // wchar_t is available
# undef wxUSE_WCHAR_T # undef wxUSE_WCHAR_T
// This test is for C++Builder
#if __BORLANDC__ == 0x530
# define wxUSE_WCHAR_T 0
#elif
# define wxUSE_WCHAR_T 1 # define wxUSE_WCHAR_T 1
# define wxNEED_WCSLEN
#endif
# define wxNEED_WX_CTYPE_H # define wxNEED_WX_CTYPE_H
// #define wxStrtok strtok_r // Borland C++ 4.52 doesn't have strtok_r // #define wxStrtok strtok_r // Borland C++ 4.52 doesn't have strtok_r
# define wxNEED_WX_STRING_H # define wxNEED_WX_STRING_H
# define wxNEED_WX_STDIO_H # define wxNEED_WX_STDIO_H
# define wxNEED_WX_STDLIB_H # define wxNEED_WX_STDLIB_H
# define wxNEED_WX_TIME_H # define wxNEED_WX_TIME_H
# define wxNEED_WCSLEN
#else//!TCHAR-aware compilers #else//!TCHAR-aware compilers