There might be a way to do it, but it won't be cross-platform.
You might be able to create a "fake" wxWindow, on which you call SetHWND() and give it the handle of the MaxGUI window.
This then would be your parent wxWindow onto which you create your "real" wxScrolledWindow().
SetHWND is not currently exposed in the BlitzMax API, but appears in the win32 includes :
Of course, this is pure theory, as I haven't had time to try anything out yet, but it may work...
You would also have to remember that wxMax still needs to be initialized in the normal way for all the usual event handling to work properly.
You might be able to create a "fake" wxWindow, on which you call SetHWND() and give it the handle of the MaxGUI window.
This then would be your parent wxWindow onto which you create your "real" wxScrolledWindow().
SetHWND is not currently exposed in the BlitzMax API, but appears in the win32 includes :
void SetHWND(WXHWND hWnd) { m_hWnd = hWnd; }
Of course, this is pure theory, as I haven't had time to try anything out yet, but it may work...
You would also have to remember that wxMax still needs to be initialized in the normal way for all the usual event handling to work properly.