diff --git a/wxPython/demo/ButtonPanel.py b/wxPython/demo/ButtonPanel.py
index 97875b6a40..749b5be7de 100644
--- a/wxPython/demo/ButtonPanel.py
+++ b/wxPython/demo/ButtonPanel.py
@@ -180,11 +180,7 @@ def runTest(frame, nb, log):
-overview = """
-Say something nice here
-
-
-"""
+overview = bp.__doc__
diff --git a/wxPython/demo/FlatNotebook.py b/wxPython/demo/FlatNotebook.py
index d90daf97b2..8680be5d92 100644
--- a/wxPython/demo/FlatNotebook.py
+++ b/wxPython/demo/FlatNotebook.py
@@ -677,12 +677,7 @@ def runTest(frame, nb, log):
#----------------------------------------------------------------------
-
-overview = """
-Say something nice here
-
-
-"""
+overview = fnb.__doc__