]> git.saurik.com Git - wxWidgets.git/commitdiff
Correction for GTK+1
authorJulian Smart <julian@anthemion.co.uk>
Sun, 19 Sep 2004 17:20:50 +0000 (17:20 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 19 Sep 2004 17:20:50 +0000 (17:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/splash.cpp

index 21a93efa503c12cf240fb263aff70718fcc37ce6..91e63af911407dd71a1dc80466c0a9879d6d8964 100644 (file)
@@ -56,9 +56,11 @@ wxSplashScreen::wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int mil
     wxFrame(parent, id, wxEmptyString, wxPoint(0, 0), wxSize(100, 100), style)
 {
     // At least for GTK+ 2.0, this hint is not available.
-#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2,2,0)
+#if defined(__WXGTK20__)
+#if GTK_CHECK_VERSION(2,2,0)
     gtk_window_set_type_hint(GTK_WINDOW(m_widget),
                              GDK_WINDOW_TYPE_HINT_SPLASHSCREEN);
+#endif
 #endif
     
     m_window = NULL;