SetBackgroundColour( parent->GetBackgroundColour() );
SetForegroundColour( parent->GetForegroundColour() );
+ SetFont( parent->GetFont() );
Show( TRUE );
int max_len = 0;
wxNode *node = m_boxes.Nth( j*num_per_major );
- for (int i = 0; i< num_per_major; i++)
+ for (int i1 = 0; i1< num_per_major; i1++)
{
GtkWidget *button = GTK_WIDGET( node->Data() );
GtkLabel *label = GTK_LABEL( GTK_BUTTON(button)->child );
if (len > max_len) max_len = len;
gtk_myfixed_move( GTK_MYFIXED(m_parent->m_wxwindow), button, m_x+x, m_y+y );
- y += 22;
+ y += 20;
node = node->Next();
if (!node) break;
// we don't know the max_len before
node = m_boxes.Nth( j*num_per_major );
- for (int i = 0; i< num_per_major; i++)
+ for (int i2 = 0; i2< num_per_major; i2++)
{
GtkWidget *button = GTK_WIDGET( node->Data() );
- gtk_widget_set_usize( button, max_len, 22 );
+ gtk_widget_set_usize( button, max_len, 20 );
node = node->Next();
if (!node) break;