Opened 10 years ago

Closed 10 years ago

#13280 closed defect (fixed)

Calling SetMenuBar() twice causes the menubar to not resize correctly in GTK

Reported by: shaurz Owned by:
Priority: normal Milestone:
Component: wxGTK Version: 2.8.12
Keywords: Cc:
Blocked By: Blocking:
Patch: no


If you call SetMenuBar() when there is already a menubar currently set, the new menubar resizes to a small box, so you can only see and click on the first menu item. Resizing the window fixes the menubar size. The only workaround I have found is to call SetMenuBar(None) beforehand.

I have noticed this in my own applications and also Audacity. It only seems to effect GTK.

Change History (1)

comment:1 Changed 10 years ago by PC

  • Resolution set to fixed
  • Status changed from new to closed

(In [67929]) ensure new menubar is sized correctly, fixes #13280

Note: See TracTickets for help on using tickets.