RE: MDI bugs & Misc

"Michael S. Muegel" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
> I noticed that the Windows 0.5 wx-c.dll is larger by a 
> megabyte than the one that came with 0.4.

The 0.4 Windows build does not appear to have included StyledTextCtrl. So
that is one piece of it. I built 0.5 with StyledTextCtrl.

By my calcs the 0.5 wx-c source code is 30% larger than 0.4. The 0.5
wx-c.dll is 38% larger than 0.4. In this quickie calc I used line numbers
and removed StyledTextCtrl from the 0.4 count. I do not know what version of
wxWidgets 0.4 was statically linked against. But 0.5 is linked against 2.5.2
and that may be bigger then a previous version and may contribute to the
remaining difference. I built in Release mode.

Byran, what compiler did you use for 0.4 wx-c? Any special options other
than Release? I used VS.NET 2003.

Once compressed the size is actually very reasonable compared to Mac/Linux
builds.

Another I may experiment with is pruning the wxWidgets setup.h file to not
build unnecessary classes. I.e. those that have equivalents in the .NET
Framework such as sockets and those that have not had wrappers created.
Likewise I have done this via configure options on Mac/Linux with success.
But the size reduction was not as large as I had hoped so I yanked it.

-Mike

--
Michael S. Muegel
Dallas, TX 



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.