Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: stahta01 on January 12, 2007, 12:08:23 am

Title: FIXED: main_toolbar_16x16 displaying wrong Replace bitMap
Post by: stahta01 on January 12, 2007, 12:08:23 am
FYI:

This topic was brought up in prior thread of
http://forums.codeblocks.org/index.php?topic=4912.msg38388#msg38388

I am troubleshooting the cause of the wrong 16x16 icon/bitmap being display on the main toolbar icon for "Replace" under windows (must test with Settings->Environment->View "16x16 small icons")

Tim S
Title: Re: Troubleshooting: main_toolbar_16x16 displaying wrong Replace bitMap
Post by: stahta01 on January 12, 2007, 01:16:45 am
research results:

Problem exists under
 wxMSW 2.6.3 with patches

Problem does NOT exists under
 wxMSW 2.7.0
 wxMSW 2.8.0 with patches
 wxGTK  2.6.3 on andLinux Ubuntu

Area currently under more in-depth research is tbar95.cpp section inside wxREMAP_BUTTON_COLOURS
Problem is related to tbar95.cpp version 1.157.2.9 2006/05/29 17:35:00
Problem in tbar95.cpp still exists in:
1.165 2005/12/01 23:32:47
1.168 2006/01/21 16:47:25
1.173 2006/02/08 15:23:42

Problem FIXED in tbar95.cpp version:
1.176 2006/02/25 03:28:19
1.177 2006/04/01 18:15:16

Problem went away when I upgraded the following file:
include/wx/msw/private.h    1.152
include/wx/toolbar.h           1.44
include/wx/msw/tbar95.h     1.40
src/msw/tbar95.cpp            1.186

Tim S

Title: Re: Troubleshooting: main_toolbar_16x16 displaying wrong Replace bitMap
Post by: stahta01 on January 12, 2007, 05:26:52 am
I have finished work on a patch to back port the code used when wxREMAP_BUTTON_COLOURS is defined.
Tim S

Patch: [ 1633748 ] wxMSW backport of tbar95 code in wxREMAP_BUTTON_COLOURS
http://sourceforge.net/tracker/index.php?func=detail&aid=1633748&group_id=9863&atid=309863