Use GetHandle for Mac too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-15 19:27:54 +00:00
parent a212b7793a
commit 9c605df769

View 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;