Table of Contents

wxString

include file: wxEuphoria


The format for strings that wxWidgets uses. The parameter to create should be a string.
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().

  • proc delete_string( atom string )   
  • proc deref_string( atom string )     
     
    Parent Topics:
  • Classes


    Table of Contents

    [proc]
    delete_string
    ( atom string )

    Category: wxString

    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



    Table of Contents

    [proc]
    deref_string
    ( atom string )

    Category: wxString

    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