m_mainWidget = (WXWindow) xwindow;
wxAddWindowToTable( xwindow, (wxWindow*) this );
+ // Set background to None which will prevent X11 from clearing the
+ // background comletely.
+ XSetWindowBackgroundPixmap( xdisplay, xwindow, None );
+
XSetTransientForHint( xdisplay, xwindow, xparent );
XWMHints wm_hints;
return TRUE;
}
-void wxPopupWindow::DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height) )
+void wxPopupWindow::DoMoveWindow(int x, int y, int width, int height )
{
- wxFAIL_MSG( wxT("DoMoveWindow called for wxPopupWindow") );
+ wxWindowX11::DoMoveWindow( x, y, width, height );
}
void wxPopupWindow::DoSetSize( int x, int y, int width, int height, int sizeFlags )