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
This commit is contained in:
@@ -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
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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 <vadim@wxwidgets.org>
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user