]> git.sesse.net Git - vlc/commitdiff
* modules/gui/wxwindows/wxwindows.h: workaround/compilation fix for new wxWindows...
authorGildas Bazin <gbazin@videolan.org>
Wed, 25 Feb 2004 18:42:38 +0000 (18:42 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 25 Feb 2004 18:42:38 +0000 (18:42 +0000)
modules/gui/wxwindows/wxwindows.h

index 37a48f0a7a7b41ff0ac2af8f5db5bf03d3ddc5e8..e667d7653d5c187f6a66cc79e9d992a8cf5d9073 100644 (file)
@@ -2,7 +2,7 @@
  * wxwindows.h: private wxWindows interface description
  *****************************************************************************
  * Copyright (C) 1999-2004 VideoLAN
- * $Id: wxwindows.h,v 1.92 2004/02/24 22:15:41 gbazin Exp $
+ * $Id: wxwindows.h,v 1.93 2004/02/25 18:42:38 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
 #include <wx/checkbox.h>
 #include "vlc_keys.h"
 
+/* Hmmm, work-around for newest wxWin */
+#ifdef wxStaticCastEvent
+#   undef wxStaticCastEvent
+#   define wxStaticCastEvent(type, val) ((type)(val))
+#endif
+
 DECLARE_LOCAL_EVENT_TYPE( wxEVT_DIALOG, 0 );
 
 class OpenDialog;