#ifdef __WXMAC__
#undef wxFontDialog
- #include "wx/mac/fontdlg.h"
+ #include "wx/osx/fontdlg.h"
#endif
// used as title for several dialog boxes
dc.SetTextForeground(m_colour);
// the size of one cell (Normally biggest char + small margin)
- long maxCharWidth, maxCharHeight;
+ wxCoord maxCharWidth, maxCharHeight;
dc.GetTextExtent(wxT("W"), &maxCharWidth, &maxCharHeight);
int w = maxCharWidth + 5,
h = maxCharHeight + 4;
{
wxChar c = (wxChar)(32 * (i + 1) + j);
- long charWidth, charHeight;
+ wxCoord charWidth, charHeight;
dc.GetTextExtent(c, &charWidth, &charHeight);
dc.DrawText
(