Two problems porting wxApp to Solaris (Ultra Sparc II / wxMotif)
Lothar Behrens
lothar.behrens at lollisoft.de
Sat Jun 9 08:30:01 PDT 2007
Vadim Zeitlin wrote:
> LB> wxString wxWindow::GetLabel() const
> LB> {
> LB> char *label;
> LB> XtVaGetValues((Widget)GetMainWidget(), XmNtitle, &label, NULL);
> LB>
> LB> return wxString(label); <<<<<<<<
> LB> }
>
> What is the value of label here? Does it help to initialize the label
> variable with NULL?
> VZ
It may help, as of I am thinking the called function may not
initialize it.
I'll try that...
Lothar
More information about the wx-users
mailing list