No changes, just removed hard tabs and trailing white space.
This commit is huge but there are no non-white-space changes in it. Some files containing third-party sources (src/msw/wince/time.cpp, src/x11/pango*.cpp) were left unchanged. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,7 +134,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
|
||||
|
||||
wxTextWidgetImpl* wxTextCtrl::GetTextPeer() const
|
||||
{
|
||||
return dynamic_cast<wxTextWidgetImpl*> (m_peer);
|
||||
return dynamic_cast<wxTextWidgetImpl*> (m_peer);
|
||||
}
|
||||
|
||||
void wxTextCtrl::MacSuperChangedPosition()
|
||||
@@ -486,7 +486,7 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
|
||||
// allow navigation and deletion
|
||||
GetSelection( &from, &to );
|
||||
if ( !IsMultiLine() && m_maxLength && GetValue().length() >= m_maxLength &&
|
||||
key != WXK_LEFT && key != WXK_RIGHT && key != WXK_TAB && key != WXK_UP && key != WXK_DOWN &&
|
||||
key != WXK_LEFT && key != WXK_RIGHT && key != WXK_TAB && key != WXK_UP && key != WXK_DOWN &&
|
||||
key != WXK_BACK && key != WXK_DELETE && !( key == WXK_RETURN && (m_windowStyle & wxTE_PROCESS_ENTER) ) &&
|
||||
from == to )
|
||||
{
|
||||
|
Reference in New Issue
Block a user