X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..6f28211af2258ce0c052e5b5c1d862e7bbc8de27:/src/gtk1/fontdlg.cpp diff --git a/src/gtk1/fontdlg.cpp b/src/gtk1/fontdlg.cpp index 10352b6375..df4b0eae8a 100644 --- a/src/gtk1/fontdlg.cpp +++ b/src/gtk1/fontdlg.cpp @@ -18,6 +18,8 @@ #if wxUSE_FONTDLG +#ifndef __WXGPE__ + #include "wx/fontutil.h" #include "wx/fontdlg.h" #include "wx/utils.h" @@ -154,7 +156,7 @@ bool wxFontDialog::DoCreate(wxWindow *parent) wxFont font = m_fontData.GetInitialFont(); if( font.Ok() ) { - wxNativeFontInfo *info = font.GetNativeFontInfo(); + const wxNativeFontInfo *info = font.GetNativeFontInfo(); if ( info ) { @@ -189,3 +191,5 @@ void wxFontDialog::SetChosenFont(const char *fontname) #endif // wxUSE_FONTDLG +#endif // GPE +