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:
@@ -36,8 +36,6 @@
|
|||||||
// trace mask for activation tracing messages
|
// trace mask for activation tracing messages
|
||||||
#define TRACE_ACTIVATE "activation"
|
#define TRACE_ACTIVATE "activation"
|
||||||
|
|
||||||
wxWindow* g_MacLastWindow = NULL ;
|
|
||||||
|
|
||||||
clock_t wxNonOwnedWindow::s_lastFlush = 0;
|
clock_t wxNonOwnedWindow::s_lastFlush = 0;
|
||||||
|
|
||||||
// unified title and toolbar constant - not in Tiger headers, so we duplicate it here
|
// unified title and toolbar constant - not in Tiger headers, so we duplicate it here
|
||||||
|
@@ -266,9 +266,6 @@ wxWindowMac::~wxWindowMac()
|
|||||||
tlw->SetDefaultItem(NULL);
|
tlw->SetDefaultItem(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( g_MacLastWindow == this )
|
|
||||||
g_MacLastWindow = NULL ;
|
|
||||||
|
|
||||||
#ifndef __WXUNIVERSAL__
|
#ifndef __WXUNIVERSAL__
|
||||||
wxFrame* frame = wxDynamicCast( wxGetTopLevelParent( (wxWindow*)this ) , wxFrame ) ;
|
wxFrame* frame = wxDynamicCast( wxGetTopLevelParent( (wxWindow*)this ) , wxFrame ) ;
|
||||||
if ( frame )
|
if ( frame )
|
||||||
|
Reference in New Issue
Block a user