Index: fpdfsdk/src/pdfwindow/PWL_Button.cpp |
diff --git a/fpdfsdk/src/pdfwindow/PWL_Button.cpp b/fpdfsdk/src/pdfwindow/PWL_Button.cpp |
index 84962285c43100b68c486479870dad6b1c86af2b..1712bd24fc0283646fd99aa16b20953dc66737ec 100644 |
--- a/fpdfsdk/src/pdfwindow/PWL_Button.cpp |
+++ b/fpdfsdk/src/pdfwindow/PWL_Button.cpp |
@@ -12,7 +12,7 @@ |
/* ------------------------------- CPWL_Button ---------------------------------- */ |
CPWL_Button::CPWL_Button() : |
- m_bMouseDown(FALSE) |
+ m_bMouseDown(false) |
{ |
} |
@@ -31,23 +31,23 @@ void CPWL_Button::OnCreate(PWL_CREATEPARAM & cp) |
cp.eCursorType = FXCT_HAND; |
} |
-FX_BOOL CPWL_Button::OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag) |
+bool CPWL_Button::OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag) |
{ |
CPWL_Wnd::OnLButtonDown(point, nFlag); |
- m_bMouseDown = TRUE; |
+ m_bMouseDown = true; |
SetCapture(); |
- return TRUE; |
+ return true; |
} |
-FX_BOOL CPWL_Button::OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag) |
+bool CPWL_Button::OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag) |
{ |
CPWL_Wnd::OnLButtonUp(point, nFlag); |
ReleaseCapture(); |
- m_bMouseDown = FALSE; |
+ m_bMouseDown = false; |
- return TRUE; |
+ return true; |
} |