]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splash.cpp
1. fixed typo ('&' instead of '|') in wxNotebook
[wxWidgets.git] / src / generic / splash.cpp
index 44cc6600ca3fa084cc95345111b6a489bb130746..3498795c50a8ca77c256a9e8af17117ca95b0791 100644 (file)
@@ -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