* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
- * Sigmund Augdal <sigmunau@idi.ntnu.no>
+ * Sigmund Augdal Helberg <dnumgis@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include <vlc_config_cat.h>
-#include "wxwindows.h"
+#include "wxwidgets.h"
#include "preferences_widgets.h"
#include <wx/statline.h>
text->SetToolTip( wxU(p_item->psz_longtext) );
sizer->Add(text, 0, wxEXPAND|wxALL, 5 );
- sizer->Add (new wxStaticText( this, -1, wxU( vlc_wraptext( _("Select modules that you want. To get more advanced control, you can also modify the resulting chain by yourself") , 72, ISUTF8 ) ) ) );
+ sizer->Add (new wxStaticText( this, -1, wxU( vlc_wraptext( _("Select modules that you want. To get more advanced control, you can also modify the resulting chain by yourself") , 72, 1 ) ) ) );
sizer->Layout();
this->SetSizerAndFit( sizer );
{
bool b_waschecked = false;
wxString newtext = text->GetValue();
-
+
for( unsigned int i = 0 ; i< pp_checkboxes.size() ; i++ )
{
b_waschecked = newtext.Find( wxU(pp_checkboxes[i]->psz_module)) != -1 ;
/* For some reasons, ^^ doesn't compile :( */
if( (pp_checkboxes[i]->checkbox->IsChecked() && ! b_waschecked )||
- (! pp_checkboxes[i]->checkbox->IsChecked() && b_waschecked) )
+ (! pp_checkboxes[i]->checkbox->IsChecked() && b_waschecked) )
{
if( b_waschecked )
{
{
if( ! newtext.Replace(wxString(wxU(pp_checkboxes[i]->psz_module))
+ wxT(":"),wxT("")))
- {
+ {
newtext.Replace(wxU(pp_checkboxes[i]->psz_module),wxU(""));
}
}