- Timestamp:
- Dec 12, 2004, 12:03:42 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/gui/orxonox_gui_gtk.cc
r3159 r3160 668 668 void Button::setTitle (char *title) 669 669 { 670 label = title; 670 if (label) 671 delete label; 672 label = new char[strlen(title)+1]; 673 strcpy(label, title); 671 674 gtk_button_set_label (GTK_BUTTON(widget), title); 672 675 }
Note: See TracChangeset
for help on using the changeset viewer.