changing guard to support popupwindows as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2007-12-10 22:00:44 +00:00
parent ea6bea0f4f
commit 508b108103

View File

@ -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;