From fe028d7dad571bbe8cc8a466edfbfd84f9d76935 Mon Sep 17 00:00:00 2001 From: Metallicow Date: Mon, 8 Jun 2020 07:03:11 -0500 Subject: [PATCH] revert mistaked line --- wx/lib/agw/aui/auibar.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wx/lib/agw/aui/auibar.py b/wx/lib/agw/aui/auibar.py index ca7faa41..688a3027 100644 --- a/wx/lib/agw/aui/auibar.py +++ b/wx/lib/agw/aui/auibar.py @@ -1127,9 +1127,8 @@ class AuiDefaultToolBarArt(object): dropbmp = self._button_dropdown_bmp if not bmp.IsOk(): - return + dc.DrawBitmap(bmp, bmp_rect.x, bmp_rect.y, True) - dc.DrawBitmap(bmp, bmp_rect.x, bmp_rect.y, True) if horizontal: dc.DrawBitmap(dropbmp, dropbmp_x, dropbmp_y, True) else: