]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/private.h
Get/SetTitle only for wxTopLevelWindow.
[wxWidgets.git] / include / wx / gtk1 / private.h
index 2de9a3c5403c3a10c4692c6d1ee350688848743d..d283191754ba2d55da3f451f40618968d5c86fe5 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     12.03.02
 // RCS-ID:      $Id$
 // Copyright:   (c) 2002 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_GTK_PRIVATE_H_
@@ -131,5 +131,19 @@ inline wxEventType GtkScrollWinTypeToWx(guint scrollType)
             wxEVT_SCROLLWIN_TOP - wxEVT_SCROLL_TOP;
 }
 
+#ifdef __WXGTK20__
+// Escapes string so that it is valid Pango markup XML string:
+WXDLLIMPEXP_CORE wxString wxEscapeStringForPangoMarkup(const wxString& str);
+#endif
+
+// The declaration for gtk_icon_size_lookup was accidentally ifdefed out in
+// GTK+ 2.1.0 which Sun seem to have shipped with some versions of JDS
+// for Solaris 9 x86.
+#ifdef NEED_GTK_ICON_SIZE_LOOKUP
+extern "C" gboolean gtk_icon_size_lookup  (GtkIconSize  size,
+                                           gint         *width,
+                                           gint         *height);
+#endif
+
 #endif // _WX_GTK_PRIVATE_H_