Please help, I'm in big trouble. I've been trying to solve my problem about 4 days and don't know what to do now. Please, help, it's _very_ important for me.
THE PROBLEM:
I'm trying to create a child window using XtVaCreateManagedWidget and when I call this function with pointer to parent window that I get from wxWindow::GetHandle(), this function failes and my program crashes with "Segmentation fault".
I call this function inside of class derived from wxControl:
Code: Select all
XtVaCreateManagedWidget(..., ..., this->GetHandle(), ..., ..., 0);
SoS
Thanks in advance.