Re: PLEASE MY PROJECT IS STUCK

Alexander Olk <[email protected]> Thu, 02 Sep 2004 12:06:12 +0200
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1094119572.3458.7.camel@Dellkiste>
Am Di, den 31.08.2004 schrieb Vincent RICHOMME um 18:40:

I've solved the problem...

In mainframe.cs you have 
        EVT_SIZE(new EventListener(OnSize));

If you remove this line, the programm works as expected.

But, if you need the SIZE event, you have to add 
        Layout();
to your OnSize member:

public void OnSize(object sender, Event e)
{
        // your code...
        Layout();
}

There are some virtual callbacks missing in the wx.NET code, maybe this
causes the problem. Next wx.NET release will be using swig, hopefully we
can adress all current bugs/problems with the new release.

Hope that helps.

-- 
Alexander Olk



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click