]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
test for timegm() added
[wxWidgets.git] / src / common / tbarbase.cpp
index 98eed8bbd5e43d0d81556219e0f62d4571eb4435..615d76c560c73209cf5d2637db44c8ed81c987bf 100644 (file)
@@ -90,6 +90,7 @@ wxToolBarTool::wxToolBarTool(int theIndex,
   }
   m_shortHelpString = helpS1;
   m_longHelpString = helpS2;
   }
   m_shortHelpString = helpS1;
   m_longHelpString = helpS2;
+  m_control = (wxControl*) NULL;
 }
 
 wxToolBarTool::wxToolBarTool(wxControl *control)
 }
 
 wxToolBarTool::wxToolBarTool(wxControl *control)