no-resize frame in wxPython?

Mike 'Cat' Perkonigg blablu at gmx.net
Wed Aug 23 08:50:23 EDT 2000


Ah yes, thats clear, but what style?
I tried:

wxDEFAULT_FRAME_STYLE & ~ (wxMINIMIZE_BOX | wxRESIZE_BOX | wxMAXIMIZE_BOX)

but that didn't work. Minimize and maximize are gone but I can still resize 
my frame.



ruediger.maehl at web.de (Ruediger) wrote in <newscache$2jqqzf$k4l$1 at www>:

>Mike,
>
>you need to specify the frame style, like:
>
>wxFrame.__init__(self, parent, ID, title, wxDefaultPosition,
>    wxSize(600, 450), wxSYSTEM_MENU | wxCAPTION)
>
>HTH
>Ruediger



More information about the Python-list mailing list