Loading common/view/wx_view_controls.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -229,7 +229,7 @@ void WX_VIEW_CONTROLS::onTimer( wxTimerEvent& aEvent ) void WX_VIEW_CONTROLS::SetGrabMouse( bool aEnabled ) { m_grabMouse = aEnabled; VIEW_CONTROLS::SetGrabMouse( aEnabled ); if( aEnabled ) m_parentPanel->CaptureMouse(); Loading include/view/view_controls.h +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ public: * * @param aEnabled says whether the opion should be enabled or disabled. */ void SetSnapping( bool aEnabled ) virtual void SetSnapping( bool aEnabled ) { m_snappingEnabled = aEnabled; } Loading include/view/wx_view_controls.h +7 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,13 @@ public: void onEnter( wxMouseEvent& WXUNUSED( aEvent ) ); void onTimer( wxTimerEvent& WXUNUSED( aEvent ) ); ///> @copydoc VIEW_CONTROLS::SetSnapping() void SetSnapping( bool aEnabled ) { VIEW_CONTROLS::SetSnapping( aEnabled ); updateCursor(); } /** * Function SetGrabMouse() * Enables/disables mouse cursor grabbing (limits the movement field only to the panel area). Loading Loading
common/view/wx_view_controls.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -229,7 +229,7 @@ void WX_VIEW_CONTROLS::onTimer( wxTimerEvent& aEvent ) void WX_VIEW_CONTROLS::SetGrabMouse( bool aEnabled ) { m_grabMouse = aEnabled; VIEW_CONTROLS::SetGrabMouse( aEnabled ); if( aEnabled ) m_parentPanel->CaptureMouse(); Loading
include/view/view_controls.h +1 −1 Original line number Diff line number Diff line Loading @@ -60,7 +60,7 @@ public: * * @param aEnabled says whether the opion should be enabled or disabled. */ void SetSnapping( bool aEnabled ) virtual void SetSnapping( bool aEnabled ) { m_snappingEnabled = aEnabled; } Loading
include/view/wx_view_controls.h +7 −0 Original line number Diff line number Diff line Loading @@ -58,6 +58,13 @@ public: void onEnter( wxMouseEvent& WXUNUSED( aEvent ) ); void onTimer( wxTimerEvent& WXUNUSED( aEvent ) ); ///> @copydoc VIEW_CONTROLS::SetSnapping() void SetSnapping( bool aEnabled ) { VIEW_CONTROLS::SetSnapping( aEnabled ); updateCursor(); } /** * Function SetGrabMouse() * Enables/disables mouse cursor grabbing (limits the movement field only to the panel area). Loading