configure changes

grid 3d changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-02-20 10:23:06 +00:00
parent 5aeda15836
commit 00cf120892
4 changed files with 625 additions and 483 deletions

1049
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -626,6 +626,7 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_THREADS=yes
DEFAULT_wxUSE_SHARED=yes
DEFAULT_wxUSE_BURNT_NAME=no
DEFAULT_wxUSE_OPTIMISE=yes
DEFAULT_wxUSE_PROFILE=no
DEFAULT_wxUSE_NO_DEPS=no
@@ -743,6 +744,7 @@ else
DEFAULT_wxUSE_THREADS=yes
DEFAULT_wxUSE_SHARED=yes
DEFAULT_wxUSE_BURNT_NAME=no
DEFAULT_wxUSE_OPTIMISE=yes
DEFAULT_wxUSE_PROFILE=no
DEFAULT_wxUSE_NO_DEPS=no
@@ -922,6 +924,7 @@ dnl compile options
dnl ---------------------------------------------------------------------------
WX_ARG_ENABLE(shared, [ --enable-shared create shared library code], wxUSE_SHARED)
WX_ARG_ENABLE(burnt_name, [ --enable-burnt_name create set name in shared library ], wxUSE_BURNT_NAME)
WX_ARG_ENABLE(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
@@ -1927,7 +1930,9 @@ if test "$wxUSE_SHARED" = "yes"; then
PIC_FLAG="-fPIC"
WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
WX_ALL="CREATE_LINKS"
dnl BURNT_LIBRARY_NAME="-Wl,-soname -Wl,${WX_LIBRARY_NAME_SHARED}"
if test "$wxUSE_BURNT_NAME" = "yes" ; then
BURNT_LIBRARY_NAME="-Wl,-soname -Wl,${WX_LIBRARY_NAME_SHARED}"
fi
;;
*-*-irix5* | *-*-irix6* )
if test "$GCC" = yes ; then
@@ -3481,6 +3486,17 @@ dnl itself (this is macro is required if SUBDIRS variable is used in Makefile.am
dnl - and we do use it)
AC_PROG_MAKE_SET
dnl move setup.h back if available
if test -d include; then
if test -d include/wx; then
if test -d include/wx/${TOOLKIT_DIR}; then
if test -f include/wx/${TOOLKIT_DIR}/setup.h; then
mv -f include/wx/${TOOLKIT_DIR}/setup.h setup.h
fi
fi
fi
fi
AC_CONFIG_HEADER(setup.h:setup.h.in)
dnl some more GUI only things
@@ -3519,6 +3535,31 @@ AC_OUTPUT([
],
[
chmod +x wx-config
dnl the debian installer wants setup.h to be in the lib subdir
dnl so we *copy* it there
if test ! -d lib; then
mkdir lib
fi
if test ! -d lib/wx; then
mkdir lib/wx
fi
if test ! -d lib/wx/include; then
mkdir lib/wx/include
fi
if test ! -d lib/wx/include/wx; then
mkdir lib/wx/include/wx
fi
if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
mkdir lib/wx/include/wx/${TOOLKIT_DIR}
fi
if test -f setup.h; then
cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
fi
dnl *move* setup.h to its final place
if test ! -d include; then
mkdir include
fi
@@ -3531,6 +3572,7 @@ AC_OUTPUT([
if test -f setup.h; then
mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
fi
],
[
TOOLKIT_DIR="${TOOLKIT_DIR}"

View File

@@ -4144,20 +4144,19 @@ void wxGrid::DrawCellHighlight( wxDC& dc, const wxGridCellAttr *attr )
// FIXME we should properly set colours for arbitrary bg
wxCoord x1 = rect.x,
y1 = rect.y,
x2 = rect.x + rect.width,
y2 = rect.y + rect.height;
x2 = rect.x + rect.width -1,
y2 = rect.y + rect.height -1;
dc.SetPen(*wxWHITE_PEN);
dc.DrawLine(x1, y1, x2 - 1, y1);
dc.DrawLine(x1, y1, x1, y2 - 1);
dc.DrawLine(x1, y1, x2, y1);
dc.DrawLine(x1, y1, x1, y2);
dc.SetPen(*wxLIGHT_GREY_PEN);
dc.DrawLine(x1 + 1, y2 - 1, x2 - 1, y2 - 1);
dc.DrawLine(x2 - 1, y1 + 1, x2 - 1, y2 - 1);
dc.DrawLine(x2 - 1, y1 + 1, x2 - 1, y2 );
dc.SetPen(*wxBLACK_PEN);
dc.DrawLine(x1, y2, x2, y2);
dc.DrawLine(x2, y1, x2, y2);
dc.DrawLine(x2, y1, x2, y2+1);
#endif // 0/1
}
}

View File

@@ -34,7 +34,7 @@ Header files for the wxGTK, the GTK+ 1.2 port of the wxWindows library.
%prep
%setup -n wxGTK
./configure --prefix=%{pref} --enable-threads --disable-std_iostreams --with-odbc
./configure --prefix=%{pref} --enable-burnt_name --with-odbc
%build
if [ "$SMP" != "" ]; then