see mail to list

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1998-09-20 19:34:30 +00:00
parent e79848acfe
commit a4876ea44c
5 changed files with 302 additions and 207 deletions

476
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -411,18 +411,20 @@ AC_HEADER_STDC
dnl defines STDC_HEADERS if ANSI-C header dnl defines STDC_HEADERS if ANSI-C header
AC_HEADER_SYS_WAIT AC_HEADER_SYS_WAIT
dnl defines HAVE_SYS_WAIT_H if sys/wait.h exist and is POSIX.1 dnl defines HAVE_SYS_WAIT_H if sys/wait.h exist and is POSIX.1
AC_CHECK_HEADER(fcntl.h) AC_CHECK_HEADERS(fcntl.h)
dnl defines HAVE_FCNTL_H dnl defines HAVE_FCNTL_H
AC_CHECK_HEADER(limits.h) AC_CHECK_HEADERS(limits.h)
dnl defines HAVE_LIMITS_h dnl defines HAVE_LIMITS_h
AC_CHECK_HEADER(sys/file.h) AC_CHECK_HEADERS(sys/file.h)
dnl defines HAVE_SYS_FILE_H dnl defines HAVE_SYS_FILE_H
AC_CHECK_HEADER(sys/time.h) AC_CHECK_HEADERS(sys/time.h)
dnl defines HAVE_SYS_TIME_H dnl defines HAVE_SYS_TIME_H
AC_CHECK_HEADER(unistd.h) AC_CHECK_HEADERS(unistd.h)
dnl defines HAVE_UNISTD_H dnl defines HAVE_UNISTD_H
AC_CHECK_HEADERS(fnmatch.h)
dnl defines HAVE_FNMATCH_H
dnl As it needs Linux 2.1.x for the moment: check whether the file exists (GL). dnl As it needs Linux 2.1.x for the moment: check whether the file exists (GL).
AC_CHECK_HEADER(linux/joystick.h) AC_CHECK_HEADERS(linux/joystick.h)
GTK_JOYSTICK="" GTK_JOYSTICK=""
if test "$ac_cv_header_linux_joystick_h" = "yes"; then if test "$ac_cv_header_linux_joystick_h" = "yes"; then
GTK_JOYSTICK="gtk/joystick.cpp" GTK_JOYSTICK="gtk/joystick.cpp"

View File

@@ -407,6 +407,9 @@
/* Define if you have <unistd.h>. */ /* Define if you have <unistd.h>. */
#undef HAVE_UNISTD_H #undef HAVE_UNISTD_H
/* Define if you have <fnmatch.h>. */
#undef HAVE_FNMATCH_H
/* Define if utime(file, NULL) sets file's timestamp to the present. */ /* Define if utime(file, NULL) sets file's timestamp to the present. */
#undef HAVE_UTIME_NULL #undef HAVE_UTIME_NULL

View File

@@ -137,7 +137,9 @@ void wxPaintDC::DrawLine( long x1, long y1, long x2, long y2 )
{ {
if (!Ok()) return; if (!Ok()) return;
if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage(); // FIXME: is this right? Causes a segfault on my system and doesn't
// seem right: wxPaintDC does not inherit from wxMemoryDC
// if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
if (m_pen.GetStyle() != wxTRANSPARENT) if (m_pen.GetStyle() != wxTRANSPARENT)
{ {
@@ -150,7 +152,9 @@ void wxPaintDC::CrossHair( long x, long y )
{ {
if (!Ok()) return; if (!Ok()) return;
if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage(); // FIXME: is this right? Causes a segfault on my system and doesn't
// seem right: wxPaintDC does not inherit from wxMemoryDC
// if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
if (m_pen.GetStyle() != wxTRANSPARENT) if (m_pen.GetStyle() != wxTRANSPARENT)
{ {

View File

@@ -137,7 +137,9 @@ void wxPaintDC::DrawLine( long x1, long y1, long x2, long y2 )
{ {
if (!Ok()) return; if (!Ok()) return;
if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage(); // FIXME: is this right? Causes a segfault on my system and doesn't
// seem right: wxPaintDC does not inherit from wxMemoryDC
// if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
if (m_pen.GetStyle() != wxTRANSPARENT) if (m_pen.GetStyle() != wxTRANSPARENT)
{ {
@@ -150,7 +152,9 @@ void wxPaintDC::CrossHair( long x, long y )
{ {
if (!Ok()) return; if (!Ok()) return;
if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage(); // FIXME: is this right? Causes a segfault on my system and doesn't
// seem right: wxPaintDC does not inherit from wxMemoryDC
// if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
if (m_pen.GetStyle() != wxTRANSPARENT) if (m_pen.GetStyle() != wxTRANSPARENT)
{ {