+ /* Sout */
+ wxStaticBox *sout_box = new wxStaticBox( this, -1,
+ wxU( _("Streaming" ) ) );
+ sout_box->SetAutoLayout( TRUE );
+ sout_bsizer = new wxStaticBoxSizer( sout_box, wxVERTICAL );
+ sout_sizer = new wxFlexGridSizer( 2,3, 20 );
+
+#define SOUT_ADD(txt,widget,dflt) \
+ { sout_sizer->Add ( new wxStaticText( this, -1, wxU(_( txt ) ) ), \
+ 0, wxEXPAND|wxLEFT|wxALIGN_LEFT , 5 ); \
+ widget = new wxStaticText( this, -1, wxU( dflt ) ); \
+ sout_sizer->Add( widget, 0, wxEXPAND|wxRIGHT|wxALIGN_RIGHT, 5 ); \
+ }
+ SOUT_ADD( "Sent packets", sout_sent_packets_text, "0" );
+ SOUT_ADD( "Sent bytes", sout_sent_bytes_text, "0 " );
+ SOUT_ADD( "Send rate", sout_send_bitrate_text, "0 " );
+ sout_sizer->Layout();
+ sout_bsizer->Add( sout_sizer, 0, wxALL | wxGROW, 5 );
+ sout_bsizer->Layout();
+ sizer->Add( sout_bsizer , 0, wxALL| wxGROW, 5 );
+