mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-25 17:21:52 +01:00
Fix fullscreen on macos (#429)
This commit is contained in:
parent
4e991d603a
commit
c143950dd1
@ -281,6 +281,10 @@ MainWindow::MainWindow()
|
||||
SetClientSize(1280, 720);
|
||||
SetIcon(wxICON(M_WND_ICON128));
|
||||
|
||||
#if BOOST_OS_MACOS
|
||||
this->EnableFullScreenView(true);
|
||||
#endif
|
||||
|
||||
#if BOOST_OS_WINDOWS
|
||||
HICON hWindowIcon = (HICON)LoadImageA(NULL, "M_WND_ICON16", IMAGE_ICON, 16, 16, LR_LOADFROMFILE);
|
||||
SendMessage(this->GetHWND(), WM_SETICON, ICON_SMALL, (LPARAM)hWindowIcon);
|
||||
|
Loading…
Reference in New Issue
Block a user