Commit 9a88dda1 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

Fixed dropdown lists. they were returning descriptions on a SaveAll instead of config options.

parent b91de5ff
...@@ -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.4 2003/10/20 12:25:22 gbazin Exp $ * $Id: preferences_widgets.cpp,v 1.5 2003/10/21 12:30:40 hartman 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>
...@@ -244,7 +244,7 @@ ModuleConfigControl::~ModuleConfigControl() ...@@ -244,7 +244,7 @@ ModuleConfigControl::~ModuleConfigControl()
wxString ModuleConfigControl::GetPszValue() wxString ModuleConfigControl::GetPszValue()
{ {
return combo->GetStringSelection(); return wxU( (char *)combo->GetClientData( combo->GetSelection() ));
} }
/***************************************************************************** /*****************************************************************************
......
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