I want to duplicate a window.
I tried:
Code: Select all
CEGUI::Window* t = CEGUI::WindowManager::getSingleton().createWindow("WindowsLook/FrameWindow", "testframe");
(*t) = (*(getWindow("report_win")));
but got compiler error, "cannot access protected member declared in class 'CEGUI::Window'.
*after I copied the window, I was going to change its name to be unique.
So how do I copy a window?