Ensure that wxSplashScreen doesn't appear on taskbar nor in Alt-TAB list.
Having the splash screen in Alt-TAB window list under MSW was useless and ugly (as it didn't even have the proper application icon) so use the appropriate styles to avoid this. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
58cc15871d
commit
7650eed409
@ -50,7 +50,8 @@ 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)
|
||||
: wxFrame(parent, id, wxEmptyString, wxPoint(0,0), wxSize(100, 100),
|
||||
style | wxFRAME_TOOL_WINDOW | wxFRAME_NO_TASKBAR)
|
||||
{
|
||||
// splash screen must not be used as parent by the other windows because it
|
||||
// is going to disappear soon, indicate it by giving it this special style
|
||||
|
Loading…
Reference in New Issue
Block a user