OSX specific: Set SplashScreen as TopWindow
This commit is contained in:
parent
b82de22caa
commit
13dcc3e7a0
@ -84,8 +84,13 @@ class SplashScreen : public wxSplashScreen
|
||||
{
|
||||
public:
|
||||
SplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds, wxPoint pos = wxDefaultPosition, bool is_decorated = false)
|
||||
: wxSplashScreen(bitmap, splashStyle, milliseconds, nullptr, wxID_ANY,
|
||||
wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER | wxFRAME_NO_TASKBAR )
|
||||
: wxSplashScreen(bitmap, splashStyle, milliseconds, nullptr, wxID_ANY, wxDefaultPosition, wxDefaultSize,
|
||||
#ifdef __APPLE__
|
||||
wxSIMPLE_BORDER | wxFRAME_NO_TASKBAR | wxSTAY_ON_TOP
|
||||
#else
|
||||
wxSIMPLE_BORDER | wxFRAME_NO_TASKBAR
|
||||
#endif // !__APPLE__
|
||||
)
|
||||
{
|
||||
wxASSERT(bitmap.IsOk());
|
||||
m_main_bitmap = bitmap;
|
||||
|
Loading…
Reference in New Issue
Block a user