Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

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

(1/1)

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 (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
--- End quote ---
  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

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.

Navigation

[0] Message Index

Go to full version