diff --git a/ChangeLog b/ChangeLog index 8c36fa8cd..9f84eec1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2004-05-06 Moritz Bunkus + * mmg: Fix for compilation with wxWindows < 2.4.2. + * Released v0.8.9. * mmg: new feature: mmg will ask for confirmation before diff --git a/src/mkvinfo_gui.cpp b/src/mkvinfo_gui.cpp index 8802bb554..f631a8dbf 100644 --- a/src/mkvinfo_gui.cpp +++ b/src/mkvinfo_gui.cpp @@ -17,6 +17,10 @@ using namespace libebml; using namespace libmatroska; +#if ! wxCHECK_VERSION(2,4,2) +# define wxTreeItemIdValue long +#endif + mi_frame *frame; enum { diff --git a/src/mmg/tab_chapters.cpp b/src/mmg/tab_chapters.cpp index d0a1262f3..7df7ada6a 100644 --- a/src/mmg/tab_chapters.cpp +++ b/src/mmg/tab_chapters.cpp @@ -45,6 +45,10 @@ using namespace std; using namespace libebml; using namespace libmatroska; +#if ! wxCHECK_VERSION(2,4,2) +# define wxTreeItemIdValue long +#endif + class chapters_drop_target_c: public wxFileDropTarget { private: tab_chapters *owner;