X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e5d278c12ccc50bb04d9ca20ec97ca380a7d94b..e015e7f3acef09b57bcd34e8f6780a19afdfd97b:/wxPython/wx/lib/foldpanelbar.py diff --git a/wxPython/wx/lib/foldpanelbar.py b/wxPython/wx/lib/foldpanelbar.py index d6338f32a6..4cc6c907e2 100644 --- a/wxPython/wx/lib/foldpanelbar.py +++ b/wxPython/wx/lib/foldpanelbar.py @@ -759,9 +759,10 @@ class CaptionBar(wx.Window): if send_event: event = CaptionBarEvent(wxEVT_CAPTIONBAR) + event.SetId(self.GetId()) + event.SetEventObject(self) event.SetBar(self) self.GetEventHandler().ProcessEvent(event) - event.Skip() def OnChar(self, event): @@ -1074,7 +1075,7 @@ class FoldPanelBar(wx.Panel): it is resized. Very handy for sizer items, buttons and text boxes. - * FPB_ALIGN_LEFT: Alligns left instead of fitting the + * FPB_ALIGN_LEFT: Aligns left instead of fitting the width of the child window to be added. Use either this one or FPB_ALIGN_WIDTH.