X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..6edd8829ef3d6f29a73590d99abb121942e77100:/include/wx/motif/private.h?ds=sidebyside diff --git a/include/wx/motif/private.h b/include/wx/motif/private.h index 89b3e70e2e..9895862d9d 100644 --- a/include/wx/motif/private.h +++ b/include/wx/motif/private.h @@ -130,7 +130,7 @@ extern XColor itemColors[5] ; wxString wxXmStringToString( const XmString& xmString ); XmString wxStringToXmString( const char* string ); -inline XmString wxStringToXmString( const wxCharBuffer& string ) +inline XmString wxStringToXmString( const wxScopedCharBuffer& string ) { return wxStringToXmString(string.data()); } inline XmString wxStringToXmString( const wxString& string ) { return wxStringToXmString((const char*)string.mb_str()); }