]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/stc/gtk/stc.py
Add SetBestSize, GetDefaultAttributes and fixed ShouldInheritColours
[wxWidgets.git] / wxPython / contrib / stc / gtk / stc.py
index b9db255ce8c1aa09eb2b04891bf405a41d190f17..554c1a83ba124ff358c5c6ece5566deb4d1a4480 100644 (file)
@@ -3,10 +3,10 @@
 
 import _stc
 
-import core
-import misc
-wx = core 
-__docfilter__ = wx.__docfilter__ 
+import _core
+import _misc
+wx = _core 
+__docfilter__ = wx.__DocFilter(globals()) 
 STC_USE_DND = _stc.STC_USE_DND
 STC_USE_POPUP = _stc.STC_USE_POPUP
 STC_INVALID_POSITION = _stc.STC_INVALID_POSITION
@@ -889,7 +889,7 @@ STC_CMD_WORDLEFTEND = _stc.STC_CMD_WORDLEFTEND
 STC_CMD_WORDLEFTENDEXTEND = _stc.STC_CMD_WORDLEFTENDEXTEND
 STC_CMD_WORDRIGHTEND = _stc.STC_CMD_WORDRIGHTEND
 STC_CMD_WORDRIGHTENDEXTEND = _stc.STC_CMD_WORDRIGHTENDEXTEND
-class StyledTextCtrl(core.Control):
+class StyledTextCtrl(_core.Control):
     def __repr__(self):
         return "<%s.%s; proxy of C++ wxStyledTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
     def __init__(self, *args, **kwargs):
@@ -1985,11 +1985,7 @@ class StyledTextCtrl(core.Control):
         return _stc.StyledTextCtrl_DocumentEndExtend(*args, **kwargs)
 
     def PageUp(*args, **kwargs):
-        """
-        PageUp(self)
-
-        This is just a wrapper for ScrollPages(-1).
-        """
+        """PageUp(self)"""
         return _stc.StyledTextCtrl_PageUp(*args, **kwargs)
 
     def PageUpExtend(*args, **kwargs):
@@ -2627,7 +2623,7 @@ def PreStyledTextCtrl(*args, **kwargs):
     val.thisown = 1
     return val
 
-class StyledTextEvent(core.CommandEvent):
+class StyledTextEvent(_core.CommandEvent):
     def __repr__(self):
         return "<%s.%s; proxy of C++ wxStyledTextEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
     def __init__(self, *args, **kwargs):