Commit b285f620 authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac.in: fixed the wx-config detection by the skins plugin.
* modules/gui/wxwindows/*: fixed a couple of breakage.
parent 0bb214dc
...@@ -2385,15 +2385,15 @@ if test "x${enable_skins}" != "xno"; then ...@@ -2385,15 +2385,15 @@ if test "x${enable_skins}" != "xno"; then
WXWINDOWS_PATH="${with_skins_wx_config_path}:${PATH}" WXWINDOWS_PATH="${with_skins_wx_config_path}:${PATH}"
fi ]) fi ])
# look for wx-config # look for wx-config
AC_PATH_PROG(WX_CONFIG, wx-config, no, ${WXWINDOWS_PATH}) AC_PATH_PROG(WX_CONFIG_SKINS, wx-config, no, ${WXWINDOWS_PATH})
if test "x${WX_CONFIG}" != "xno" if test "x${WX_CONFIG_SKINS}" != "xno"
then then
if expr 2.3.0 \> `${WX_CONFIG} --version` >/dev/null if expr 2.3.0 \> `${WX_CONFIG_SKINS} --version` >/dev/null
then then
AC_MSG_ERROR([Your development package for wxWindows is too old, you need at least version 2.3.0. Please upgrade and try again. Alternatively you can also configure with --disable-skins.]) AC_MSG_ERROR([Your development package for wxWindows is too old, you need at least version 2.3.0. Please upgrade and try again. Alternatively you can also configure with --disable-skins.])
fi fi
CPPFLAGS_skins="${CPPFLAGS_skins} `${WX_CONFIG} --cxxflags` -DWX_SKINS" CPPFLAGS_skins="${CPPFLAGS_skins} `${WX_CONFIG_SKINS} --cxxflags` -DWX_SKINS"
LDFLAGS_skins="${LDFLAGS_skins} `${WX_CONFIG} --libs`" LDFLAGS_skins="${LDFLAGS_skins} `${WX_CONFIG_SKINS} --libs`"
fi fi
if test "x${SYS}" = "xmingw32" -o "x${SYS}" = "xcygwin"; then if test "x${SYS}" = "xmingw32" -o "x${SYS}" = "xcygwin"; then
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* fileinfo.cpp : wxWindows plugin for vlc * fileinfo.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: fileinfo.cpp,v 1.12 2003/05/11 13:22:23 gbazin Exp $ * $Id: fileinfo.cpp,v 1.13 2003/05/11 13:45:21 gbazin Exp $
* *
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* *
...@@ -158,7 +158,7 @@ void FileInfo::UpdateFileInfo() ...@@ -158,7 +158,7 @@ void FileInfo::UpdateFileInfo()
input_info_t *p_info = p_cat->p_info; input_info_t *p_info = p_cat->p_info;
while( p_info ) while( p_info )
{ {
fileinfo_tree->AppendItem( cat, wxU(p_info->psz_name) + fileinfo_tree->AppendItem( cat, (wxString)wxU(p_info->psz_name) +
wxT(": ") + wxU(p_info->psz_value) ); wxT(": ") + wxU(p_info->psz_value) );
p_info = p_info->p_next; p_info = p_info->p_next;
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* interface.cpp : wxWindows plugin for vlc * interface.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: interface.cpp,v 1.24 2003/05/11 13:22:23 gbazin Exp $ * $Id: interface.cpp,v 1.25 2003/05/11 13:45:21 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -477,7 +477,8 @@ void Interface::OnExit( wxCommandEvent& WXUNUSED(event) ) ...@@ -477,7 +477,8 @@ void Interface::OnExit( wxCommandEvent& WXUNUSED(event) )
void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) ) void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) )
{ {
wxString msg; wxString msg;
msg.Printf( wxT(VOUT_TITLE) + wxU(_(" (wxWindows interface)\n\n")) + msg.Printf( wxString(wxT(VOUT_TITLE)) +
wxU(_(" (wxWindows interface)\n\n")) +
wxU(_("(C) 1996-2003 - the VideoLAN Team\n\n")) + wxU(_("(C) 1996-2003 - the VideoLAN Team\n\n")) +
wxU(_("The VideoLAN team <videolan@videolan.org>\n" wxU(_("The VideoLAN team <videolan@videolan.org>\n"
"http://www.videolan.org/\n\n")) + "http://www.videolan.org/\n\n")) +
......
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