]> git.saurik.com Git - wxWidgets.git/commitdiff
changing guard to support popupwindows as well
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 10 Dec 2007 22:00:44 +0000 (22:00 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 10 Dec 2007 22:00:44 +0000 (22:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dcclient.cpp

index 39d21a8af1f976cbc81eff1851f1a83c84fc5ec3..4c2c1a8b9fc30574ff05561b3f878bea50431eba 100644 (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;