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:
parent
ea6bea0f4f
commit
508b108103
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user