X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..5c7b506103cfc078a821860766e31c47d595e07f:/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;