Commit b0315113 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/wxwindows.h: workaround/compilation fix for new wxWindows versions.
parent 9012c151
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* wxwindows.h: private wxWindows interface description * wxwindows.h: private wxWindows interface description
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2004 VideoLAN * 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> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -43,6 +43,12 @@ ...@@ -43,6 +43,12 @@
#include <wx/checkbox.h> #include <wx/checkbox.h>
#include "vlc_keys.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 ); DECLARE_LOCAL_EVENT_TYPE( wxEVT_DIALOG, 0 );
class OpenDialog; class OpenDialog;
......
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