Coverity fixes
This commit is contained in:
parent
f7fbb600d2
commit
711fc999f2
|
@ -30,7 +30,8 @@ using KIGFX::MOUSE_DRAG_ACTION;
|
||||||
|
|
||||||
PANEL_MOUSE_SETTINGS::PANEL_MOUSE_SETTINGS( DIALOG_SHIM* aDialog, wxWindow* aParent ) :
|
PANEL_MOUSE_SETTINGS::PANEL_MOUSE_SETTINGS( DIALOG_SHIM* aDialog, wxWindow* aParent ) :
|
||||||
PANEL_MOUSE_SETTINGS_BASE( aParent ),
|
PANEL_MOUSE_SETTINGS_BASE( aParent ),
|
||||||
m_dialog( aDialog )
|
m_dialog( aDialog ),
|
||||||
|
m_currentScrollMod( {} )
|
||||||
{
|
{
|
||||||
m_checkAutoZoomSpeed->Bind( wxEVT_COMMAND_CHECKBOX_CLICKED,
|
m_checkAutoZoomSpeed->Bind( wxEVT_COMMAND_CHECKBOX_CLICKED,
|
||||||
[&]( wxCommandEvent& aEvt )
|
[&]( wxCommandEvent& aEvt )
|
||||||
|
|
|
@ -63,6 +63,7 @@ WX_VIEW_CONTROLS::WX_VIEW_CONTROLS( VIEW* aView, wxScrolledCanvas* aParentPanel
|
||||||
m_state( IDLE ),
|
m_state( IDLE ),
|
||||||
m_parentPanel( aParentPanel ),
|
m_parentPanel( aParentPanel ),
|
||||||
m_scrollScale( 1.0, 1.0 ),
|
m_scrollScale( 1.0, 1.0 ),
|
||||||
|
m_initialZoomScale( 0.0 ),
|
||||||
#ifdef __WXGTK3__
|
#ifdef __WXGTK3__
|
||||||
m_lastTimestamp( 0 ),
|
m_lastTimestamp( 0 ),
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue