From 3e47ac48e2a6d0485e8744a3ce369776cb0b7d1a Mon Sep 17 00:00:00 2001 From: Andrea Gavana Date: Tue, 17 Jul 2012 15:39:48 +0000 Subject: [PATCH] Correct a few ReST typos in `advancedsplash.py` and `__init__.py` for AGW. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx/lib/agw/__init__.py | 2 +- wx/lib/agw/advancedsplash.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wx/lib/agw/__init__.py b/wx/lib/agw/__init__.py index e6c63178..6b44006f 100644 --- a/wx/lib/agw/__init__.py +++ b/wx/lib/agw/__init__.py @@ -11,7 +11,7 @@ Description: AGW contains many different modules, listed below. Items labelled with an asterisk were already present in :mod:`lib` before: -- AdvancedSplash: reproduces the behaviour of :class:`SplashScreen`, with more +- AdvancedSplash: reproduces the behaviour of :class:`~adv.SplashScreen`, with more advanced features like custom shapes and text animations; - AquaButton: this is another custom-drawn button class which *approximatively* mimics the behaviour of Aqua buttons on the Mac; diff --git a/wx/lib/agw/advancedsplash.py b/wx/lib/agw/advancedsplash.py index 13057258..fd9a8b9a 100644 --- a/wx/lib/agw/advancedsplash.py +++ b/wx/lib/agw/advancedsplash.py @@ -36,20 +36,20 @@ """ -:class:`AdvancedSplash` tries to reproduce the behavior of :class:`SplashScreen`, with +:class:`AdvancedSplash` tries to reproduce the behavior of :class:`~adv.SplashScreen`, with some enhancements. Description =========== -:class:`AdvancedSplash` tries to reproduce the behavior of :class:`SplashScreen`, but with +:class:`AdvancedSplash` tries to reproduce the behavior of :class:`~adv.SplashScreen`, but with some enhancements (in my opinion). :class:`AdvancedSplash` starts its construction from a simple frame. Then, depending on the options passed to it, it sets the frame shape accordingly to the image passed -as input. :class:`AdvancedSplash` behaves somewhat like :class:`SplashScreen`, and almost -all the methods available in :class:`SplashScreen` are available also in +as input. :class:`AdvancedSplash` behaves somewhat like :class:`~adv.SplashScreen`, and almost +all the methods available in :class:`~adv.SplashScreen` are available also in this module. @@ -164,7 +164,7 @@ AS_SHADOW_BITMAP = 32 class AdvancedSplash(wx.Frame): """ - :class:`AdvancedSplash` tries to reproduce the behavior of :class:`SplashScreen`, with + :class:`AdvancedSplash` tries to reproduce the behavior of :class:`~adv.SplashScreen`, with some enhancements. This is the main class implementation. @@ -364,7 +364,7 @@ class AdvancedSplash(wx.Frame): :param `event`: a :class:`MouseEvent` to be processed. - :note: This reproduces the behavior of :class:`SplashScreen`. + :note: This reproduces the behavior of :class:`~adv.SplashScreen`. """ if event.LeftDown() or event.RightDown(): @@ -379,7 +379,7 @@ class AdvancedSplash(wx.Frame): :param `event`: a :class:`KeyEvent` to be processed. - :note: This reproduces the behavior of :class:`SplashScreen`. + :note: This reproduces the behavior of :class:`~adv.SplashScreen`. """ self.Close() @@ -391,7 +391,7 @@ class AdvancedSplash(wx.Frame): :param `event`: a :class:`CloseEvent` to be processed. - :note: This reproduces the behavior of :class:`SplashScreen`. + :note: This reproduces the behavior of :class:`~adv.SplashScreen`. """ if hasattr(self, "_splashtimer"):