From eccace042d8adfe2d45dae21ad924bfc4e0d9ed9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Apr 2012 23:18:01 +0000 Subject: [PATCH] No real changes, just fix misspellings in comments in wxGTK code. Also remove a couple of wrong $Id$ expansions. Closes #14203. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/anybutton.cpp | 2 +- src/gtk/listbox.cpp | 2 +- src/gtk/nonownedwnd.cpp | 2 +- src/gtk/textctrl.cpp | 4 ++-- src/gtk/toplevel.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gtk/anybutton.cpp b/src/gtk/anybutton.cpp index eb5f525347..ca5320bd61 100644 --- a/src/gtk/anybutton.cpp +++ b/src/gtk/anybutton.cpp @@ -3,7 +3,7 @@ // Purpose: // Author: Robert Roebling // Created: 1998-05-20 (extracted from button.cpp) -// Id: $Id: anybutton.cpp 67326 2011-03-28 06:27:49Z PC $ +// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index d76523b681..52e14405a1 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -210,7 +210,7 @@ static gint gtk_listbox_sort_callback(GtkTreeModel * WXUNUSED(model), wxCHECK_MSG(entry2, 0, wxT("Could not get second entry")); //We compare collate keys here instead of calling g_utf8_collate - //as it is rather slow (and even the docs reccommend this) + //as it is rather slow (and even the docs recommend this) return strcmp(gtk_tree_entry_get_collate_key(entry1), gtk_tree_entry_get_collate_key(entry2)) >= 0; } diff --git a/src/gtk/nonownedwnd.cpp b/src/gtk/nonownedwnd.cpp index 95e4288a85..e4706c8bae 100644 --- a/src/gtk/nonownedwnd.cpp +++ b/src/gtk/nonownedwnd.cpp @@ -3,7 +3,7 @@ // Purpose: wxGTK implementation of wxNonOwnedWindow. // Author: Vadim Zeitlin // Created: 2011-10-12 -// RCS-ID: $Id: wxhead.cpp,v 1.11 2010-04-22 12:44:51 zeitlin Exp $ +// RCS-ID: $Id$ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 6a6b14820e..ac60261064 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -787,7 +787,7 @@ bool wxTextCtrl::Create( wxWindow *parent, GtkTextIter start, end; // We create our wxUrl tag here for slight efficiency gain - we - // don't have to check for the tag existance in callbacks, + // don't have to check for the tag existence in callbacks, // hereby it's guaranteed to exist. gtk_text_buffer_create_tag(m_buffer, "wxUrl", "foreground", "blue", @@ -1953,7 +1953,7 @@ void wxTextCtrl::OnUrlMouseEvent(wxMouseEvent& event) gtk_text_iter_forward_to_tag_toggle(&end, tag); // Native context menu is probably not desired on an URL. - // Consider making this dependant on ProcessEvent(wxTextUrlEvent) return value + // Consider making this dependent on ProcessEvent(wxTextUrlEvent) return value if(event.GetEventType() == wxEVT_RIGHT_DOWN) event.Skip(false); diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index d655fbad2e..9083590a17 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -191,7 +191,7 @@ gboolean gtk_frame_focus_out_callback(GtkWidget * WXUNUSED(widget), GdkEventFocus *WXUNUSED(gdk_event), wxTopLevelWindowGTK * WXUNUSED(win)) { - // if the focus goes out of our app alltogether, OnIdle() will send + // if the focus goes out of our app altogether, OnIdle() will send // wxActivateEvent, otherwise gtk_window_focus_in_callback() will reset // g_sendActivateEvent to -1 g_sendActivateEvent = 0; -- 2.45.2