Author Topic: FIXED: main_toolbar_16x16 displaying wrong Replace bitMap  (Read 4386 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
FIXED: main_toolbar_16x16 displaying wrong Replace bitMap
« 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
« Last Edit: January 12, 2007, 06:35:15 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Troubleshooting: main_toolbar_16x16 displaying wrong Replace bitMap
« Reply #1 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

« Last Edit: January 12, 2007, 04:41:34 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Troubleshooting: main_toolbar_16x16 displaying wrong Replace bitMap
« Reply #2 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
« Last Edit: January 12, 2007, 09:09:53 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org