GTK prefix for internal tooltip methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-02-13 10:10:36 +00:00
parent 71ead4bf23
commit 7fc8b9a4fe
8 changed files with 18 additions and 21 deletions

View File

@@ -85,7 +85,7 @@ public:
GtkWidget *GetConnectWidget();
#if wxUSE_TOOLTIPS
void ApplyToolTip( GtkTooltips *tips, const gchar *tip );
void GTKApplyToolTip( GtkTooltips *tips, const gchar *tip );
#endif // wxUSE_TOOLTIPS
struct _GtkTreeView *m_treeview;

View File

@@ -131,7 +131,7 @@ public:
void GtkDisableEvents();
void GtkEnableEvents();
#if wxUSE_TOOLTIPS
void ApplyToolTip( GtkTooltips *tips, const gchar *tip );
void GTKApplyToolTip( GtkTooltips *tips, const gchar *tip );
#endif // wxUSE_TOOLTIPS
wxRadioBoxButtonsInfoList m_buttonsInfo;

View File

@@ -46,15 +46,12 @@ public:
bool IsOk() const { return m_window != NULL; }
// wxGTK-only from now on
// this forwards back to wxWindow::ApplyToolTip()
void Apply( wxWindow *win );
// this forwards back to wxWindow::GTKApplyToolTip()
void GTKApply( wxWindow *win );
// this just sets the given tooltip for the specified widget
//
// tip must be already UTF-8 encoded
static void Apply(GtkWidget *w, const gchar *tip);
// tip must be UTF-8 encoded
static void GTKApply(GtkWidget *w, const gchar *tip);
private:
wxString m_text;

View File

@@ -217,7 +217,7 @@ public:
#if wxUSE_TOOLTIPS
// applies tooltip to the widget (tip must be UTF-8 encoded)
virtual void ApplyToolTip( GtkTooltips *tips, const gchar *tip );
virtual void GTKApplyToolTip( GtkTooltips *tips, const gchar *tip );
#endif // wxUSE_TOOLTIPS
// Called when a window should delay showing itself