]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
default id's where possible
[wxWidgets.git] / 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;