Hello Martintxo, your last attachement confirms we get into a recursion in mwxWindow::DoClientToScreen in the suspected line [L3158].
Further it looks like this==m_parent at this state, so this window is its own parent ? I guess entering the recursion in that case is clearly wrong, therefore following hack to line 3156 could help: (Have not tested it, maybe to line 3230 too.) - if ((!m_useCachedClientSize || source == NULL) && !IsTopLevel() && m_parent) + if ((!m_useCachedClientSize || source == NULL) && !IsTopLevel() && m_parent && m_parent != this) But I guess a proper solution needs someone with deeper knowledge of wxWidgets. Kind regards, Bernahrd [L3158] https://sources.debian.org/src/wxwidgets3.0/3.0.4+dfsg-9/src/gtk/window.cpp/#L3158