Fix to not break GTK2 output. (wxLogMessage bug).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1139,10 +1139,12 @@ void MyPanel::OnCombo( wxCommandEvent &event )
|
|||||||
m_text->AppendText( "\n" );
|
m_text->AppendText( "\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyPanel::OnComboTextChanged(wxCommandEvent& WXUNUSED(event))
|
void MyPanel::OnComboTextChanged(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
wxLogMessage(_T("Text in the combobox changed: now is '%s'."),
|
wxString str;
|
||||||
m_combo->GetValue().c_str());
|
str.Printf( wxT("Text in the combobox changed: now is '%s'."),
|
||||||
|
event.GetString().c_str() );
|
||||||
|
wxLogMessage( str.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyPanel::OnComboTextEnter(wxCommandEvent& WXUNUSED(event))
|
void MyPanel::OnComboTextEnter(wxCommandEvent& WXUNUSED(event))
|
||||||
|
Reference in New Issue
Block a user