X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70b8ab778fc3f9f89874a242bfa014f2b313c59b..d5309f580333db2f4c3682ffecc7e389a19bd32f:/src/x11/popupwin.cpp?ds=inline diff --git a/src/x11/popupwin.cpp b/src/x11/popupwin.cpp index 818b86fc64..9161a1e641 100644 --- a/src/x11/popupwin.cpp +++ b/src/x11/popupwin.cpp @@ -78,7 +78,8 @@ bool wxPopupWindow::Create( wxWindow *parent, int style ) KeymapStateMask | FocusChangeMask | ColormapChangeMask | StructureNotifyMask | PropertyChangeMask ); - m_mainWidget = (WXWindow) xwindow; + m_mainWindow = (WXWindow) xwindow; + m_clientWindow = (WXWindow) xwindow; wxAddWindowToTable( xwindow, (wxWindow*) this ); // Set background to None which will prevent X11 from clearing the