X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..eaba6eba3a1ca393e6ecbafa601cc3b54e705901:/src/gtk/fontpicker.cpp diff --git a/src/gtk/fontpicker.cpp b/src/gtk/fontpicker.cpp index 8934897134..27d8bb19bf 100644 --- a/src/gtk/fontpicker.cpp +++ b/src/gtk/fontpicker.cpp @@ -17,23 +17,17 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/gtk/private.h" +#if wxUSE_FONTPICKERCTRL && defined(__WXGTK24__) + #include "wx/fontpicker.h" #include "wx/fontutil.h" // for wxNativeFontInfo #include "wx/gtk/private.h" -#include -#include - - - // ============================================================================ // implementation // ============================================================================ -#if wxUSE_FONTPICKERCTRL && defined(__WXGTK24__) - //----------------------------------------------------------------------------- // "font-set" //----------------------------------------------------------------------------- @@ -126,4 +120,4 @@ void wxFontButton::UpdateFont() wxGenericFontButton::UpdateFont(); } -#endif // wxUSE_FONTPICKERCTRL +#endif // wxUSE_FONTPICKERCTRL && defined(__WXGTK24__)