fixed double free crash introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,7 +37,7 @@ class GtkStr : public wxGtkString
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GtkStr(const wxString& s)
|
GtkStr(const wxString& s)
|
||||||
: wxGtkString(wx_const_cast(char *, wxGTK_CONV_SYS(s).data()))
|
: wxGtkString(wx_const_cast(char *, wxGTK_CONV_SYS(s).release()))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user