.cosmetics

This commit is contained in:
Mirek Fidler 2023-05-11 16:15:02 +02:00
parent 7a88b8488e
commit 63f32da1c1
3 changed files with 21 additions and 1 deletions

View file

@ -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;

View file

@ -0,0 +1,9 @@
uses
CtrlLib;
file
main.cpp;
mainconfig
"" = "GUI";

View 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();
}