Loading common/tool/tool_manager.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -316,6 +316,8 @@ bool TOOL_MANAGER::RunAction( const std::string& aActionName, bool aNow, void* a return true; } wxASSERT_MSG( action != NULL, wxString::Format( _( "Could not find action %s." ), aActionName ) ); return false; } Loading include/tool/tool_manager.h +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ public: return RunAction( aActionName, aNow, reinterpret_cast<void*>( aParam ) ); } bool RunAction( const std::string& aActionName, bool aNow, void* aParam = NULL ); bool RunAction( const std::string& aActionName, bool aNow, void* aParam ); bool RunAction( const std::string& aActionName, bool aNow = false ) { Loading include/view/view_item.h +8 −3 Original line number Diff line number Diff line Loading @@ -203,11 +203,16 @@ public: */ virtual void ViewUpdate( int aUpdateFlags = ALL ) { if( m_view && m_requiredUpdate == NONE ) if( m_view ) { assert( aUpdateFlags != NONE ); if( m_requiredUpdate == NONE ) m_view->MarkForUpdate( this ); m_requiredUpdate |= aUpdateFlags; } } /** * Function ViewRelease() Loading Loading
common/tool/tool_manager.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -316,6 +316,8 @@ bool TOOL_MANAGER::RunAction( const std::string& aActionName, bool aNow, void* a return true; } wxASSERT_MSG( action != NULL, wxString::Format( _( "Could not find action %s." ), aActionName ) ); return false; } Loading
include/tool/tool_manager.h +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ public: return RunAction( aActionName, aNow, reinterpret_cast<void*>( aParam ) ); } bool RunAction( const std::string& aActionName, bool aNow, void* aParam = NULL ); bool RunAction( const std::string& aActionName, bool aNow, void* aParam ); bool RunAction( const std::string& aActionName, bool aNow = false ) { Loading
include/view/view_item.h +8 −3 Original line number Diff line number Diff line Loading @@ -203,11 +203,16 @@ public: */ virtual void ViewUpdate( int aUpdateFlags = ALL ) { if( m_view && m_requiredUpdate == NONE ) if( m_view ) { assert( aUpdateFlags != NONE ); if( m_requiredUpdate == NONE ) m_view->MarkForUpdate( this ); m_requiredUpdate |= aUpdateFlags; } } /** * Function ViewRelease() Loading