Index: xfa/fwl/core/ifwl_picturebox.cpp |
diff --git a/xfa/fwl/core/ifwl_picturebox.cpp b/xfa/fwl/core/ifwl_picturebox.cpp |
index 17a87ed835c34133d5cb00009d98604cc57f805f..b7a4c611182d1831b3ef46981786d00f48a99e67 100644 |
--- a/xfa/fwl/core/ifwl_picturebox.cpp |
+++ b/xfa/fwl/core/ifwl_picturebox.cpp |
@@ -13,10 +13,7 @@ |
IFWL_PictureBox::IFWL_PictureBox( |
const IFWL_App* app, |
std::unique_ptr<CFWL_WidgetProperties> properties) |
- : IFWL_Widget(app, std::move(properties), nullptr), |
- m_bTop(false), |
- m_bVCenter(false), |
- m_bButton(false) { |
+ : IFWL_Widget(app, std::move(properties), nullptr) { |
m_rtClient.Reset(); |
m_rtImage.Reset(); |
m_matrix.SetIdentity(); |
@@ -100,21 +97,6 @@ void IFWL_PictureBox::DrawBkground(CFX_Graphics* pGraphics, |
&matrix); |
} |
-bool IFWL_PictureBox::VStyle(uint32_t dwStyle) { |
- switch (dwStyle & FWL_STYLEEXT_PTB_VAlignMask) { |
- case FWL_STYLEEXT_PTB_Top: |
- m_bTop = true; |
- return true; |
- case FWL_STYLEEXT_PTB_Vcenter: |
- m_bVCenter = true; |
- return true; |
- case FWL_STYLEEXT_PTB_Bottom: |
- m_bButton = true; |
- return true; |
- } |
- return false; |
-} |
- |
void IFWL_PictureBox::OnDrawWidget(CFX_Graphics* pGraphics, |
const CFX_Matrix* pMatrix) { |
DrawWidget(pGraphics, pMatrix); |