X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6bfc18d01649c47eb2157f1333d8c189be83ee4d..4d98817cfab2654773755cb5c540057c5f3d4fd6:/interface/wx/splash.h diff --git a/interface/wx/splash.h b/interface/wx/splash.h index 8f1b0b51fd..26dedbf6f9 100644 --- a/interface/wx/splash.h +++ b/interface/wx/splash.h @@ -3,22 +3,22 @@ // Purpose: interface of wxSplashScreen // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxSplashScreen wxSplashScreen shows a window with a thin border, displaying a bitmap - describing your - application. Show it in application initialisation, and then either explicitly - destroy + describing your application. + + Show it in application initialisation, and then either explicitly destroy it or let it time-out. Example usage: @code - wxBitmap bitmap; + wxBitmap bitmap; if (bitmap.LoadFile("splash16.png", wxBITMAP_TYPE_PNG)) { wxSplashScreen* splash = new wxSplashScreen(bitmap, @@ -37,14 +37,15 @@ class wxSplashScreen : public wxFrame public: /** Construct the splash screen passing a bitmap, a style, a timeout, a window id, - optional position - and size, and a window style. + optional position and size, and a window style. + @a splashStyle is a bitlist of some of the following: - wxSPLASH_CENTRE_ON_PARENT - wxSPLASH_CENTRE_ON_SCREEN - wxSPLASH_NO_CENTRE - wxSPLASH_TIMEOUT - wxSPLASH_NO_TIMEOUT + - wxSPLASH_CENTRE_ON_PARENT + - wxSPLASH_CENTRE_ON_SCREEN + - wxSPLASH_NO_CENTRE + - wxSPLASH_TIMEOUT + - wxSPLASH_NO_TIMEOUT + @a milliseconds is the timeout in milliseconds. */ wxSplashScreen(const wxBitmap& bitmap, long splashStyle, @@ -58,11 +59,10 @@ public: /** Destroys the splash screen. */ - ~wxSplashScreen(); + virtual ~wxSplashScreen(); /** - Returns the splash style (see wxSplashScreen() for - details). + Returns the splash style (see wxSplashScreen() for details). */ long GetSplashStyle() const;