Once wxWidgets applies the patch I added to http://trac.wxwidgets.org/ticket/17302 then the latest SVN code for the OSX build is "usable" for wxSmith stuff, but the display quality is very poor as the capture bitmap is scaled down to logical window size. This can be fixed easily by creating the bitmap with the scaled option:
Index: src/plugins/contrib/wxSmith/wxwidgets/wxsdrawingwindow.cpp =================================================================== --- src/plugins/contrib/wxSmith/wxwidgets/wxsdrawingwindow.cpp (revision 10669) +++ src/plugins/contrib/wxSmith/wxwidgets/wxsdrawingwindow.cpp (working copy) @@ -106,7 +106,8 @@ // Generating new bitmap delete m_Bitmap; - m_Bitmap = new wxBitmap(Size.GetWidth(),Size.GetHeight()); + m_Bitmap = new wxBitmap(); + m_Bitmap->CreateScaled(Size.GetWidth(),Size.GetHeight(), -1, GetContentScaleFactor()); // Resizing panel to cover whole window int X, Y;
Anyone got any idea what the steps/process is to crate the very poor display quality as I am not familiar with wxSmith.
There are issues with the wxSmith tab control dialog at the bottom of the edit window, but that is to do with layout than display quality. This if for another ticket.
Attached is a snippet of my C::B running on Big Sur.
Daniel, Can you try the latest C::B source as Miguel has made a number of changes in the last month that may have resolved the issue you were having.
Can you please let us know if it latest C::B source build does or does not resolve the issue.
Thanks.
I have tested the patch and C::B hangs on boot.