From 81c9a1a8e7a75c1feeadd1e0e206f49ce84caafe Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 9 Apr 2003 16:26:35 +0000 Subject: [PATCH] Use a different window style to help ensure there are no window decorations added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/lib/popupctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wxPython/lib/popupctl.py b/wxPython/wxPython/lib/popupctl.py index 466e06f77d..c7609edd1b 100644 --- a/wxPython/wxPython/lib/popupctl.py +++ b/wxPython/wxPython/lib/popupctl.py @@ -140,7 +140,7 @@ class PopButton(wxPyControl): # Tried to use wxPopupWindow but the control misbehaves on MSW class wxPopupDialog(wxDialog): def __init__(self,parent,content = None): - wxDialog.__init__(self,parent,-1,'', style = wxSTAY_ON_TOP) + wxDialog.__init__(self,parent,-1,'', style = wxBORDER_SIMPLE|wxSTAY_ON_TOP) self.ctrl = parent self.win = wxWindow(self,-1,pos = wxPoint(0,0),style = 0)