From d84d25dd9383c29745842d6916314ebaaf643b4c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 1 Aug 2001 15:03:04 +0000 Subject: [PATCH] applied patch 441270 (fix cygwin wxSplashScreen compilation) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/splash.h | 7 ++++++- src/generic/splash.cpp | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/wx/generic/splash.h b/include/wx/generic/splash.h index f8e4d7c7a3..961deb1ade 100644 --- a/include/wx/generic/splash.h +++ b/include/wx/generic/splash.h @@ -16,8 +16,13 @@ #ifndef _WX_SPLASH_H_ #define _WX_SPLASH_H_ -#include "wx/frame.h" +#ifndef WX_PRECOMP +#include "wx/bitmap.h" #include "wx/timer.h" +#endif + +#include "wx/frame.h" + /* * A window for displaying a splash screen diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index 3498795c50..9cda61529a 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -23,6 +23,7 @@ #if wxUSE_SPLASH #ifndef WX_PRECOMP +#include "wx/dcmemory.h" #endif #include "wx/splash.h" -- 2.45.2