2009-02-26 12:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.c
! Fixed HB_GTI_CLOSABLE when set before window initialization.
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-02-26 12:44 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/gtwvt/gtwvt.c
|
||||
! Fixed HB_GTI_CLOSABLE when set before window initialization.
|
||||
|
||||
2009-02-26 12:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* config/rules.cf
|
||||
* config/win/global.cf
|
||||
|
||||
@@ -1864,14 +1864,17 @@ static BOOL hb_gt_wvt_CreateConsoleWindow( PHB_GTWVT pWVT )
|
||||
hb_xfree( pFileName );
|
||||
}
|
||||
|
||||
/* Create "Mark" prompt in SysMenu to allow console type copy operation */
|
||||
{
|
||||
HMENU hSysMenu = GetSystemMenu( pWVT->hWnd, FALSE );
|
||||
if( hSysMenu )
|
||||
{
|
||||
/* Create "Mark" prompt in SysMenu to allow console type copy operation */
|
||||
LPTSTR buffer = HB_TCHAR_CONVTO( pWVT->pszSelectCopy );
|
||||
AppendMenu( hSysMenu, MF_STRING, SYS_EV_MARK, buffer );
|
||||
HB_TCHAR_FREE( buffer );
|
||||
|
||||
if( ! pWVT->bClosable )
|
||||
EnableMenuItem( hSysMenu, SC_CLOSE, MF_BYCOMMAND | MF_GRAYED );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user