mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
partial
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@511 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
590677d3d0
commit
4dd99c81a6
@ -370,13 +370,17 @@ static void selectCB (Widget w, XtPointer cd, XtPointer cb )
|
|||||||
if ( (XmCR_SINGLE_SELECT == selection->reason) ||
|
if ( (XmCR_SINGLE_SELECT == selection->reason) ||
|
||||||
(XmCR_BROWSE_SELECT == selection->reason) ) {
|
(XmCR_BROWSE_SELECT == selection->reason) ) {
|
||||||
choice = XmCvtXmStringToCT (selection->value);
|
choice = XmCvtXmStringToCT (selection->value);
|
||||||
|
printf ("aaaaaaaaa 0x%x \n", choice);
|
||||||
} else
|
} else
|
||||||
if (XmCR_UNSELECT == selection->reason) {
|
if (XmCR_UNSELECT == selection->reason) {
|
||||||
choice = XtNewString ("");
|
choice = XtNewString ("");
|
||||||
|
printf ("bbbbbbbbb \n");
|
||||||
} else {
|
} else {
|
||||||
|
printf ("ccccccccc\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf ("yo choice %p %s \n", choice);
|
||||||
XbaeMatrixSetCell (box->parent, box->currow, box->curcol, choice);
|
XbaeMatrixSetCell (box->parent, box->currow, box->curcol, choice);
|
||||||
SET (&(cell->cell), choice);
|
SET (&(cell->cell), choice);
|
||||||
XtFree (choice);
|
XtFree (choice);
|
||||||
|
Loading…
Reference in New Issue
Block a user