mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
CtrLib minor fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1571 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f8c673d30d
commit
5ed1c4e631
1 changed files with 10 additions and 0 deletions
|
|
@ -680,6 +680,16 @@ void Calendar::SetTime(const Time &tm)
|
|||
UpdateFields();
|
||||
}
|
||||
|
||||
void Calendar::PopUp(Ctrl *owner, Rect &rt)
|
||||
{
|
||||
Close();
|
||||
Reset();
|
||||
SetPopUp(true);
|
||||
SetRect(rt);
|
||||
Ctrl::PopUp(owner, true, true, GUI_DropShadows());
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
void Calendar::SetView(const Time &v)
|
||||
{
|
||||
view = v;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue