diff --git a/include/wx/msw/popupwin.h b/include/wx/msw/popupwin.h index 14105ab855..297c0e7991 100644 --- a/include/wx/msw/popupwin.h +++ b/include/wx/msw/popupwin.h @@ -40,7 +40,7 @@ protected: // (because we are a child window) wxPopupWindowBase::DoGetPosition(x, y); - GetParent()->DoClientToScreen(x, y); + GetParent()->ClientToScreen(x, y); } };