Patch suggested by Paul \ Roberto for fixing graphical glitches when adding pages that are parented to the main frame rather than the notebook.
Merge branch 'aui-dynamic-notebook' of https://github.com/nhold/wxWidgets into aui-dynamic-notebook