]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splash.cpp
added new text event macros description
[wxWidgets.git] / src / generic / splash.cpp
index 44cc6600ca3fa084cc95345111b6a489bb130746..9cda61529aaefba57cc68b0a9c2e531d0cb8c6a4 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__
 #pragma hdrstop
 #endif
 
+#if wxUSE_SPLASH
+
 #ifndef WX_PRECOMP
-#include "wx/wx.h"
+#include "wx/dcmemory.h"
 #endif
 
 #include "wx/splash.h"
@@ -169,3 +171,4 @@ void wxSplashScreenWindow::OnChar(wxKeyEvent& WXUNUSED(event))
     GetParent()->Close(TRUE);
 }
 
+#endif // wxUSE_SPLASH