i would like to control the irrlicht in the dialog from an other dialog.
Serching the forum and pasting code i succeded in using irrlich into a popup dialog in wxWidget
Code: Select all
wxIRRDialog::wxIRRDialog(wxWindow* parent ,const wxString & title ,int Width,int height)
:wxDialog(parent,-1, title, wxPoint(0,0), wxSize(Width,height) )
,GRF3D(wx_reinterpret_cast(unsigned long, this->GetHandle()), Width,height){
}
...
...
is that, when my wxIRRDialog has not the focus the model is not rendered,
(but the application has the focus)
this, i belive occurs because wxwidget does not repaint the frame/windows without the focus (also if irrlicht render and send data to the wxwidget).
Does someone noticed this problem?
Does someone knows how to avoid this problem?,
may bee this a quirks of windows? if yes does it occurs also in linux?
Cheers