X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33ac7e6f01acbac1cff0ad400d8ea7f0bfd0a62f..53e46b61bbe4ce72b92c8898907f0a879d5f012b:/src/generic/splash.cpp diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index 44cc6600ca..3498795c50 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -6,7 +6,7 @@ // Created: 28/6/2000 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -20,8 +20,9 @@ #pragma hdrstop #endif +#if wxUSE_SPLASH + #ifndef WX_PRECOMP -#include "wx/wx.h" #endif #include "wx/splash.h" @@ -169,3 +170,4 @@ void wxSplashScreenWindow::OnChar(wxKeyEvent& WXUNUSED(event)) GetParent()->Close(TRUE); } +#endif // wxUSE_SPLASH