X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98bc3dcf46f3639269afe6f8cbe27a300f80fe8e..efaa0436fbf19a51d16fcd13fe9a764ec1bfc6de:/wxPython/src/helpers.cpp diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index 5629feac3e..c05de89a4f 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -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;