diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index a9cb16b074..c2a6fa43c8 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -122,6 +122,7 @@ public: // PangoContext stuff for GTK 2.0 #ifdef __WXGTK20__ PangoContext *m_context; + PangoLayout *m_layout; PangoFontDescription *m_fontdesc; #endif diff --git a/include/wx/gtk/font.h b/include/wx/gtk/font.h index bad03b9d6b..d66fbe1c1c 100644 --- a/include/wx/gtk/font.h +++ b/include/wx/gtk/font.h @@ -102,7 +102,9 @@ public: // implementation from now on void Unshare(); +#ifndef __WXGTK20__ GdkFont* GetInternalFont(float scale = 1.0) const; +#endif // no data :-) diff --git a/include/wx/gtk1/dcclient.h b/include/wx/gtk1/dcclient.h index a9cb16b074..c2a6fa43c8 100644 --- a/include/wx/gtk1/dcclient.h +++ b/include/wx/gtk1/dcclient.h @@ -122,6 +122,7 @@ public: // PangoContext stuff for GTK 2.0 #ifdef __WXGTK20__ PangoContext *m_context; + PangoLayout *m_layout; PangoFontDescription *m_fontdesc; #endif diff --git a/include/wx/gtk1/font.h b/include/wx/gtk1/font.h index bad03b9d6b..d66fbe1c1c 100644 --- a/include/wx/gtk1/font.h +++ b/include/wx/gtk1/font.h @@ -102,7 +102,9 @@ public: // implementation from now on void Unshare(); +#ifndef __WXGTK20__ GdkFont* GetInternalFont(float scale = 1.0) const; +#endif // no data :-)