Closed qmfrederik closed 8 months ago
I'm just wondering why the theme is using the instance variable rather than calling -[NSMenu window] ? Perhaps the theme needs updating?
Sounds reasonable, let me have a look
Thanks @rfm , I've opened https://github.com/gnustep/plugins-themes-WinUXTheme/pull/4. Would you mind having a look at that PR?
NSMenu->_aWindow
is used by the WinUXTheme here: https://github.com/gnustep/plugins-themes-WinUXTheme/blob/1d9a37136b8dfc6dcea811ef28defbe52f954d0d/WinUXTheme.m#L54 , so mark it as@protected
.This pops up when compiling with clang, which actually enforces those visibility attributes (whereas gcc would just make everything publicly visible).