MediaCtrl library

Hello,

I use my own script to compile wxWidgets and wxPython.
It ends with a call to "setup.py".

I use MONOLITHIC=0,
but I get errors while compiling the _media extension:

- when I define wxUSE_MEDIACTRL to 1, none of the the Media
functions are found.
I had to modify the config.py file, and add the following line:
      makeLibName('media')[0],
to the list of libraries (search 'html' and you are there)

- when I define wxUSE_MEDIACTRL to 0, I get unresolved symbols
around "wxMediaEvent".
When looking at src/media.i, there is a stub class "wxMediaEvent"
which is defined with the symbol "WXDLLIMPEXP_MEDIA".
removing this modifier corrects the error.

Are these 2 changes valid?
Then they should be applied.

Note that this combination works "out of the box":
wxUSE_MEDIA_CONTROL=1
MONOLITHIC=1

···

--
Amaury Forgeot d'Arc

Are these 2 changes valid?

Yes.

Then they should be applied.

In fact, I have already done something similar, just havn't checked it in to CVS yet.

···

amaury.forgeotdarc@ubitrade.com wrote:

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!