close icon missing, checking for 2.5, FileHistory bug

Kevin Altis wrote:

... been slowly modifying code to work with 2.4.x and 2.5.x or later. This
seems like an easier way to transition between the two. I'm not sure why I
missed this earlier, but today I noticed that under 2.5 that all of of my
static-size wxFrame windows have a dimmed close box (X). I had been defining
the style for those frames with:

       style = wx.wxMINIMIZE_BOX | wx.wxSYSTEM_MENU | wx.wxCAPTION

while resizeable windows just use wx.wxDEFAULT_FRAME_STYLE which still

I had the same problem Robin Dunn gave me the answer. See on of the previous
mail (?)

New in wx2.5 wx.CLOSE_BOX == 4096

        sty = wx.SYSTEM_MENU | wx.CAPTION | wx.MINIMIZE_BOX | wx.CLOSE_BOX

Jean-Michel Fauth, Switzerland