FIND_PARENT );
if( p_object != NULL )
{
-#if defined(WIN32)
+#if (wxCHECK_VERSION(2,5,0))
ppsz_varnames[i] = "intf-switch";
pi_objects[i++] = p_object->i_object_id;
#endif
FIND_PARENT );
if( p_object != NULL )
{
-#if defined(WIN32)
+#if (wxCHECK_VERSION(2,5,0))
ppsz_varnames[i] = "intf-switch";
pi_objects[i++] = p_object->i_object_id;
#endif
b_shown = VLC_TRUE;
p_intf->p_sys->p_video_sizer = new wxBoxSizer( wxHORIZONTAL );
-#if (wxCHECK_VERSION(2,5,0))
+#if (wxCHECK_VERSION(2,5,3))
p_intf->p_sys->p_video_sizer->Add( this, 1, wxEXPAND|wxFIXED_MINSIZE );
#else
p_intf->p_sys->p_video_sizer->Add( this, 1, wxEXPAND );
static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
+#if (wxCHECK_VERSION(2,5,0))
+void *wxClassInfo_sm_classTable_BUGGY = 0;
+#endif
+
/*****************************************************************************
* Local classes declarations.
*****************************************************************************/
/* */
delete p_intf->p_sys->p_window_settings;
+#if (wxCHECK_VERSION(2,5,0))
+ wxClassInfo::sm_classTable = wxClassInfo_sm_classTable_BUGGY;
+#endif
+
/* Destroy structure */
free( p_intf->p_sys );
}
/* We need to manually clean up the dialogs class */
if( p_intf->p_sys->p_wxwindow ) delete p_intf->p_sys->p_wxwindow;
}
+
+#if (wxCHECK_VERSION(2,5,0))
+ wxClassInfo_sm_classTable_BUGGY = wxClassInfo::sm_classTable;
+ wxClassInfo::sm_classTable = 0;
+#endif
+
return 0;
}