Readjust the window size if the status bar is hidden.
Show the OSD if the status bar is hidden. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1507 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
e5869253f8
commit
94480c881a
|
@ -2674,6 +2674,7 @@ EVT_HANDLER(StatusBar, "Enable status bar")
|
|||
mf->GetStatusBar()->Hide();
|
||||
|
||||
mf->SendSizeEvent();
|
||||
panel->AdjustSize(true);
|
||||
}
|
||||
|
||||
EVT_HANDLER(NoStatusMsg, "Disable on-screen status messages")
|
||||
|
|
|
@ -1808,7 +1808,7 @@ void DrawingPanel::DrawArea(u8** data)
|
|||
|
||||
// draw OSD text old-style (directly into output buffer), if needed
|
||||
// new style flickers too much, so we'll stick to this for now
|
||||
if (wxGetApp().frame->IsFullScreen())
|
||||
if (wxGetApp().frame->IsFullScreen() || !gopts.statusbar)
|
||||
{
|
||||
GameArea* panel = wxGetApp().frame->GetPanel();
|
||||
|
||||
|
|
Loading…
Reference in New Issue