| 366 | } |
| 367 | |
| 368 | wxTextCtrl * ShuttleGuiGetDefinition::TieNumericTextBox( |
| 369 | const TranslatableString & Prompt, |
| 370 | const DoubleSetting &Setting, |
| 371 | const int nChars, bool acceptEnter) |
| 372 | { |
| 373 | StartStruct(); |
| 374 | AddItem( Setting.GetPath(), "id" ); |
| 375 | AddItem( Prompt.Translation(), "prompt" ); |
| 376 | AddItem( "number", "type" ); |
| 377 | AddItem( Setting.GetDefault(), "default" ); |
| 378 | EndStruct(); |
| 379 | return ShuttleGui::TieNumericTextBox( Prompt, Setting, nChars, acceptEnter ); |
| 380 | } |
| 381 | |
| 382 | wxSlider * ShuttleGuiGetDefinition::TieSlider( |
| 383 | const TranslatableString & Prompt, |