News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

'cb-12610' and 'wxWidgets' nightly builds Dec 24, 2021

Started by LETARTARE, December 25, 2021, 02:46:26 PM

Previous topic - Next topic

LETARTARE

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 (//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-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

Miguel Gimenez

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.

LETARTARE

Thank you,
if only this file is to be changed, this is already comforting.
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'