controls sample tests a bit more
combox doesn't send start-up event spinbutton looks correct now slider had vertic/horiz flags mixed up threads use gdk_enter_gui() dnd works a bit more often git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -697,9 +697,12 @@ void MyPanel::OnPageChanged( wxNotebookEvent &event )
|
||||
|
||||
void MyPanel::OnListBox( wxCommandEvent &event )
|
||||
{
|
||||
m_text->AppendText( "ListBox selection string is: " );
|
||||
m_text->AppendText( "ListBox event selection string is: " );
|
||||
m_text->AppendText( event.GetString() );
|
||||
m_text->AppendText( "\n" );
|
||||
m_text->AppendText( "ListBox control selection string is: " );
|
||||
m_text->AppendText( m_listbox->GetStringSelection() );
|
||||
m_text->AppendText( "\n" );
|
||||
}
|
||||
|
||||
void MyPanel::OnListBoxDoubleClick( wxCommandEvent &event )
|
||||
@@ -763,9 +766,12 @@ void MyPanel::OnListBoxButtons( wxCommandEvent &event )
|
||||
|
||||
void MyPanel::OnChoice( wxCommandEvent &event )
|
||||
{
|
||||
m_text->AppendText( "Choice selection string is: " );
|
||||
m_text->AppendText( "Choice event selection string is: " );
|
||||
m_text->AppendText( event.GetString() );
|
||||
m_text->AppendText( "\n" );
|
||||
m_text->AppendText( "Choice control selection string is: " );
|
||||
m_text->AppendText( m_choice->GetStringSelection() );
|
||||
m_text->AppendText( "\n" );
|
||||
}
|
||||
|
||||
void MyPanel::OnChoiceButtons( wxCommandEvent &event )
|
||||
@@ -813,9 +819,12 @@ void MyPanel::OnChoiceButtons( wxCommandEvent &event )
|
||||
|
||||
void MyPanel::OnCombo( wxCommandEvent &event )
|
||||
{
|
||||
m_text->AppendText( "ComboBox selection string is: " );
|
||||
m_text->AppendText( "ComboBox event selection string is: " );
|
||||
m_text->AppendText( event.GetString() );
|
||||
m_text->AppendText( "\n" );
|
||||
m_text->AppendText( "ComboBox control selection string is: " );
|
||||
m_text->AppendText( m_combo->GetStringSelection() );
|
||||
m_text->AppendText( "\n" );
|
||||
}
|
||||
|
||||
void MyPanel::OnComboButtons( wxCommandEvent &event )
|
||||
|
Reference in New Issue
Block a user