+ /* Aout */
+ wxStaticBox *audio_box = new wxStaticBox( this, -1,
+ wxU( _("Audio" ) ) );
+ audio_box->SetAutoLayout( TRUE );
+ audio_bsizer = new wxStaticBoxSizer( audio_box, wxVERTICAL );
+ audio_sizer = new wxFlexGridSizer( 2,3, 20 );
+
+#define AUDIO_ADD(txt,widget,dflt) \
+ { audio_sizer->Add ( new wxStaticText( this, -1, wxU(_( txt ) ) ), \
+ 0, wxEXPAND|wxLEFT , 5 ); \
+ widget = new wxStaticText( this, -1, wxU( dflt ) ); \
+ audio_sizer->Add( widget, 0, wxEXPAND|wxRIGHT, 5 ); \
+ }
+ AUDIO_ADD( "Decoded blocks", audio_decoded_text, "0" );
+ /* Hack to get enough size */
+ AUDIO_ADD( "Played buffers", played_abuffers_text,
+ "0 " );
+ AUDIO_ADD( "Lost buffers", lost_abuffers_text, "0" );
+
+
+ audio_sizer->Layout();
+ audio_bsizer->Add( audio_sizer, 0, wxALL | wxGROW, 5 );
+ audio_bsizer->Layout();
+ sizer->Add( audio_bsizer , 0, wxALL| wxGROW, 5 );
+