summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_picturebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_picturebox.cpp')
-rw-r--r--xfa/fwl/cfwl_picturebox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/cfwl_picturebox.cpp b/xfa/fwl/cfwl_picturebox.cpp
index b62aac942e..9c1f033a77 100644
--- a/xfa/fwl/cfwl_picturebox.cpp
+++ b/xfa/fwl/cfwl_picturebox.cpp
@@ -29,7 +29,7 @@ void CFWL_PictureBox::Update() {
if (!m_pProperties->m_pThemeProvider)
m_pProperties->m_pThemeProvider = GetAvailableTheme();
- GetClientRect(m_rtClient);
+ m_rtClient = GetClientRect();
}
void CFWL_PictureBox::DrawWidget(CFX_Graphics* pGraphics,