Fix of an OSX build

This commit is contained in:
test 2020-10-06 11:18:45 +02:00
parent 19c267e890
commit 48e5f53663

View file

@ -1626,7 +1626,6 @@ bool GUI_App::OnExceptionInMainLoop()
#ifdef __APPLE__ #ifdef __APPLE__
void GUI_App::MacNewFile() void GUI_App::MacNewFile()
{ {
wxDocManager::GetDocumentManager()->CreateNewDocument();
m_mac_initialized = true; m_mac_initialized = true;
} }
// wxWidgets override to get an event on open files. // wxWidgets override to get an event on open files.