]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/lboxcmn.cpp
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / src / common / lboxcmn.cpp
index 429aa9e5ffff89b6f4c3a502d985fc018250faa9..3678abc248a61ce76a3fba50c0830ab7a4c3066e 100644 (file)
@@ -5,8 +5,8 @@
 // Modified by:
 // Created:     22.10.99
 // RCS-ID:      $Id$
-// Copyright:   (c) wxWindows team
-// Licence:     wxWindows licence
+// Copyright:   (c) wxWidgets team
+// Licence:     wxWidgets licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "listboxbase.h"
 #endif
 
@@ -33,6 +33,7 @@
 #ifndef WX_PRECOMP
     #include "wx/listbox.h"
     #include "wx/dynarray.h"
+    #include "wx/arrstr.h"
 #endif
 
 // ============================================================================