wxX11:
Don't add popup windows to wxTopLevelWindows, espially not if you don't delete them later. Corrected ReleaseMouse(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,8 +49,6 @@ bool wxPopupWindow::Create( wxWindow *parent, int style )
|
||||
m_parent = parent;
|
||||
if (m_parent) m_parent->AddChild( this );
|
||||
|
||||
wxTopLevelWindows.Append(this);
|
||||
|
||||
Display *xdisplay = wxGlobalDisplay();
|
||||
int xscreen = DefaultScreen( xdisplay );
|
||||
Visual *xvisual = DefaultVisual( xdisplay, xscreen );
|
||||
|
Reference in New Issue
Block a user