diff --git a/src/gtk/aboutdlg.cpp b/src/gtk/aboutdlg.cpp index 16fb5d14fa..9c00eb3f57 100644 --- a/src/gtk/aboutdlg.cpp +++ b/src/gtk/aboutdlg.cpp @@ -37,7 +37,7 @@ class GtkStr : public wxGtkString { public: GtkStr(const wxString& s) - : wxGtkString(wx_const_cast(char *, wxGTK_CONV_SYS(s).data())) + : wxGtkString(wx_const_cast(char *, wxGTK_CONV_SYS(s).release())) { } };