X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..824fd93d761e1e697be19a4ca582c5259e12c8ea:/src/generic/splash.cpp diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index f18edab377..b24c83a5a1 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -22,6 +22,10 @@ #if wxUSE_SPLASH +#ifdef __WXGTK20__ + #include +#endif + #ifndef WX_PRECOMP #include "wx/dcmemory.h" #include "wx/dcclient.h" @@ -29,6 +33,7 @@ #include "wx/splash.h" + /* * wxSplashScreen */ @@ -50,6 +55,11 @@ END_EVENT_TABLE() wxSplashScreen::wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds, wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style): wxFrame(parent, id, wxEmptyString, wxPoint(0, 0), wxSize(100, 100), style) { +#ifdef __WXGTK20__ + gtk_window_set_type_hint(GTK_WINDOW(m_widget), + GDK_WINDOW_TYPE_HINT_SPLASHSCREEN); +#endif + m_window = NULL; m_splashStyle = splashStyle; m_milliseconds = milliseconds;