X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..c60ba92d097bd49e204f140f22ade84a1b6bc38c:/src/common/tbarbase.cpp diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index dbce9ffff6..4279126dd4 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -318,6 +318,8 @@ wxToolBarToolBase *wxToolBarBase::FindById(int id) const // found break; } + + tool = NULL; } return tool;