wx: Build targets to platform subdirs

And add code so wx can be run from src tree during development.
wx: Fix xml-parsing with new doxygen version
wx: Fix code generation bugs

Removed defines that is void, i.e.
-defined(FOO, ?NEVER_DEFINED_VALUE).

Also removed wxSTC:sendMsg/[2|3]
which was wrong before and breaks code generation with new doxygen.
wx: Re-generated code

Generated code with previous commit.
wx: Ifdef changed/removed functionality in wxWidgets-2.9.x
wx: Fixes more changed/removed functionality in 2.9
wx: Deprecate functions not available in wxWidgets-2.9

Prepare to remove functionality which is not available in coming
wxWidgets versions.
wx: Modify tests so they work on wxWidgets-2.9

Things have changed in 2.9 modify tests so they are still valid for
both 2.8 and 2.9 branches, so far only tested on linux.
wx: Update examples so they work with both wxWidgets 2.8 and 2.9
wx: Include correct m4 file in 2.9

The older m4 file will not work with a 2.9 release, so
include the correct one in 2.9
wx: Fix int to enum

In 2.9 several functions takes enum's instead of int as arguments,
remove dirty -fpermissive fix and fix it correctly instead.
wx: Depricate wxCursor new functions

Not available on mac and windows for on 2.9
wx: Fix changed getfunctions

wx-2.9 have changed some functions from returning references to objects to
returning objects instead
wx: Remove unnecessary casts
wx: Fix loading icons and cursors in Windows

wxWidgets looked in the wrong executable after icons and cursors, stole
wxLua's solution.

Also finds wx-2.9 on windows
wx: Fix the demo

Changing demo, didn't close the previous choosen demo, which
looked really bad on Windows.
observer: Fix font sizes

On wxWidgets 2.9 they seem to have fixed font sizes in GC's
Observer: Fix distribution dialog
observer: Fix check for graphics contexts

wxWidgets-2.9 seg faults if you try to create a graphics context
before the window is shown.

With bad timing this can happen.

So change the haveGC test to check if the functionality is available
without creating the GraphicsContext.
debugger: Fix 2.9 compat

wxTextCtrl:setFocus selects all input.
wxListBox:insertItems() Asserts for a zero list, sigh..