Repository URL to install this package:
|
Version:
0.7.13 ▾
|
# -*- coding: utf-8 -*-
## \package dbr.panel
# MIT licensing
# See: docs/LICENSE.txt
import wx
from dbr.styles import PANEL_BORDER
## A wx.Panel with a border
#
# This is to work around differences in wx 3.0 with older versions
class BorderedPanel(wx.Panel):
def __init__(self, parent, ID=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize,
style=wx.TAB_TRAVERSAL, name=wx.PanelNameStr):
wx.Panel.__init__(self, parent, ID, pos, size, style|PANEL_BORDER, name)