X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70a357c256c261f5a623af20ef72b8a3dbf159a4..f65a69e9a01cfa41129cd7ba12d92b00f6c6aa1d:/wxPython/demo/wxFloatBar.py?ds=sidebyside diff --git a/wxPython/demo/wxFloatBar.py b/wxPython/demo/wxFloatBar.py index 593e3b0ab8..1daf702276 100644 --- a/wxPython/demo/wxFloatBar.py +++ b/wxPython/demo/wxFloatBar.py @@ -70,14 +70,16 @@ class TestFloatBar(wxFrame): def runTest(frame, nb, log): win = TestFloatBar(frame, log) frame.otherWin = win - win.Show(true) + win.Show(True) #--------------------------------------------------------------------------- overview = """\ -wxFloatBar is a subclass of wxToolBar, implemented in Python, which can be detached from its frame. +wxFloatBar is a subclass of wxToolBar, implemented in Python, which +can be detached from its frame. -Drag the toolbar with the mouse to make it float, and drag it back, or close it to make the toolbar return to its original position. +Drag the toolbar with the mouse to make it float, and drag it back, or +close it to make the toolbar return to its original position. """ @@ -87,6 +89,13 @@ Drag the toolbar with the mouse to make it float, and drag it back, or close it +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])]) + + +