introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2135,11 +2135,11 @@ wxListTextCtrlWrapper::wxListTextCtrlWrapper(wxListMainWindow *owner,
|
||||
void wxListTextCtrlWrapper::EndEdit(bool discardChanges)
|
||||
{
|
||||
m_aboutToFinish = true;
|
||||
|
||||
|
||||
if ( discardChanges )
|
||||
{
|
||||
m_owner->OnRenameCancelled(m_itemEdited);
|
||||
|
||||
|
||||
Finish( true );
|
||||
}
|
||||
else
|
||||
@@ -2158,7 +2158,7 @@ void wxListTextCtrlWrapper::Finish( bool setfocus )
|
||||
m_owner->ResetTextControl( m_text );
|
||||
|
||||
wxPendingDelete.Append( this );
|
||||
|
||||
|
||||
if (setfocus)
|
||||
m_owner->SetFocusIgnoringChildren();
|
||||
}
|
||||
@@ -2215,7 +2215,7 @@ void wxListTextCtrlWrapper::OnKeyUp( wxKeyEvent &event )
|
||||
sx = mySize.x;
|
||||
m_text->SetSize(sx, wxDefaultCoord);
|
||||
}
|
||||
|
||||
|
||||
event.Skip();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user