From b7094fec1056a75ca247b2c4f3627f3f47e47616 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 16 Jun 2003 23:37:38 +0000 Subject: [PATCH] Ensure there is no border on the generic static texts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/lib/stattext.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wxPython/wxPython/lib/stattext.py b/wxPython/wxPython/lib/stattext.py index 14eba840f9..894a474c69 100644 --- a/wxPython/wxPython/lib/stattext.py +++ b/wxPython/wxPython/lib/stattext.py @@ -26,7 +26,8 @@ class wxGenStaticText(wxPyControl): pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = "genstattext"): - wxPyControl.__init__(self, parent, ID, pos, size, style, wxDefaultValidator, name) + wxPyControl.__init__(self, parent, ID, pos, size, style|wxNO_BORDER, + wxDefaultValidator, name) wxPyControl.SetLabel(self, label) # don't check wxST_NO_AUTORESIZE yet self.SetPosition(pos)