Commit a7b97c2f authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/preferences_widgets.cpp: use wxL2U() (Thanks Anil).
parent 7bca0d7b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* preferences_widgets.cpp : wxWindows plugin for vlc * preferences_widgets.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: preferences_widgets.cpp,v 1.19 2003/12/30 18:29:26 zorglub Exp $ * $Id: preferences_widgets.cpp,v 1.20 2004/01/02 13:30:17 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* Sigmund Augdal <sigmunau@idi.ntnu.no> * Sigmund Augdal <sigmunau@idi.ntnu.no>
...@@ -468,7 +468,7 @@ wxString StringListConfigControl::GetPszValue() ...@@ -468,7 +468,7 @@ wxString StringListConfigControl::GetPszValue()
int selected = combo->GetSelection(); int selected = combo->GetSelection();
if( selected != -1 ) if( selected != -1 )
{ {
return wxU((char *)combo->GetClientData( selected )); return wxL2U((char *)combo->GetClientData( selected ));
} }
return wxString(); return wxString();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment