Remove every old-style class.
This commit is contained in:
parent
27b3592e16
commit
88074cd284
2 changed files with 56 additions and 56 deletions
|
|
@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
from window import Window
|
||||
import os,pdb
|
||||
|
||||
class BoxSizer:
|
||||
class BoxSizer(object):
|
||||
"""This class manage the position of the window like boxes."""
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ import os
|
|||
import pdb
|
||||
|
||||
|
||||
class Window():
|
||||
class Window(object):
|
||||
def __init__(self, parent, height, width, y, x, border=False, title="", code="utf-8"):
|
||||
self.__border=border
|
||||
self.__title=title
|
||||
|
|
|
|||
Loading…
Reference in a new issue