- for (int j = 0; j < m_majorDim; j++)
- {
- y = 15;
-
- int max_len = 0;
- wxNode *node = m_boxes.Nth( j*num_per_major );
- for (int i1 = 0; i1< num_per_major; i1++)
- {
- GtkWidget *button = GTK_WIDGET( node->Data() );
- GtkLabel *label = GTK_LABEL( GTK_BUTTON(button)->child );
- GdkFont *font = m_widget->style->font;
- int len = 22+gdk_string_measure( font, label->label );
- if (len > max_len) max_len = len;
-
- gtk_myfixed_move( GTK_MYFIXED(m_parent->m_wxwindow), button, m_x+x, m_y+y );
- y += 20;