mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.cosmetics
This commit is contained in:
parent
7a88b8488e
commit
63f32da1c1
3 changed files with 21 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ bool Sqlite3PerformScript(const String& txt, StatementExecutor& se, Gate<int, in
|
|||
else
|
||||
stmt.Cat(*text++);
|
||||
}
|
||||
if(progress_canceled(text - txt.Begin(), txt.GetLength()))
|
||||
if(progress_canceled(int(text - txt.Begin()), txt.GetLength()))
|
||||
return false;
|
||||
if(!se.Execute(stmt))
|
||||
return false;
|
||||
|
|
|
|||
9
upptst/DropTimeTest/DropTimeTest.upp
Normal file
9
upptst/DropTimeTest/DropTimeTest.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
|
||||
11
upptst/DropTimeTest/main.cpp
Normal file
11
upptst/DropTimeTest/main.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
DropTime ctrl;
|
||||
TopWindow win;
|
||||
win << ctrl.TopPos(10).LeftPos(10, 500);
|
||||
win.Run();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue