www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - How to prevent an MDIChildFrame from being resized?

I've got an irritating problem with an MDIChildFrame-derived window but I have
to say I'm a newbie to wxWindows so don't be too hard on me :-)

Ideally, I'd like to prevent this frame from being resized. Unfortunately, there
doesn't seem to be an adequate style option.
So I've added EVT_SIZE(MyChildFrame::OnSize) to the class event table and
created a callback method void MyChildFrame::OnSize(wxSizeEvent&) but this only
gets called AFTER the window has been resized, i.e., too late...

Any ideas?

Dec 04 2003