Browse Source

* fix problem if started through cygwin bash

pierre 23 years ago
parent
commit
d79dc856ba
2 changed files with 11 additions and 3 deletions
  1. 5 1
      demo/win32/menu.pp
  2. 6 2
      demo/win32/winhello.pp

+ 5 - 1
demo/win32/menu.pp

@@ -302,6 +302,7 @@ Begin
       AppendMenu(Menu,MF_STRING,0,'&Help');
       SetMenu(hWindow,menu);
       ShowWindow(hWindow,CmdShow);
+      ShowWindow(hWindow,SW_SHOW);
       UpdateWindow(hWindow);
     End;
   Result := hWindow;
@@ -340,7 +341,10 @@ End.
 
 {
   $Log$
-  Revision 1.2  2002-02-21 11:43:54  pierre
+  Revision 1.3  2002-02-22 13:37:49  pierre
+   * fix problem if started through cygwin bash
+
+  Revision 1.2  2002/02/21 11:43:54  pierre
    * fix range check problems and wrong uses of HEdit and HStatus handles
 
   Revision 1.1  2001/05/03 21:39:34  peter

+ 6 - 2
demo/win32/winhello.pp

@@ -79,6 +79,7 @@ begin
 
   if hWindow <> 0 then begin
     ShowWindow(hWindow, CmdShow);
+    ShowWindow(hWindow, SW_SHOW);
     UpdateWindow(hWindow);
   end;
 
@@ -110,7 +111,10 @@ end.
 
 {
   $Log$
-  Revision 1.2  2001-09-04 01:08:09  carl
+  Revision 1.3  2002-02-22 13:37:49  pierre
+   * fix problem if started through cygwin bash
+
+  Revision 1.2  2001/09/04 01:08:09  carl
   * bugfix of range check errors (bug #1588)
   + added win32 types for easier porting to win64
 
@@ -119,5 +123,5 @@ end.
 
   Revision 1.2  2000/07/13 11:33:10  michael
   + removed logs
- 
+
 }