]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_sizers.i
wxUSE_*BOOK checks.
[wxWidgets.git] / wxPython / src / _sizers.i
index f0eac7a127d3e57d4c302d37f316834a384ca9e1..d85ecefb7a14db670a31e0cd20ee810ed18585a1 100644 (file)
@@ -836,6 +836,8 @@ subsizer.  Returns True if the item was found.", "");
                 return self->Show(info.sizer, show, recursive);
             else if ( info.gotPos )
                 return self->Show(info.pos, show);
+            else
+                return false;
         }
        
         DocAStr(IsShown,
@@ -860,7 +862,7 @@ the item.", "");
     }
 
     %pythoncode {
-    def Hide(self, item, recursive=false):
+    def Hide(self, item, recursive=False):
         """
         A convenience method for Show(item, False, recursive).
         """