mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 22:58:50 +02:00
Changed NEWPROJECT to call NEWFORMCLICKED to create the first unit.
Shane git-svn-id: trunk@203 -
This commit is contained in:
parent
99d36d5c1e
commit
4c029112d0
10
ide/main.pp
10
ide/main.pp
@ -1517,7 +1517,7 @@ Begin
|
||||
|
||||
//create first form file
|
||||
|
||||
TempSource.Clear;
|
||||
(* TempSource.Clear;
|
||||
TempSource.Add('unit Unit1;');
|
||||
TempSource.Add('');
|
||||
tempSource.Add('{$mode objfpc}');
|
||||
@ -1540,7 +1540,9 @@ Begin
|
||||
TempSource.Add('end.');
|
||||
|
||||
SourceNotebook.NewFile('Unit1',TempSource,True);
|
||||
|
||||
*)
|
||||
mnuNewFormClicked(sender);
|
||||
|
||||
Proj_Info := TUnitInfo.Create;
|
||||
with Proj_Info do
|
||||
Begin
|
||||
@ -1783,6 +1785,10 @@ end.
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.66 2001/02/27 18:39:22 lazarus
|
||||
Changed NEWPROJECT to call NEWFORMCLICKED to create the first unit.
|
||||
Shane
|
||||
|
||||
Revision 1.65 2001/02/25 16:32:48 lazarus
|
||||
MWE:
|
||||
+ Added new debugger classes
|
||||
|
Loading…
Reference in New Issue
Block a user