X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..1f1d2182ffe4feb82a1e674266f47d172ed3cb3c:/src/mac/carbon/dcclient.cpp diff --git a/src/mac/carbon/dcclient.cpp b/src/mac/carbon/dcclient.cpp index 39d21a8af1..4c2c1a8b9f 100644 --- a/src/mac/carbon/dcclient.cpp +++ b/src/mac/carbon/dcclient.cpp @@ -44,7 +44,7 @@ wxWindowDCImpl::wxWindowDCImpl( wxDC *owner, wxWindow *window ) { m_window = window; - wxTopLevelWindowMac* rootwindow = window->MacGetTopLevelWindow() ; + WindowRef rootwindow = (WindowRef) window->MacGetTopLevelWindowRef() ; if (!rootwindow) return;