From d1c7e624c4cd9fac4da4e2ccfe580c393797d52e Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Tue, 8 Jun 1999 10:08:05 +0000 Subject: [PATCH] A few more WINE fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- acconfig.h | 2 +- configure.in | 1 + include/wx/msw/tbarmsw.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/acconfig.h b/acconfig.h index ff06fcf9d3..0403199fb0 100644 --- a/acconfig.h +++ b/acconfig.h @@ -256,7 +256,7 @@ #ifdef __WXWINE__ #if wxUSE_TOOLBAR - #define wxUSE_BUTTONBAR + #define wxUSE_BUTTONBAR 1 #endif #endif diff --git a/configure.in b/configure.in index fd9e0c5f96..ea21d2bdc3 100644 --- a/configure.in +++ b/configure.in @@ -932,6 +932,7 @@ if test "$wxUSE_WINE" = 1; then WX_PATH_FIND_INCLUDES($SEARCH_INCLUDE, windows.h) if test "$ac_find_includes" != "" ; then AC_MSG_RESULT(found $ac_find_includes) + TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -I$ac_find_includes" else AC_MSG_RESULT(no) AC_MSG_ERROR(please set CFLAGS to contain the location of windows.h) diff --git a/include/wx/msw/tbarmsw.h b/include/wx/msw/tbarmsw.h index 2d0de0c954..29b4dfece1 100644 --- a/include/wx/msw/tbarmsw.h +++ b/include/wx/msw/tbarmsw.h @@ -17,6 +17,7 @@ #endif #if wxUSE_BUTTONBAR && wxUSE_TOOLBAR + #include "wx/tbarbase.h" WXDLLEXPORT_DATA(extern const char*) wxButtonBarNameStr; -- 2.45.2