X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3bf7524f394af039efe196a186f7969cbabcc19..5c250a10332dc17263c66deb629b5fa8c4320f8a:/src/motif/control.cpp diff --git a/src/motif/control.cpp b/src/motif/control.cpp index 6b5b4c9162..e6d45853c9 100644 --- a/src/motif/control.cpp +++ b/src/motif/control.cpp @@ -99,7 +99,7 @@ wxString wxControl::GetLabel() const if (!widget) return wxEmptyString; - XmString text; + XmString text = NULL; XtVaGetValues (widget, XmNlabelString, &text, NULL);