[vlc-devel] Re: [PATCH] wxFileDialog in dialogs.cpp

Rainer Weidenthaler rweident at gmail.com
Sat Mar 17 01:08:48 CET 2007


Hi Jim,

mhm, I think the wxwidget 2.6-series did provide the SetStyle Method (
documented at
http://www.wxwidgets.org/manuals/2.6/wx_wxfiledialog.html#wxfiledialogsetstyle)

But with version 2.8 they changed this to SetWindowStyle. So first question:
are you sure you are compiling vlc with 2.6.3? Probably providing some more
configure options will get the compiler to link the correct version of
wxwidgets (use ./configure --help | grep wx )

Btw. this is documented in the vlc forum:
http://forum.videolan.org/viewtopic.php?t=30193

Regards,
Rainer



2007/3/16, Jim Russell <vannus at gmail.com>:
>
> Hello folks... (first timer here...)
>
> I couldnt get vlc to compile properly, until i changed line 379 in
> dialogs.cpp
>
> from:
>
>         p_file_generic_dialog->SetStyle( (p_arg->b_save ? wxSAVE : wxOPEN) |
>
> to
>
>         p_file_generic_dialog->SetWindowStyle( (p_arg->b_save ? wxSAVE : wxOPEN) |
>
>
>
> Im on vlc-0.8.6a and wxWidgets-2.6.3 (i presume SetStyle() worked for
> somebody!!)
>
> somebody more practiced in open source stuff than me has probably already
> seen & fixed this, but i thought id make the first steps in participating :)
>
>
> Jim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070317/74f04e19/attachment.html>


More information about the vlc-devel mailing list