mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Change the textctrl->SetLabel's to textctrl->SetValue's in stable too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/branches/stable@5369 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -180,7 +180,7 @@ void ControlChooser::UpdateGUI()
|
|||||||
if ( bound ) ss << bound; else ss << "None";
|
if ( bound ) ss << bound; else ss << "None";
|
||||||
m_bound_label->SetLabel( wxString::FromAscii(ss.str().c_str()) );
|
m_bound_label->SetLabel( wxString::FromAscii(ss.str().c_str()) );
|
||||||
|
|
||||||
textctrl->SetLabel( wxString::FromAscii( control_reference->control_qualifier.name.c_str() ) );
|
textctrl->SetValue( wxString::FromAscii( control_reference->control_qualifier.name.c_str() ) );
|
||||||
};
|
};
|
||||||
|
|
||||||
void GamepadPage::UpdateGUI()
|
void GamepadPage::UpdateGUI()
|
||||||
@ -229,7 +229,7 @@ void GamepadPage::SetControl( wxCommandEvent& event )
|
|||||||
{
|
{
|
||||||
m_plugin.controls_crit.Enter(); // enter
|
m_plugin.controls_crit.Enter(); // enter
|
||||||
|
|
||||||
m_control_dialog->control_reference->control_qualifier.name = std::string( m_control_dialog->control_chooser->textctrl->GetLabel().ToAscii() );
|
m_control_dialog->control_reference->control_qualifier.name = std::string( m_control_dialog->control_chooser->textctrl->GetValue().ToAscii() );
|
||||||
m_control_dialog->control_reference->UpdateControls();
|
m_control_dialog->control_reference->UpdateControls();
|
||||||
m_control_dialog->control_chooser->UpdateGUI();
|
m_control_dialog->control_chooser->UpdateGUI();
|
||||||
|
|
||||||
@ -372,7 +372,7 @@ void ControlDialog::SelectControl( wxCommandEvent& event )
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
if (!((wxWindow*)this)->IsBeingDeleted())
|
if (!((wxWindow*)this)->IsBeingDeleted())
|
||||||
#endif
|
#endif
|
||||||
control_chooser->textctrl->SetLabel( final_label );
|
control_chooser->textctrl->SetValue( final_label );
|
||||||
|
|
||||||
#ifndef __linux__ // This causes the application to hang in linux
|
#ifndef __linux__ // This causes the application to hang in linux
|
||||||
// kinda dumb
|
// kinda dumb
|
||||||
|
Reference in New Issue
Block a user