improve the spinbox and inputbox

improve the input check for spinbox
add a verifier to check user input for inputbox
This commit is contained in:
cnjinhao
2015-02-07 11:47:45 +08:00
parent e0a9a94a8b
commit 274155b1da
7 changed files with 174 additions and 129 deletions

View File

@@ -321,7 +321,7 @@ namespace detail
//Thread-Safe Required!
std::lock_guard<decltype(mutex_)> lock(mutex_);
if (impl_->wd_register.available(parent) == false)
return nullptr;
throw std::invalid_argument("invalid parent/owner handle");
core_window_t * wd;
if(is_lite)