Fix for bug #887
This commit is contained in:
parent
c9ca940e43
commit
6688f122cf
|
@ -480,7 +480,7 @@ void ScreenFrame::OnCloseWindow(wxCloseEvent & WXUNUSED(event))
|
|||
void ScreenFrame::OnUIUpdate(wxUpdateUIEvent & WXUNUSED(event))
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
wxTopLevelWindow *top = mCommand->GetFrontWindow(mContext.proj);
|
||||
wxTopLevelWindow *top = mCommand->GetFrontWindow(GetActiveProject());
|
||||
bool needupdate = false;
|
||||
bool enable = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue