News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

FIXED: main_toolbar_16x16 displaying wrong Replace bitMap

Started by stahta01, January 12, 2007, 12:08:23 AM

Previous topic - Next topic

stahta01

FYI:

This topic was brought up in prior thread of
http://forums.next.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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

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

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]