A few resize bugs removed

combo box now emits EVT_TEXT
  position of pop-up menu can now be set


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-01-26 11:35:26 +00:00
parent 69919241d3
commit 0c77152e0d
11 changed files with 142 additions and 38 deletions

View File

@@ -42,10 +42,10 @@ gtk_text_changed_callback( GtkWidget *WXUNUSED(widget), wxTextCtrl *win )
win->CalculateScrollbar();
wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, win->m_windowId );
wxString val( win->GetValue() );
if (!val.IsNull()) event.m_commandString = WXSTRINGCAST val;
event.SetString( copystring(win->GetValue()) );
event.SetEventObject( win );
win->GetEventHandler()->ProcessEvent( event );
delete[] event.GetString();
}
//-----------------------------------------------------------------------------