git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5874
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
+ mkdir $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
+ cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
+
mkdir $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
mkdir $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
# From configure.in Id: configure.in
# Guess values for system-dependent variables and create Makefiles.
# From configure.in Id: configure.in
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13
+# Generated automatically using autoconf version 2.14
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 2.13"
+ echo "configure generated by autoconf version 2.14"
exit 0 ;;
-with-* | --with-*)
exit 0 ;;
-with-* | --with-*)
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.13"
+ echo "$CONFIG_STATUS generated by autoconf version 2.14"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
propsize/Makefile
richedit/Makefile
resource/Makefile
propsize/Makefile
richedit/Makefile
resource/Makefile
sashtest/Makefile
scroll/Makefile
scrollsub/Makefile
sashtest/Makefile
scroll/Makefile
scrollsub/Makefile
propsize/Makefile
richedit/Makefile
resource/Makefile
propsize/Makefile
richedit/Makefile
resource/Makefile
sashtest/Makefile
scroll/Makefile
scrollsub/Makefile
sashtest/Makefile
scroll/Makefile
scrollsub/Makefile
propsize/Makefile
richedit/Makefile
resource/Makefile
propsize/Makefile
richedit/Makefile
resource/Makefile
sashtest/Makefile
scroll/Makefile
scrollsub/Makefile
sashtest/Makefile
scroll/Makefile
scrollsub/Makefile
+#ifndef WX_PRECOMP
+#include "wx/wx.h"
+#endif
+
#include "wx/image.h"
class MyApp: public wxApp
#include "wx/image.h"
class MyApp: public wxApp
wxRotationPoint p3 = rotated_point (img.GetWidth(), 0, cos_angle, sin_angle, p0);
wxRotationPoint p4 = rotated_point (img.GetWidth(), img.GetHeight(), cos_angle, sin_angle, p0);
wxRotationPoint p3 = rotated_point (img.GetWidth(), 0, cos_angle, sin_angle, p0);
wxRotationPoint p4 = rotated_point (img.GetWidth(), img.GetHeight(), cos_angle, sin_angle, p0);
- int x1 = floor (min (min(p1.x, p2.x), min(p3.x, p4.x)));
- int y1 = floor (min (min(p1.y, p2.y), min(p3.y, p4.y)));
+ int x1 = floor (wxMin (wxMin(p1.x, p2.x), wxMin(p3.x, p4.x)));
+ int y1 = floor (wxMin (wxMin(p1.y, p2.y), wxMin(p3.y, p4.y)));
- int x2 = ceil (max (max(p1.x, p2.x), max(p3.x, p4.x)));
- int y2 = ceil (max (max(p1.y, p2.y), max(p3.y, p4.y)));
+ int x2 = ceil (wxMax (wxMax(p1.x, p2.x), wxMax(p3.x, p4.x)));
+ int y2 = ceil (wxMax (wxMax(p1.y, p2.y), wxMax(p3.y, p4.y)));
wxImage rotated (x2 - x1 + 1, y2 - y1 + 1);
wxImage rotated (x2 - x1 + 1, y2 - y1 + 1);