diff options
author | crupest <crupest@outlook.com> | 2018-09-19 22:19:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-19 22:19:52 +0800 |
commit | 938391d2e0654bf2f57a67871753a056023e0d2c (patch) | |
tree | ba8beba43ce5f59d33113677414bdc329cbaf56e /CruUI/ui/control.cpp | |
parent | 85bb4d466efeb2540363065d7c0987a9d60f70e9 (diff) | |
download | cru-938391d2e0654bf2f57a67871753a056023e0d2c.tar.gz cru-938391d2e0654bf2f57a67871753a056023e0d2c.tar.bz2 cru-938391d2e0654bf2f57a67871753a056023e0d2c.zip |
Rename some event functions.
Diffstat (limited to 'CruUI/ui/control.cpp')
-rw-r--r-- | CruUI/ui/control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CruUI/ui/control.cpp b/CruUI/ui/control.cpp index 1fa7a08d..adf429b1 100644 --- a/CruUI/ui/control.cpp +++ b/CruUI/ui/control.cpp @@ -343,7 +343,7 @@ namespace cru { } - void Control::OnPositionChangedInternal(PositionChangedEventArgs& args) + void Control::RaisePositionChangedEvent(PositionChangedEventArgs& args) { OnPositionChangedCore(args); OnPositionChanged(args); @@ -563,7 +563,7 @@ namespace cru { if (this->old_position_ != this->position_) { PositionChangedEventArgs args(this, this, this->old_position_, this->position_); - this->OnPositionChangedInternal(args); + this->RaisePositionChangedEvent(args); this->old_position_ = this->position_; } } |