Remove wxOSX/Carbon support.
Cocoa has been the default toolkit in wxWidgets for a long time. There is really no good reason to use Carbon in 2016 and this removes a lot of unused and unmaintained code.
This commit is contained in:
@@ -99,12 +99,6 @@ wxTopLevelWindowMac::~wxTopLevelWindowMac()
|
||||
|
||||
bool wxTopLevelWindowMac::Destroy()
|
||||
{
|
||||
// NB: this will get called during destruction if we don't do it now,
|
||||
// and may fire a kill focus event on a control being destroyed
|
||||
#if wxOSX_USE_CARBON
|
||||
if (m_nowpeer && m_nowpeer->GetWXWindow())
|
||||
ClearKeyboardFocus( (WindowRef)m_nowpeer->GetWXWindow() );
|
||||
#endif
|
||||
// delayed destruction: the tlw will be deleted during the next idle
|
||||
// loop iteration
|
||||
if ( !wxPendingDelete.Member(this) )
|
||||
|
||||
Reference in New Issue
Block a user