refactor wxMSW code to extract parts common to wxTextCtrl and wxComboBox into wxTextEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -468,7 +468,7 @@ wxTextAreaBase::HitTest(const wxPoint& WXUNUSED(pt), long * WXUNUSED(pos)) const
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
/* static */
|
||||
void wxTextCtrlBase::SendTextUpdatedEvent(wxWindow *win)
|
||||
bool wxTextCtrlBase::SendTextUpdatedEvent(wxWindow *win)
|
||||
{
|
||||
wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, win->GetId());
|
||||
|
||||
@@ -479,7 +479,7 @@ void wxTextCtrlBase::SendTextUpdatedEvent(wxWindow *win)
|
||||
//event.SetString(win->GetValue());
|
||||
|
||||
event.SetEventObject(win);
|
||||
win->GetEventHandler()->ProcessEvent(event);
|
||||
return win->GetEventHandler()->ProcessEvent(event);
|
||||
}
|
||||
|
||||
#else // !wxUSE_TEXTCTRL
|
||||
|
Reference in New Issue
Block a user