]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/gdb/print.py
Delete the menu on close in the wxWebView sample. Fixes most of the memory leaks.
[wxWidgets.git] / misc / gdb / print.py
index 449edba1ea5a79cc882beba0f222963a30c5d905..703c9c6a6825efc3a91e6ad8c249d352ce8cfd72 100755 (executable)
@@ -5,9 +5,9 @@
 #               in the future...)
 # Author:       Vadim Zeitlin
 # Created:      2009-01-04
-# RCS-Id:       $Id:$
+# RCS-Id:       $Id$
 # Copyright:    (c) 2009 Vadim Zeitlin
-# License:      wxWindows licence
+# Licence:      wxWindows licence
 ###############################################################################
 
 # Define wxFooPrinter class implementing (at least) to_string() method for each
@@ -21,7 +21,7 @@ class wxStringPrinter:
         self.val = val
 
     def to_string(self):
-        return '"' + self.val['m_impl']['_M_dataplus']['_M_p'].string() + '"'
+        return self.val['m_impl']['_M_dataplus']['_M_p'].string()
 
     def display_hint(self):
         return 'string'