diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index 1c05b55bdc..09cc8b6d07 100644 --- a/utils/emulator/src/emulator.cpp +++ b/utils/emulator/src/emulator.cpp @@ -349,7 +349,7 @@ void wxEmulatorContainer::DoResize() wxSize sz = GetClientSize(); if (wxGetApp().m_xnestWindow #ifdef __WXX11__ - && wxGetApp().m_xnestWindow->GetMainWindow() + && wxGetApp().m_xnestWindow->X11GetMainWindow() #endif ) {