ALL,
The following code:
in fontpropertypage.cpp:
#import "AppKit/AppKit.h"
CFontPropertyPage::CFontPropertyPage()
{
m_font = font;
NSFontManager *manager = [NSFontManager sharedFontManager];
NSFontPanel *panel = [manager fontpanel:true];
}
In the fontpropertypage.mm
#include "fontpropertypage.cpp"
I'm receiving the error in subject from the Xcode when trying to get NSFontPanel pointer.
Can someone please help with the fix?
Both files are present in the Xcode project.
TIA!!