X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3aac0d765c57ff5824b73ec5f3dfc977f61f99b7..8064223b7b1b3657363b7a635c381b9269d95e55:/src/mac/carbon/mediactrl.cpp diff --git a/src/mac/carbon/mediactrl.cpp b/src/mac/carbon/mediactrl.cpp index 639114a1f1..9d525f5b59 100644 --- a/src/mac/carbon/mediactrl.cpp +++ b/src/mac/carbon/mediactrl.cpp @@ -1101,7 +1101,7 @@ void wxQTMediaBackend::MacVisibilityChanged() if(!m_mc || !m_ctrl->m_bLoaded) return; //not initialized yet - if(m_ctrl->MacIsReallyShown()) + if(m_ctrl->IsShownOnScreen()) { //The window is being shown again, so set the GWorld of the //controller back to the port of the parent WindowRef