]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/toolbar.cpp
fix memory leak (coverity checker CID 53)
[wxWidgets.git] / src / univ / toolbar.cpp
index 0e2f6fe6bfdbc66c3221ca7dede1a853fc1e749e..bb134fe21fb9b138209144ecbf11e98e54833c98 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "univtoolbar.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -132,7 +128,7 @@ private:
 // wxToolBar implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl);
+IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
 
 // ----------------------------------------------------------------------------
 // wxToolBar creation