]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
don't show size grip when maximized
[wxWidgets.git] / src / common / tbarbase.cpp
index dbce9ffff6e8eb860a41dd36ec3e1488533e97bf..4279126dd41d706ba3d1b64d6c5ff2096232c147 100644 (file)
@@ -318,6 +318,8 @@ wxToolBarToolBase *wxToolBarBase::FindById(int id) const
             // found
             break;
         }
+
+        tool = NULL;
     }
 
     return tool;