I've just checked in a work-in-progress wxWindows based sample in mozilla/embedding/tests/wxEmbed. It's early days yet, but wxEmbed is meant to exercise the Gecko embedding APIs in more diverse ways than the other embedding test apps. So it might eventually contain various test scenarios (e.g. browser, mail reader, chat, editor etc.). So far it's just a simple browser and a mail-like client and is still in development.
Hopefully some interesting reusable classes (and not just for wx) will also fall out of it. People trying to write protocol handlers or chrome objects might already like to look at the reusable Gecko* classes. These too are in development.
Build instructions are in README.txt, but it only builds on Win32 at the moment. People looking for a proper wxWindows solution should probably check out wxMozilla, from which this code is *not* derived.
Great, it's good to see some wx samples make it into Mozilla! I'll be sure to take a look at this! Is there any reason you chose not to use wxMozilla as the underlying control? At this point we lack expertise on the Mozilla side of the equation, and I think it'd be great if we could move towards a more collaborative effort on this. Also, I think the cross-platform nature of wxMozilla is one of the best reasons to use it as an embedding test control - it helps in finding (and maybe eliminating) subtle behavior differences in the embedding APIs across platforms. I realize this is just a first attempt at embedding efforts, but I think it'd be great to move in this direction in the future.
The Mozilla embedding tests could then focus on sample apps (i.e. browser, mail, editor), and in the process of building those sample apps hopefully the wxMozilla control will see improvements as well.
Thanks,
Kevin
