| 1030 | } |
| 1031 | |
| 1032 | Label* LookAndFeelBase::createComboBoxTextBox(ComboBox &comboBox) |
| 1033 | { |
| 1034 | using namespace luabind; |
| 1035 | |
| 1036 | if (methods.contains("createComboBoxTextBox")) |
| 1037 | { |
| 1038 | try |
| 1039 | { |
| 1040 | Label *l = call_function<Label*>( |
| 1041 | methods["createComboBoxTextBox"], |
| 1042 | boost::ref(comboBox) |
| 1043 | ); |
| 1044 | |
| 1045 | if (l != nullptr) |
| 1046 | { |
| 1047 | return (l); |
| 1048 | } |
| 1049 | |
| 1050 | return (LookAndFeel_V2::createComboBoxTextBox(comboBox)); |
| 1051 | } |
| 1052 | catch (luabind::error &e) |
| 1053 | { |
| 1054 | _WRN(object_cast <std::string> (object(luabind::from_stack(e.state(), -1)))); |
| 1055 | return (LookAndFeel_V2::createComboBoxTextBox(comboBox)); |
| 1056 | } |
| 1057 | } |
| 1058 | else |
| 1059 | { |
| 1060 | return (LookAndFeel_V2::createComboBoxTextBox(comboBox)); |
| 1061 | } |
| 1062 | } |
| 1063 | |
| 1064 | void LookAndFeelBase::positionComboBoxText(ComboBox &comboBox, Label &label) |
| 1065 | { |
nothing calls this directly
no test coverage detected