Commit Graph

5324 Commits

Author SHA1 Message Date
paul
2f1f84b816 win32: don't count origin between memory/metafile DC and window in the GetDCOriginRelativeToWindow - it is imposible to do
git-svn-id: trunk@19055 -
2009-03-21 15:36:01 +00:00
zeljko
4e51b1e797 Qt: bugfix for #13361
git-svn-id: trunk@19042 -
2009-03-20 11:53:42 +00:00
paul
8ed5064c16 gtk2: implement BorderStyle setting for GtkEntry (TEdit)
git-svn-id: trunk@19038 -
2009-03-20 04:19:23 +00:00
paul
a8c551af68 gtk2: apply TMemo.BorderStyle at widget creation
git-svn-id: trunk@19036 -
2009-03-20 02:09:03 +00:00
zeljko
770b3bce3c Qt: don't release QLabels inside QStatusBar on statusbar destroy, can raise AV, statusbar should clean such widgets.
git-svn-id: trunk@19033 -
2009-03-19 15:47:20 +00:00
jesus
cd1ecbf189 LCL, fix gtk2 opendialog filter selection, issue #13111
git-svn-id: trunk@19026 -
2009-03-18 19:16:49 +00:00
paul
5c9f7efdf3 lcl: set default value for TScrollBox.BorderStyle to bsSingle
win32, wince: handle TScrollBox.BorderStyle on window creation
(issue #0013346)

git-svn-id: trunk@19023 -
2009-03-18 10:48:43 +00:00
dmitry
e734a9ddb8 fix for bug #0013344
git-svn-id: trunk@19021 -
2009-03-18 09:54:52 +00:00
zeljko
02c50e3d3e Qt: implemented setBorderStyle for IQtEdit interface
git-svn-id: trunk@19020 -
2009-03-18 09:38:19 +00:00
paul
dacdba13ad gtk2: set svn properties
git-svn-id: trunk@19018 -
2009-03-18 08:50:58 +00:00
paul
7a6728e3d2 win32: improve error message if window creation failed
git-svn-id: trunk@19017 -
2009-03-18 08:00:46 +00:00
jesus
0eeca5946c LCL, fix GTK1 finding default font, based on patch from Fabrizio Fellini, issue #13230
git-svn-id: trunk@19013 -
2009-03-17 20:22:26 +00:00
zeljko
284cbf6430 Qt: removed workaround in TQtListWidget for qt bug (qt-4.2).
git-svn-id: trunk@19012 -
2009-03-17 09:06:52 +00:00
paul
d7c225ab12 wince: port win32 changes regards TCustomEdit, TCustomMemo, TCustomStaticText (will fix issue #0013336)
git-svn-id: trunk@19011 -
2009-03-17 06:34:54 +00:00
paul
4ede257fc0 gtk2: fix use of absolute according new fpc 2.3.1 rules
git-svn-id: trunk@18999 -
2009-03-15 09:15:46 +00:00
sekelsenmat
3393bef1b3 Fixes compilation of the wince interface under win32 operating system.
git-svn-id: trunk@18985 -
2009-03-14 00:10:37 +00:00
paul
e11a223825 gtk2: fix typo
git-svn-id: trunk@18979 -
2009-03-13 07:56:50 +00:00
paul
fcaad0729b gtk2: don't fail in DrawTextWithColors if Widget = nil by C Western (part 1 of issue #0013317)
git-svn-id: trunk@18978 -
2009-03-13 06:37:10 +00:00
paul
199d9f563c gtk2: use lfFontName if LongFontName is not set by C Western (part 2 of issue #0013317)
git-svn-id: trunk@18977 -
2009-03-13 06:34:00 +00:00
paul
a9fae0848f gtk: fix pen properties for pens created by CreatePenIndirect (fixes issue #0013312)
git-svn-id: trunk@18974 -
2009-03-13 03:30:31 +00:00
sekelsenmat
ebd943079c wince: improves algorithm to place dialogs
git-svn-id: trunk@18969 -
2009-03-12 18:34:20 +00:00
paul
16cb6b19f6 gtk: restore implementation of listview images
git-svn-id: trunk@18966 -
2009-03-12 09:37:58 +00:00
zeljko
cfab0d6b4e Qt: bugfix for TCheckListBox , dnd doesn't work, events OnCheckItem() OnItemClick() doesn't trigger.
git-svn-id: trunk@18959 -
2009-03-11 17:31:28 +00:00
paul
82e65f56e6 qt: fix ListView + imagelist
git-svn-id: trunk@18937 -
2009-03-10 03:05:13 +00:00
zeljko
01e25eceef Qt: QClipboard bugfix, removed workarounds.Now it works correct.
git-svn-id: trunk@18933 -
2009-03-09 17:07:05 +00:00
paul
dd1e90c57b lcl: handle SpinEdit.MinValue = SpinEdit.MaxValue properly (based on patch of Bart Broersma, fixes bug #0013273)
git-svn-id: trunk@18913 -
2009-03-07 18:28:28 +00:00
zeljko
c8f9a5f2ca Qt: teach GetActiveWindow() to return MDI child if any active.
git-svn-id: trunk@18905 -
2009-03-06 18:38:33 +00:00
dmitry
4ee1d3aeab implemented Images support for Carbon ListView
git-svn-id: trunk@18894 -
2009-03-05 07:55:35 +00:00
zeljko
85316303bc Qt: introduced TQtCustomControl (was TQtAbstractScrollArea), now TQtAbstractScrollArea is intermediate class and our class hierarchy is same as in qt libs.
git-svn-id: trunk@18891 -
2009-03-04 09:16:34 +00:00
paul
d95ab32577 gtk, qt: don't draw a Ellipse if Width or Height = 0
git-svn-id: trunk@18866 -
2009-03-02 03:44:16 +00:00
paul
821bda50ea gtk, qt: don't draw a RoundRect if Width or Height = 0
git-svn-id: trunk@18865 -
2009-03-02 03:32:11 +00:00
paul
980be4b83e gtk, qt: don't draw a rectangle if Width or Height = 0 (bug #0010980)
git-svn-id: trunk@18864 -
2009-03-02 03:19:19 +00:00
paul
d20b884a4a wince: don't use TMap for SetProp, GetProp, use windows functions instead - they works very well
git-svn-id: trunk@18860 -
2009-03-01 13:52:23 +00:00
paul
2580f132b8 correct few asterisk position in the header
git-svn-id: trunk@18850 -
2009-03-01 05:15:17 +00:00
paul
a723a0f5eb qt: ellipse should be one pixel less (by hint of JoshyFun)
git-svn-id: trunk@18837 -
2009-02-27 16:29:13 +00:00
paul
7f70a99e13 win32: fix pagecontrol in the designer after r18831 #af721847eb
git-svn-id: trunk@18833 -
2009-02-27 03:52:48 +00:00
jesus
af721847eb LCL, fixed TabIndexAtClientPos for win32 and gtk2
git-svn-id: trunk@18831 -
2009-02-27 03:23:46 +00:00
paul
9d9c9448c5 gtk: all custom controls need EraseBackground (not only those who don't have csOpaque) (fixes #0013224)
git-svn-id: trunk@18825 -
2009-02-26 02:07:07 +00:00
paul
8c52991db1 formatting
git-svn-id: trunk@18824 -
2009-02-26 02:04:33 +00:00
paul
eeb0f872f1 gtk1: Memo.SelStart does not change, when adding new lines with Memo.Lines.Add (bug #0008360)
git-svn-id: trunk@18821 -
2009-02-25 02:58:44 +00:00
paul
aa768c5872 gtk: simplify Frame3D
git-svn-id: trunk@18817 -
2009-02-24 06:41:38 +00:00
paul
4931b03cdb wince: fix compilation
git-svn-id: trunk@18816 -
2009-02-24 06:08:08 +00:00
paul
c363b5fff8 gtk2: fix item exchange (bug #0013081)
git-svn-id: trunk@18809 -
2009-02-23 13:48:46 +00:00
zeljko
5563556ab1 Qt: fix crashes introduced by 18733.Class hierarchy is broken only if we look directly into qt libs, but we should not forget that we hacked QAbstractScrollArea class, so it's impossible to use with native controls. TQtAbstractScrollArea is TQtFrame now, so borderStyle can be setted up.
git-svn-id: trunk@18808 -
2009-02-23 10:58:48 +00:00
paul
cdcb46fcd0 win32: application should call OleInitialize to use some windows features like Clipboard, Drag and Drop, etc. Do this for LCL applications (maybe related to issue #0010409).
git-svn-id: trunk@18807 -
2009-02-23 10:25:47 +00:00
paul
dfc003e02b formatting
git-svn-id: trunk@18804 -
2009-02-23 08:33:27 +00:00
paul
3c5d739364 win32, wince: Frame3D must decrease passed rect
git-svn-id: trunk@18803 -
2009-02-23 08:22:45 +00:00
paul
9f70078354 qt: fix Frame3D drawing:
- decrease rect always even if we draw with bvNone (consistent behavior with carbon and gtk)
 - improve drawing of Frame3D with bvLowered, bvRaised

git-svn-id: trunk@18802 -
2009-02-23 08:18:54 +00:00
marc
d445d07ffe * Moved visual check forward, so we have always a visual when creating a pixmap. This might solve some object is NULL gdk warnings
git-svn-id: trunk@18786 -
2009-02-21 18:44:25 +00:00
vincents
1f3f833a84 win32 interface: use UTF16 <-> UTF8 conversion functions from LCLProc instead of UTF8Encode/UTF8Decode from the RTL to work around fpc bug #13075
patch by: Theo
fixes issue #13067

git-svn-id: trunk@18769 -
2009-02-20 08:33:44 +00:00