X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e444455c4970e9078b97f6d794cb2bf24ee017a7..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/msw/popupwin.h diff --git a/include/wx/msw/popupwin.h b/include/wx/msw/popupwin.h index 14105ab855..239ee04212 100644 --- a/include/wx/msw/popupwin.h +++ b/include/wx/msw/popupwin.h @@ -40,8 +40,10 @@ protected: // (because we are a child window) wxPopupWindowBase::DoGetPosition(x, y); - GetParent()->DoClientToScreen(x, y); + GetParent()->ClientToScreen(x, y); } + + DECLARE_DYNAMIC_CLASS(wxPopupWindow) }; #endif // _WX_MSW_POPUPWIN_H_