no throw()
This commit is contained in:
@@ -1037,7 +1037,7 @@ namespace nana
|
||||
API::refresh_window(*this);
|
||||
}
|
||||
|
||||
auto combox::_m_caption() const throw() -> native_string_type
|
||||
auto combox::_m_caption() const noexcept -> native_string_type
|
||||
{
|
||||
internal_scope_guard lock;
|
||||
auto editor = _m_impl().editor();
|
||||
|
||||
@@ -239,7 +239,7 @@ namespace nana{
|
||||
_m_init();
|
||||
}
|
||||
|
||||
auto group::_m_caption() const throw() -> native_string_type
|
||||
auto group::_m_caption() const noexcept -> native_string_type
|
||||
{
|
||||
return impl_->caption.caption_native();
|
||||
}
|
||||
|
||||
@@ -825,7 +825,7 @@ namespace nana
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool label::transparent() const throw()
|
||||
bool label::transparent() const noexcept
|
||||
{
|
||||
return API::is_transparent_background(*this);
|
||||
}
|
||||
@@ -849,7 +849,7 @@ namespace nana
|
||||
return *this;
|
||||
}
|
||||
|
||||
label& label::click_for(window associated_window) throw()
|
||||
label& label::click_for(window associated_window) noexcept
|
||||
{
|
||||
get_drawer_trigger().impl()->for_associated_wd = associated_window;
|
||||
return *this;
|
||||
|
||||
@@ -764,7 +764,7 @@ namespace nana
|
||||
modifier(to_utf8(prefix), to_utf8(suffix));
|
||||
}
|
||||
|
||||
auto spinbox::_m_caption() const throw() -> native_string_type
|
||||
auto spinbox::_m_caption() const noexcept -> native_string_type
|
||||
{
|
||||
internal_scope_guard lock;
|
||||
auto editor = get_drawer_trigger().impl()->editor();
|
||||
|
||||
@@ -1533,7 +1533,7 @@ namespace nana
|
||||
delete model_;
|
||||
}
|
||||
|
||||
model* driver::get_model() const throw()
|
||||
model* driver::get_model() const noexcept
|
||||
{
|
||||
return model_;
|
||||
}
|
||||
|
||||
@@ -785,7 +785,7 @@ namespace drawerbase {
|
||||
}
|
||||
|
||||
//Override _m_caption for caption()
|
||||
auto textbox::_m_caption() const throw() -> native_string_type
|
||||
auto textbox::_m_caption() const noexcept -> native_string_type
|
||||
{
|
||||
internal_scope_guard lock;
|
||||
auto editor = get_drawer_trigger().editor();
|
||||
|
||||
@@ -54,12 +54,12 @@ namespace nana
|
||||
widget& wdg_;
|
||||
};
|
||||
|
||||
std::string widget::caption() const throw()
|
||||
std::string widget::caption() const noexcept
|
||||
{
|
||||
return to_utf8(_m_caption());
|
||||
}
|
||||
|
||||
std::wstring widget::caption_wstring() const throw()
|
||||
std::wstring widget::caption_wstring() const noexcept
|
||||
{
|
||||
#if defined(NANA_WINDOWS)
|
||||
return _m_caption();
|
||||
@@ -68,7 +68,7 @@ namespace nana
|
||||
#endif
|
||||
}
|
||||
|
||||
auto widget::caption_native() const throw() -> native_string_type
|
||||
auto widget::caption_native() const noexcept -> native_string_type
|
||||
{
|
||||
return _m_caption();
|
||||
}
|
||||
@@ -282,7 +282,7 @@ namespace nana
|
||||
void widget::_m_complete_creation()
|
||||
{}
|
||||
|
||||
auto widget::_m_caption() const throw() -> native_string_type
|
||||
auto widget::_m_caption() const noexcept -> native_string_type
|
||||
{
|
||||
return API::dev::window_caption(handle());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user