so i got this tiny class of mine, and i put the mygui initialization code into one of the methods. yet the gui won't show when i call it - no errors in mygui.log . what could be the cause? it all starts and runs just fine. perhaps im passing the ogre window handle wrong into the initialize code?
Well, show your initialisation code.
MyGUI::OgrePlatform* mPlatform = new MyGUI::OgrePlatform();
mPlatform->initialise(mWindow, mSceneMgr); // mWindow is Ogre::RenderWindow*, mSceneManager is Ogre::SceneManager*
mGUI = new MyGUI::Gui();
MyGUI::ButtonPtr button = mGUI->findWidget<MyGUI::Button>("login_button");
button->eventMouseButtonClick = MyGUI::newDelegate(this, &game_gui_system::login_button_pressed);
When this code was placed in parent class to this one, it worked fine.
EDIT: oh i fixed it. im an idiot:}.