]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwidgets/wxwidgets.cpp
Qt4 - Better behaviour for the left panel of the playlist.
[vlc] / modules / gui / wxwidgets / wxwidgets.cpp
index 8196cd7f861283ed14e02e5d89040329b100ec4b..e671ee559753d2592878580bdd5c106a86b7b24d 100644 (file)
  * Preamble
  *****************************************************************************/
 #include <errno.h>                                                 /* ENOMEM */
-#include <string.h>                                            /* strerror() */
-#include <stdio.h>
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
@@ -125,7 +127,6 @@ vlc_module_begin();
     add_shortcut( "wxwin" );
     add_shortcut( "wx" );
     add_shortcut( "wxwidgets" );
-    set_program( "wxvlc" );
 
     add_bool( "wx-embed", 1, NULL,
               EMBED_TEXT, EMBED_LONGTEXT, VLC_FALSE );
@@ -179,7 +180,7 @@ static int Open( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t *)p_this;
     /* Test in we have an X*/
-#if defined HAVE_GETENV && (defined __WXGTK__ || defined __WXX11) 
+#if defined HAVE_GETENV && (defined __WXGTK__ || defined __WXX11)
     if( !getenv( "DISPLAY" ) )
     {
         msg_Err( p_intf, "no X server");