wxWidgets 2.6.4: New Release with New Issues

April 12th, 2007

Hi All,

Posting after a long time. Got busy with studies and coding.

Last month wxWidgets-2.6.4 was released. This is primarily a bug-fix release. Though newer releases are already available, a number of projects are still using wxWidgets 2.6.x for their projects. Code::Blocks is one such example.

Since it’s release I’ve been compiling Code::Blocks with it to find out any issues. The first issue that I noticed was incorrect File-type icons in Code::Blocks. All the icons that C::B associates with different file types were getting mangled after I compiled it with wxWidgets-2.6.4.

Finally the bug has been found out and the fix is pretty easy. Just apply the following patch to wx.rc file.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- C:/wxWidgets-2.6.4/include/wx/msw/wx.rc	Mon Mar 26 18:15:59 2007
 
+++ C:/wxWidgets-2.6.4/include/wx/msw/wx.rc	Mon Mar 26 18:17:13 2007
 
@@ -79,7 +79,7 @@// Low alphabetically to make it the default, but not so low as to
 
// affect applications that use 'a'
 
-bICON                           ICON "wx/msw/std.ico"
 
+//bICON                           ICON "wx/msw/std.ico"
 
//////////////////////////////////////////////////////////////////////////////
 
//

With this new wx code, an additional Icon was getting inserted into the exe file which was screwing up the associated icons.

Is it reported to wx-dev team? Answer is No and not necessary. This bug has been fixed in wx 2.8.x code. But unfortunately, the buggy code came with wxWidgets 2.6.4.

So if you want to compile Code::Blocks or any other app with wxWidgets 2.6.4, then please pay attention to this bug. Or otherwise it may haunt you for no reasons.

Another bug that has been noticed in Code::Blocks after switching to wx 2.6.4 is that it’s Find and Replace dialogs are now not responding to Escape key!

This bug is new and still not confirmed whether it’s an issue with wxWidgets 2.6.4 or Code::Blocks code. As far as I’m concerned, I’m quite sure that C::B code is not responsible for this.

I’m presently working on this to see if this can be fixed or not.

Hope this unofficial bug report and it’s fix will help you. :)

Trackback URI | Comments RSS

Leave a Reply