Fix for bug #887

This commit is contained in:
Leland Lucius 2015-04-19 02:05:17 -05:00
parent c9ca940e43
commit 6688f122cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;