various fixes

fixed compiler warnings
fixed bad overridings
fixed FreeBSD support
This commit is contained in:
Jinhao
2018-05-22 14:22:58 +08:00
parent 26ce77ded5
commit 216cb786e7
7 changed files with 14 additions and 9 deletions

View File

@@ -817,7 +817,7 @@ namespace drawerbase {
editor->reset_caret_pixels();
}
std::shared_ptr<scroll_operation_interface> textbox::_m_scroll_operation() const
std::shared_ptr<scroll_operation_interface> textbox::_m_scroll_operation()
{
internal_scope_guard lock;
auto editor = get_drawer_trigger().editor();