diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index e2f20113dc..9d730720e2 100644 --- a/src/mac/carbon/fontdlg.cpp +++ b/src/mac/carbon/fontdlg.cpp @@ -37,6 +37,10 @@ #if !USE_NATIVE_FONT_DIALOG_FOR_MACOSX +#undef wxFontDialog + +#include "wx/mac/fontdlg.h" + #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog) #endif