X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea57084d103187771c0306a6e1684e32244d6101..a097c93d4feee4f424476b5e8a91a5c1c52e1c1e:/utils/ogl/src/misc.cpp?ds=sidebyside diff --git a/utils/ogl/src/misc.cpp b/utils/ogl/src/misc.cpp index 4c0008ea14..50ed2669dc 100644 --- a/utils/ogl/src/misc.cpp +++ b/utils/ogl/src/misc.cpp @@ -444,12 +444,12 @@ wxStringList *oglFormatText(wxDC& dc, const wxString& text, double width, double { word[j] = 0; j = 0; - word_list.Append((wxObject *)copystring(word)); + word_list.Add(word); end_word = FALSE; } if (new_line) { - word_list.Append((wxObject *)NULL); + word_list.Append(NULL); new_line = FALSE; } }