diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-04 11:31:32 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-08 14:46:52 +0200 |
commit | 7c9bdc0f987fada42072f9b87a96874df54bc22a (patch) | |
tree | ef5bdcaaab77a047aa71e254f26285c0282f7eb1 /src/corelib/gdi | |
parent | efb26f50ec317c71c54459a4aefa24ad415ce476 (diff) | |
download | fpGUI-7c9bdc0f987fada42072f9b87a96874df54bc22a.tar.xz |
GDI: ShellExecute now uses correct application state
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r-- | src/corelib/gdi/fpg_utils_impl.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/fpg_utils_impl.inc b/src/corelib/gdi/fpg_utils_impl.inc index f9b79933..d8b9ce88 100644 --- a/src/corelib/gdi/fpg_utils_impl.inc +++ b/src/corelib/gdi/fpg_utils_impl.inc @@ -20,7 +20,7 @@ procedure fpgOpenURL(const aURL: TfpgString); begin try {$IFNDEF wince} - ShellExecute(0, 'open', PChar(aURL), nil, nil, 0) ; + ShellExecute(0, 'open', PChar(aURL), nil, nil, 1 {SW_SHOWNORMAL}); {$ENDIF} except // do nothing |