]> git.saurik.com Git - wxWidgets.git/commitdiff
Use GetHandle for Mac too
authorRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 19:27:54 +0000 (19:27 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 15 Apr 2004 19:27:54 +0000 (19:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/helpers.cpp

index 5629feac3e8381ac99a7683f7c612d9d74e04a22..c05de89a4fa8a8bba98bd5e5a6a6b0aa0a20402e 100644 (file)
@@ -1818,7 +1818,8 @@ long wxPyGetWinHandle(wxWindow* win) {
 #endif
     
 #ifdef __WXMAC__
-    return (long)MAC_WXHWND(win->MacGetRootWindow());
+    //return (long)MAC_WXHWND(win->MacGetTopLevelWindowRef());
+    return (long)win->GetHandle();
 #endif
 
     return 0;