added a bunch of CPP functions for wxAUI, still needs work