diff options
Diffstat (limited to 'fpdfsdk/include/pdfwindow')
-rw-r--r-- | fpdfsdk/include/pdfwindow/PWL_ComboBox.h | 4 | ||||
-rw-r--r-- | fpdfsdk/include/pdfwindow/PWL_IconList.h | 10 | ||||
-rw-r--r-- | fpdfsdk/include/pdfwindow/PWL_SpecialButton.h | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/fpdfsdk/include/pdfwindow/PWL_ComboBox.h b/fpdfsdk/include/pdfwindow/PWL_ComboBox.h index 5b91fe4a71..40523d70ed 100644 --- a/fpdfsdk/include/pdfwindow/PWL_ComboBox.h +++ b/fpdfsdk/include/pdfwindow/PWL_ComboBox.h @@ -23,8 +23,8 @@ public: public: virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); - virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag); - virtual FX_BOOL OnChar(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag); + FX_BOOL OnKeyDownWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag); + FX_BOOL OnCharWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag); }; #define PWL_COMBOBOX_BUTTON_WIDTH 13 diff --git a/fpdfsdk/include/pdfwindow/PWL_IconList.h b/fpdfsdk/include/pdfwindow/PWL_IconList.h index f0844485ee..effabd0713 100644 --- a/fpdfsdk/include/pdfwindow/PWL_IconList.h +++ b/fpdfsdk/include/pdfwindow/PWL_IconList.h @@ -72,10 +72,10 @@ public: protected: virtual void CreateChildWnd(const PWL_CREATEPARAM & cp); - virtual FX_BOOL OnLButtonDown(const CPDF_Point & point); - virtual FX_BOOL OnLButtonUp(const CPDF_Point & point); - virtual FX_BOOL OnMouseMove(const CPDF_Point & point); - virtual FX_BOOL OnKeyDown(FX_WORD nChar); + virtual FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag); + virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); + virtual FX_BOOL OnMouseMove(const CPDF_Point & point, FX_DWORD nFlag); + virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag); private: CPWL_IconList_Item* GetListItem(FX_INT32 nItemIndex) const; @@ -95,7 +95,7 @@ public: CPWL_IconList(FX_INT32 nListCount); virtual ~CPWL_IconList(); - virtual FX_BOOL OnMouseWheel(short zDelta, const CPDF_Point & point); + virtual FX_BOOL OnMouseWheel(short zDelta, const CPDF_Point & point, FX_DWORD nFlag); void SetSelect(FX_INT32 nIndex); void SetTopItem(FX_INT32 nIndex); diff --git a/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h b/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h index ae882ea564..656bb2e582 100644 --- a/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h +++ b/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h @@ -30,8 +30,8 @@ public: public: virtual CFX_ByteString GetClassName() const; - virtual FX_BOOL OnLButtonUp(const CPDF_Point & point); - virtual FX_BOOL OnChar(FX_WORD nChar); + virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); + virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); void SetCheck(FX_BOOL bCheck); FX_BOOL IsChecked() const; @@ -48,8 +48,8 @@ public: public: virtual CFX_ByteString GetClassName() const; - virtual FX_BOOL OnLButtonUp(const CPDF_Point & point); - virtual FX_BOOL OnChar(FX_WORD nChar); + virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); + virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); void SetCheck(FX_BOOL bCheck); FX_BOOL IsChecked() const; |