summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_combolist.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/ifwl_combolist.h')
-rw-r--r--xfa/fwl/core/ifwl_combolist.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/xfa/fwl/core/ifwl_combolist.h b/xfa/fwl/core/ifwl_combolist.h
index 6c380f4f07..64ffbba647 100644
--- a/xfa/fwl/core/ifwl_combolist.h
+++ b/xfa/fwl/core/ifwl_combolist.h
@@ -21,23 +21,24 @@ class IFWL_ComboList : public IFWL_ListBox {
void OnProcessMessage(CFWL_Message* pMessage) override;
int32_t MatchItem(const CFX_WideString& wsMatch);
+
void ChangeSelected(int32_t iSel);
int32_t CountItems();
- void GetItemRect(int32_t nIndex, CFX_RectF& rtItem);
- void ClientToOuter(FX_FLOAT& fx, FX_FLOAT& fy);
- void SetFocus(bool bSet);
-
- bool m_bNotifyOwner;
- friend class IFWL_ComboBox;
+ void SetFocus(bool bSet);
+ void SetNotifyOwner(bool notify) { m_bNotifyOwner = notify; }
private:
+ void GetItemRect(int32_t nIndex, CFX_RectF& rtItem);
+ void ClientToOuter(FX_FLOAT& fx, FX_FLOAT& fy);
void OnDropListFocusChanged(CFWL_Message* pMsg, bool bSet);
int32_t OnDropListMouseMove(CFWL_MsgMouse* pMsg);
int32_t OnDropListLButtonDown(CFWL_MsgMouse* pMsg);
int32_t OnDropListLButtonUp(CFWL_MsgMouse* pMsg);
int32_t OnDropListKey(CFWL_MsgKey* pKey);
void OnDropListKeyDown(CFWL_MsgKey* pKey);
+
+ bool m_bNotifyOwner;
};
#endif // XFA_FWL_CORE_IFWL_COMBOLIST_H_