Button Menu

Hi all,

  I hace attached a small example which works with Linux Mageia 6 /

Python 2.7 / wxPython 2.8.12 and does not work in Linux Mageia 6 /
Python 3.5 / wxPython 4.04.

I don’t find the mistake.

Thanks in advance for your help.

– You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to .
To view this discussion on the web visit .

menutest2.py (1.59 KB)

···


AGORINFO : SILOS - LSA - LOGIVIANDE - COMPTINNOV- PAYEPYTH

Hugues JEAN-BAPTISTE

email
hjb-at-agorinfo.fr
office
+33 (0)2 35 79
84 84
www.agorinfo.fr
Adoptez l’éco-attitude. N’imprimez ce mail que si c’est
vraiment nécessaire

wxpython-users+unsubscribe@googlegroups.com
https://groups.google.com/d/msgid/wxpython-users/d353071e-9e40-5d09-15dc-9b21da173cb8%40agorinfo.fr

Contrary to popular belief, I can not read minds. At least not through email. What is it that is not working as you expect? If it’s the squashed initial layout then you can fix that by setting the frame’s client size instead of its overall size:

    self.SetClientSize(self.Panneau.GetMinSize())
···

On Thursday, July 25, 2019 at 9:28:05 AM UTC-7, Hugues JEAN-BAPTISTE wrote:

Hi all,

  I hace attached a small example which works with Linux Mageia 6 /

Python 2.7 / wxPython 2.8.12 and does not work in Linux Mageia 6 /
Python 3.5 / wxPython 4.04.

I don’t find the mistake.

Robin

Discuss wxPython

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/ace445a5-e3dc-444a-be2f-c03223da2fbf%40googlegroups.com.