ex: atom myString myString = create( wxString, {"Hello World"})I wrote my own destructor for wxString objects, which you may call directly to save some time: delete_string().
This is a faster way to delete a string. It is the routine that is called by delete_instance(), but with a lot less overhead. If you need to delete many strings, it is better to use delete_string() rather than delete_instance(), however, you are unlikely to see much difference for one or two deletions.
See Also: deref_string
Decrements the reference count on a wxString. This will free the data held by the wxString, but will not free the wxString pointer itself. This is called automatically by delete_string().
See Also: delete_string