On Thursday, August 18, 2011 12:11:45 pm John Fabiani wrote:
> On Thursday, August 18, 2011 12:01:59 pm John Fabiani wrote:
> > On Thursday, August 18, 2011 11:49:42 am Jacek Kałucki wrote:
> > > Użytkownik John Fabiani napisał:
> > > > class HeaderToolBar(dabo.ui.dPanel):
> > > Base question.
> > > Why are you using dPanel instead of dToolBar control as tools
> > > container?
> > 
> > I couldn't get the icon large enough  (if memory serves me) on the
> > toolbar.
> > 
> > Johnf
> 
> Adrian Klaver wrote:
> >It seems to come from code below in dBitmapButton.py:
> >
> >def _getBorderStyle(self):
>                  >if self._hasWindowStyleFlag(wx.BU_AUTODRAW):
>                          >return "Simple"
>                  >
>                  >elif self._hasWindowStyleFlag(wx.NO_BORDER):
>                         > return "None"
>                  >
>                  >else:
>                          >return "Default"
> >
> >If you change the "Simple" in the first test to "None" then the line
> >goes away.
> 
> I have tried setting BorderStyle = 'None' but I still get the blue lines.
> 
> Johnf

If I do a self.refresh() the blue lines go away.

Also it's same on python 2.6.6 and 2.7 only on openSUSE 11.3 and 11.4.

Both have wxPython 2.8.11.0

Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to