summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-05-27 09:17:44 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-05-27 09:17:44 +0000
commit02ebc6f54c62483a716717789a88b82dd19a92b7 (patch)
treeda852f6017727c14a313dd796868c7f9bc55d7ae /src/corelib/gdi
parentef4adc6f504d55646e8ac06ae8d77f8f1a4cc955 (diff)
downloadfpGUI-02ebc6f54c62483a716717789a88b82dd19a92b7.tar.xz
* Applied Vladimir's patch so non-resizeable forms can be minimized under Windows.
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r--src/corelib/gdi/gfx_gdi.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index 4482aa90..f55f9b4c 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -1153,7 +1153,7 @@ begin
end;
if (FWindowType <> wtChild) and not (waSizeable in FWindowAttributes) then
- FWinStyle := FWinStyle and not (WS_SIZEBOX or WS_MAXIMIZEBOX or WS_MINIMIZEBOX);
+ FWinStyle := FWinStyle and not (WS_SIZEBOX or WS_MAXIMIZEBOX);
FWinStyle := FWinStyle or WS_CLIPCHILDREN or WS_CLIPSIBLINGS;