diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-23 13:36:00 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-23 13:36:00 -0700 |
commit | f1e7c461dfabbff6b65a072f24f6711b34159361 (patch) | |
tree | 3b0bb772a59669f06b86824a444fd06642592d4b /fpdfsdk/include/pdfwindow/PWL_SpecialButton.h | |
parent | 320b2313d19869333ed453af546e61a9fc2b81c9 (diff) | |
download | pdfium-f1e7c461dfabbff6b65a072f24f6711b34159361.tar.xz |
Revert "FX_BOOL considered harmful, part 2."
This reverts commit 320b2313d19869333ed453af546e61a9fc2b81c9.
Reason for revert: build failure.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1255693002 .
Diffstat (limited to 'fpdfsdk/include/pdfwindow/PWL_SpecialButton.h')
-rw-r--r-- | fpdfsdk/include/pdfwindow/PWL_SpecialButton.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h b/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h index 14e576d868..f6659dfb00 100644 --- a/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h +++ b/fpdfsdk/include/pdfwindow/PWL_SpecialButton.h @@ -26,14 +26,14 @@ public: virtual ~CPWL_CheckBox(); virtual CFX_ByteString GetClassName() const; - virtual bool OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); - virtual bool OnChar(FX_WORD nChar, FX_DWORD nFlag); + virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); + virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); - void SetCheck(bool bCheck); - bool IsChecked() const; + void SetCheck(FX_BOOL bCheck); + FX_BOOL IsChecked() const; private: - bool m_bChecked; + FX_BOOL m_bChecked; }; class PWL_CLASS CPWL_RadioButton : public CPWL_Button @@ -43,14 +43,14 @@ public: virtual ~CPWL_RadioButton(); virtual CFX_ByteString GetClassName() const; - virtual bool OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); - virtual bool OnChar(FX_WORD nChar, FX_DWORD nFlag); + virtual FX_BOOL OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag); + virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); - void SetCheck(bool bCheck); - bool IsChecked() const; + void SetCheck(FX_BOOL bCheck); + FX_BOOL IsChecked() const; private: - bool m_bChecked; + FX_BOOL m_bChecked; }; #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_SPECIALBUTTON_H_ |