]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwindows/messages.cpp
* modules/gui/wxwindows/preferences.cpp: small cosmetic change for win32.
[vlc] / modules / gui / wxwindows / messages.cpp
index 90b8de0ed26b2ad6a5cff275a57327edc1d8f6cb..28ac9d9cf253600655b74961f21fb427eea7be5a 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
- * playlist.cpp : wxWindows plugin for vlc
+ * messages.cpp : wxWindows plugin for vlc
  *****************************************************************************
- * Copyright (C) 2000-2001 VideoLAN
- * $Id: messages.cpp,v 1.18 2003/12/22 02:24:52 sam Exp $
+ * Copyright (C) 2000-2004 VideoLAN
+ * $Id: messages.cpp,v 1.20 2004/01/25 03:29:01 hartman Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *
@@ -33,7 +33,6 @@
 #include <vlc/intf.h>
 
 #include "wxwindows.h"
-#include <wx/textctrl.h>
 
 /*****************************************************************************
  * Event Table.
@@ -157,7 +156,7 @@ void Messages::UpdateLog()
 
             /* Append all messages to log window */
             textctrl->SetDefaultStyle( *dbg_attr );
-            (*textctrl) << wxU(p_sub->p_msg[i_start].psz_module);
+            (*textctrl) << wxL2U(p_sub->p_msg[i_start].psz_module);
 
             switch( p_sub->p_msg[i_start].i_type )
             {
@@ -180,7 +179,7 @@ void Messages::UpdateLog()
             }
 
             /* Add message */
-            (*textctrl) << wxU(p_sub->p_msg[i_start].psz_msg) << wxT("\n");
+            (*textctrl) << wxL2U(p_sub->p_msg[i_start].psz_msg) << wxT("\n");
         }
 
         vlc_mutex_lock( p_sub->p_lock );