Updated the erase/paint event logic.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-02-14 21:08:45 +00:00
parent 2e8cc3e834
commit ba696cfadf
5 changed files with 52 additions and 20 deletions

View File

@@ -77,6 +77,10 @@ bool wxPopupWindow::Create( wxWindow *parent, int style )
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;