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:
14
configure.in
14
configure.in
@@ -411,18 +411,20 @@ AC_HEADER_STDC
|
||||
dnl defines STDC_HEADERS if ANSI-C header
|
||||
AC_HEADER_SYS_WAIT
|
||||
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
|
||||
AC_CHECK_HEADER(limits.h)
|
||||
AC_CHECK_HEADERS(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
|
||||
AC_CHECK_HEADER(sys/time.h)
|
||||
AC_CHECK_HEADERS(sys/time.h)
|
||||
dnl defines HAVE_SYS_TIME_H
|
||||
AC_CHECK_HEADER(unistd.h)
|
||||
AC_CHECK_HEADERS(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).
|
||||
AC_CHECK_HEADER(linux/joystick.h)
|
||||
AC_CHECK_HEADERS(linux/joystick.h)
|
||||
GTK_JOYSTICK=""
|
||||
if test "$ac_cv_header_linux_joystick_h" = "yes"; then
|
||||
GTK_JOYSTICK="gtk/joystick.cpp"
|
||||
|
@@ -407,6 +407,9 @@
|
||||
/* Define if you 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. */
|
||||
#undef HAVE_UTIME_NULL
|
||||
|
||||
|
@@ -137,7 +137,9 @@ void wxPaintDC::DrawLine( long x1, long y1, long x2, long y2 )
|
||||
{
|
||||
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)
|
||||
{
|
||||
@@ -150,7 +152,9 @@ void wxPaintDC::CrossHair( long x, long y )
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
@@ -137,7 +137,9 @@ void wxPaintDC::DrawLine( long x1, long y1, long x2, long y2 )
|
||||
{
|
||||
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)
|
||||
{
|
||||
@@ -150,7 +152,9 @@ void wxPaintDC::CrossHair( long x, long y )
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user