X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3bf7524f394af039efe196a186f7969cbabcc19..23176131010f41b2f9a54bef50c8afa25472e195:/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);