0
如何使用wxWidgets 3.1創建這樣的OS X工具欄?wxWidgets Mac OS X優勝美地風格的統一工具欄
https://monosnap.com/file/ZMbvh8uVng0J54WgOqOcXDKKr1g9sF
How can I create Yosemite-style unified toolbar in Interface Builder?
我可以訪問參考本地NSWindow:
auto *nativeWindow = wxWindow::MacGetTopLevelWindowRef();
nativeWindow->NSWindow->titleVisibility = NSWindowTitleHidden;
但調用->titleVisibility
上面給出了「的wxWidgets-3.1.0 /樣本/最小/ minimal.cpp :647:17:成員訪問不完整的類型'NSWindow'「,我不能@import/#include NSWindow我的.cpp程序,因爲它是客觀-c標題