Changeset 6 for trunk/txlib/txwidget.c
- Timestamp:
- 12/13/05 20:55:09 (3 years ago)
- Files:
-
- 1 modified
-
trunk/txlib/txwidget.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/txlib/txwidget.c
r1 r6 376 376 title, txwstd_footer, 377 377 &window); 378 window.dlgFocusID = gwdata->basewid + focus; // field to get focus 378 379 if ((focus < gwdata->count) && 380 (gwdata->widget[focus].winid != 0)) // explicit window-ID 381 { 382 window.dlgFocusID = gwdata->widget[focus].winid; 383 } 384 else // calculated window-ID 385 { 386 window.dlgFocusID = gwdata->basewid + focus; // field to get focus 387 } 379 388 window.st.buf = NULL; // NO artwork attached 380 389 pframe = txwCreateWindow( parent, TXW_CANVAS, 0, 0, &window, NULL);