Remove unused global variable left over from Carbon

This "g_MacLastWindow" was only used in Carbon code and should have been removed
in 5ba67c67e4.
This commit is contained in:
John Roberts
2017-05-31 19:13:21 +08:00
committed by VZ
parent f14d702e4a
commit 9e83d415ed
2 changed files with 0 additions and 5 deletions

View File

@@ -266,9 +266,6 @@ wxWindowMac::~wxWindowMac()
tlw->SetDefaultItem(NULL);
}
if ( g_MacLastWindow == this )
g_MacLastWindow = NULL ;
#ifndef __WXUNIVERSAL__
wxFrame* frame = wxDynamicCast( wxGetTopLevelParent( (wxWindow*)this ) , wxFrame ) ;
if ( frame )