Author Topic: 'cb-12610' and 'wxWidgets' nightly builds Dec 24, 2021  (Read 6441 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
'cb-12610' and 'wxWidgets' nightly builds Dec 24, 2021
« on: December 25, 2021, 02:46:26 pm »
Win7-64, gcc = x86_64-8.1.0-posix-seh-rt_v6-rev0

1- I compiled the latest version of 'wxWidgets' from 24/12/2021 (http://https://github.com/wxWidgets/wxWidgets)
  1.1- adding in '...\3.1.6\include\wx\msw\setup.h ' for Msw 
Quote
#define wxUSE_GRAPHICS_DIRECT2D wxUSE_GRAPHICS_CONTEXT
  1.2- construction with a script
  * no problem ...

2- compilation of 'cb-12610' with 'wx-3.1.6' ?
  2.1 i used a globale variable in project : '#wx316_64' initialized to the right value
  2.2 at compile time the only problem comes from the modification of 'class wxAuiNoteBookPage', which has had the public variable 'wxBitmap bitmap' changed to 'wxBitmapBundle bitmap'
       - you have to modify 'Notebookstyles.cpp' which uses it in 'NbStyleVC71::DrawTab(...)'
       - my modifications are clumsy, they work but do not allow to compile under 'wx-3.1.5' (see patch)

It is only in order to prepare 'CB' for the future version of wx-3.1.6, that I ask the developers to look for a more elegant solution to this problem
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1632
Re: 'cb-12610' and 'wxWidgets' nightly builds Dec 24, 2021
« Reply #1 on: December 26, 2021, 02:13:17 pm »
I plan adapting the source to wx3.1.6, specially because this release is a 3.2.0-beta, but I will wait for the official release because currently wxAUI and wxButton still have problems with wxBitmapBundle when scale factor is not 1.0.

This wxBitmapBundle feature will be useful for Hi-DPI, but the code will need further adaptations.

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: 'cb-12610' and 'wxWidgets' nightly builds Dec 24, 2021
« Reply #2 on: December 26, 2021, 04:41:11 pm »
Thank you,
if only this file is to be changed, this is already comforting.
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl