X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..5e1eac149fc18f51d5a25ac00d957ccaad87b3fa:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 9a7d7eb156..3063917e61 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -634,7 +634,7 @@ void wxWindow::SetLabel(const wxString& label) wxString wxWindow::GetLabel() const { - char *label; + char *label = NULL; XtVaGetValues((Widget)GetMainWidget(), XmNtitle, &label, NULL); return wxString(label);