]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/gdb/print.py
Remove the unused code instead of commenting it out.
[wxWidgets.git] / misc / gdb / print.py
index 00670d8549773b4868477ee33ca670693503a587..40084758e3daa5544ee1f65b09c3ad1fcab781cc 100755 (executable)
@@ -22,7 +22,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']
 
     def display_hint(self):
         return 'string'