summaryrefslogtreecommitdiff
path: root/xfa/src/fwl/src/core/fwl_widgetimp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fwl/src/core/fwl_widgetimp.cpp')
-rw-r--r--xfa/src/fwl/src/core/fwl_widgetimp.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/xfa/src/fwl/src/core/fwl_widgetimp.cpp b/xfa/src/fwl/src/core/fwl_widgetimp.cpp
index 3021796a57..beae23db08 100644
--- a/xfa/src/fwl/src/core/fwl_widgetimp.cpp
+++ b/xfa/src/fwl/src/core/fwl_widgetimp.cpp
@@ -803,13 +803,7 @@ FX_BOOL CFWL_WidgetImp::GetPopupPosGeneral(FX_FLOAT fMinHeight,
return TRUE;
}
FX_BOOL CFWL_WidgetImp::GetScreenSize(FX_FLOAT& fx, FX_FLOAT& fy) {
- IFWL_AdapterNative* pNative = FWL_GetAdapterNative();
- IFWL_AdapterMonitorMgr* pMonitorMgr = pNative->GetMonitorMgr();
- if (!pMonitorMgr)
- return FALSE;
- FWL_HMONITOR hMonitor = pMonitorMgr->GetMonitorByPoint(fx, fy);
- pMonitorMgr->GetMonitorSize(hMonitor, fx, fy);
- return TRUE;
+ return FALSE;
}
void CFWL_WidgetImp::RegisterEventTarget(IFWL_Widget* pEventSource,
FX_DWORD dwFilter) {