+ if info is None:
+ info = wx.LEFT
+ if caption is None:
+ caption = ""
+ return self._AddPane2(window, info, caption)
+ }
+
+ // For backwards compatibility
+ %pythoncode {
+ SetFrame = wx._deprecated(SetManagedWindow,
+ "SetFrame is deprecated, use `SetManagedWindow` instead.")
+ GetFrame = wx._deprecated(GetManagedWindow,
+ "GetFrame is deprecated, use `GetManagedWindow` instead.")
+ }