mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
Phoenix: reformat the scrolledpanel.py sample in the docstrings so that (maybe) sphinx_generator.py will not eat it again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,12 +53,12 @@ Usage example::
|
||||
vbox = wx.BoxSizer(wx.VERTICAL)
|
||||
|
||||
desc = wx.StaticText(self, -1,
|
||||
"ScrolledPanel extends wx.ScrolledWindow, adding all "
|
||||
"the necessary bits to set up scroll handling for you.\n\n"
|
||||
"Here are three fixed size examples of its use. The "
|
||||
"demo panel for this sample is also using it -- the \nwx.StaticLine "
|
||||
"below is intentionally made too long so a scrollbar will be "
|
||||
"activated."
|
||||
"ScrolledPanel extends wx.ScrolledWindow, adding all " \
|
||||
"the necessary bits to set up scroll handling for you.\n\n" \
|
||||
"Here are three fixed size examples of its use. The " \
|
||||
"demo panel for this sample is also using it -- the \nwx.StaticLine " \
|
||||
"below is intentionally made too long so a scrollbar will be " \
|
||||
"activated."
|
||||
)
|
||||
|
||||
desc.SetForegroundColour("Blue")
|
||||
|
||||
Reference in New Issue
Block a user