diff options
Diffstat (limited to 'xfa/src/fwl')
-rw-r--r-- | xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp | 2 | ||||
-rw-r--r-- | xfa/src/fwl/src/basewidget/fwl_editimp.cpp | 5 | ||||
-rw-r--r-- | xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h | 4 | ||||
-rw-r--r-- | xfa/src/fwl/src/core/fwl_noteimp.cpp | 5 |
4 files changed, 8 insertions, 8 deletions
diff --git a/xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp b/xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp index 5fafb98d68..2a33c6e720 100644 --- a/xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp +++ b/xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp @@ -189,7 +189,7 @@ void CFWL_ComboEditImp::FlagFocus(FX_BOOL bSet) { m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; ShowCaret(FALSE); } -}; +} void CFWL_ComboEditImp::SetComboBoxFocus(FX_BOOL bSet) { m_pOuter->SetFocus(bSet); } diff --git a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp index 74c7ef21fe..66852d0815 100644 --- a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp +++ b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp @@ -1996,11 +1996,10 @@ void CFWL_EditImpDelegate::OnKeyDown(CFWL_MsgKey* pMsg) { } default: { #if (_FX_OS_ == _FX_MACOSX_) - if (pMsg->m_dwFlags & FWL_KEYFLAG_Command) + if (pMsg->m_dwFlags & FWL_KEYFLAG_Command) { #else - if (pMsg->m_dwFlags & FWL_KEYFLAG_Ctrl) + if (pMsg->m_dwFlags & FWL_KEYFLAG_Ctrl) { #endif - { if (dwKeyCode == 0x43 || dwKeyCode == 0x63) { m_pOwner->DoClipboard(1); return; diff --git a/xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h b/xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h index 21a11e373d..e80f33ec9a 100644 --- a/xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h +++ b/xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h @@ -45,8 +45,8 @@ class CFWL_ToolTipImp : public CFWL_FormImp { void RefreshToolTipPos(); class CFWL_ToolTipTimer : public IFWL_Timer { public: - CFWL_ToolTipTimer(){}; - ~CFWL_ToolTipTimer(){}; + CFWL_ToolTipTimer() {} + ~CFWL_ToolTipTimer() {} CFWL_ToolTipTimer(CFWL_ToolTipImp* pToolTip); virtual int32_t Run(FWL_HTIMER hTimer); CFWL_ToolTipImp* m_pToolTip; diff --git a/xfa/src/fwl/src/core/fwl_noteimp.cpp b/xfa/src/fwl/src/core/fwl_noteimp.cpp index 329d4c7936..0ddfaf8f25 100644 --- a/xfa/src/fwl/src/core/fwl_noteimp.cpp +++ b/xfa/src/fwl/src/core/fwl_noteimp.cpp @@ -30,9 +30,8 @@ FX_BOOL CFWL_NoteLoop::PreProcessMessage(CFWL_Message* pMessage) { } FWL_ERR CFWL_NoteLoop::Idle(int32_t count) { #if (_FX_OS_ == _FX_WIN32_DESKTOP_) - if (count <= 0) + if (count <= 0) { #endif - { CFWL_EvtIdle ev; IFWL_App* pApp = FWL_GetApp(); if (!pApp) @@ -41,7 +40,9 @@ FWL_ERR CFWL_NoteLoop::Idle(int32_t count) { if (!pDriver) return FWL_ERR_Indefinite; pDriver->SendNote(&ev); +#if (_FX_OS_ == _FX_WIN32_DESKTOP_) } +#endif return FWL_ERR_Indefinite; } CFWL_WidgetImp* CFWL_NoteLoop::GetForm() { |