diff options
Diffstat (limited to 'Mac/Tools/IDE/Wbase.py')
-rw-r--r-- | Mac/Tools/IDE/Wbase.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Mac/Tools/IDE/Wbase.py b/Mac/Tools/IDE/Wbase.py index 764c131..be75d8a 100644 --- a/Mac/Tools/IDE/Wbase.py +++ b/Mac/Tools/IDE/Wbase.py @@ -1,15 +1,13 @@ -from Carbon import Qd -from Carbon import Win -from Carbon import QuickDraw -from Carbon import Evt +from Carbon import Evt, Qd, QuickDraw, Win import string from types import * import sys -WidgetsError = "WidgetsError" +class WidgetsError(Exception): pass DEBUG = 0 + class Widget: """Base class for all widgets.""" |