Commit Graph

7302 Commits

Author SHA1 Message Date
mattias
de999b53f3 lcl: fixed Makefile.compiled
git-svn-id: trunk@29887 -
2011-03-17 12:19:41 +00:00
juha
f8585cd5ce LCL: Clean comments after changing the shortcut function signatures.
git-svn-id: trunk@29885 -
2011-03-17 11:54:31 +00:00
paul
7214b124da win32:
- update combobox interface constraints on WM_SIZE message, 
  - fix combobox window proc - it had double processing for some messages
  - don't use FItemHeight, FEditHeight stored on initialization - they can be not valid if something has changed (like font, theme, metrics)

git-svn-id: trunk@29880 -
2011-03-17 06:19:18 +00:00
paul
28fcb60f75 win32: cleanup
git-svn-id: trunk@29878 -
2011-03-17 02:03:10 +00:00
juha
0b006a506b LCL: Fixed Windows compilation of Setcortcut definition
git-svn-id: trunk@29875 -
2011-03-16 19:16:55 +00:00
juha
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
paul
914f7c1903 win32: fix a regression which make TStaticText draw only using default text color if Transparent = True (bug #0018289)
git-svn-id: trunk@29864 -
2011-03-16 03:39:17 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
paul
cbb791a543 win32: replace default CreateRoundRectRGN with a winapi call (issue #0018125)
git-svn-id: trunk@29849 -
2011-03-15 04:34:00 +00:00
mattias
3e938820fa gtk1 intf: fixed compilation
git-svn-id: trunk@29839 -
2011-03-14 14:13:20 +00:00
juha
b2fbbd9b34 LCL: Fix the rest of Assert to DebugLn conversion.
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +00:00
zeljko
ef4e2fb352 Qt: fixed bug in TQtCalendar, where mouse move,enter and leave weren't propagated to LCL from dates (QAbstractScrollArea) part of calendar.
git-svn-id: trunk@29836 -
2011-03-14 09:22:44 +00:00
paul
c610a9a179 gtk2: check gtk2 code for correctness after Assert->DebugLn replacement, remove some commented DebugLn, fix caret painting error which was caused by the replacement
git-svn-id: trunk@29832 -
2011-03-14 03:22:53 +00:00
paul
2d658d768b gtk2: make TPopupMenu.Popup synchronous
git-svn-id: trunk@29831 -
2011-03-14 02:54:06 +00:00
paul
eaa88d5d11 gtk2: revert accidentally committed gtk2wsmenus changes
git-svn-id: trunk@29830 -
2011-03-14 02:53:10 +00:00
paul
1f7c7a9d74 wince, qt: remove EventTrace method
git-svn-id: trunk@29829 -
2011-03-14 02:38:46 +00:00
paul
dd4583c8bf win32: check win32 code for correctness after Assert->DebugLn replacement, fix ObjectToHWND, remove TraceEvent, remove all commented DebugLn
git-svn-id: trunk@29828 -
2011-03-14 02:32:50 +00:00
paul
f0bce37226 interfaces: remove AssignSelf method
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +00:00
juha
d1a29e1d31 GTK2: fixed a clearly wrong assertion.
git-svn-id: trunk@29824 -
2011-03-13 21:02:45 +00:00
juha
eb49696a40 Windows: fix compilation with DebugLn.
git-svn-id: trunk@29823 -
2011-03-13 20:10:25 +00:00
juha
4fe6258185 GTK2: fix compilation with DebugLns.
git-svn-id: trunk@29821 -
2011-03-13 19:14:13 +00:00
juha
01db3bb47c LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
mattias
e0d68297e3 lcl: added fpdoc path to package lcl
git-svn-id: trunk@29811 -
2011-03-13 13:00:12 +00:00
paul
5bb62f9253 qt: use QMenu->exec instead of QMenu->popup to simulate win32 behavior
git-svn-id: trunk@29781 -
2011-03-10 06:47:44 +00:00
paul
13cb137a99 win32: formatting, cleanup
git-svn-id: trunk@29780 -
2011-03-10 06:35:10 +00:00
paul
a0328590c5 lcl: formatting, cleanup
git-svn-id: trunk@29778 -
2011-03-10 04:26:42 +00:00
paul
412dc4ecc9 win32: also put Icon flags into AdjustWindowRectEx calls, cleanup
git-svn-id: trunk@29757 -
2011-03-09 04:06:03 +00:00
paul
786385251f win32: always call GetWindowSize in WM_SIZE handler - it already takes iconic windows into account (fixes a bug with minimizing/restoring windows and their size growing)
git-svn-id: trunk@29756 -
2011-03-09 04:04:31 +00:00
paul
66766609c8 win32: don't set minimized window size using SetWindowPos - we need to set the normal window position using SetWindowPlacement
git-svn-id: trunk@29755 -
2011-03-09 03:23:07 +00:00
paul
0f516fc6ef win32: set WindowPlacement.Length before the call of GetWindowPlacement
git-svn-id: trunk@29754 -
2011-03-09 03:20:36 +00:00
paul
74952c9d65 win32: replace TWin32WidgetSet(WidgetSet) with Win32WidgetSet + cleanup
git-svn-id: trunk@29753 -
2011-03-09 03:01:39 +00:00
zeljko
3d675e65b1 Qt: fixed wheel events passing for qt < 4.7. issue #18880
git-svn-id: trunk@29738 -
2011-03-07 07:26:33 +00:00
zeljko
b5cbc333ba Qt: proper paint of TQtCustomControl viewport. issue #18880
git-svn-id: trunk@29737 -
2011-03-07 07:17:49 +00:00
paul
bdff407a46 win32: fix GetDetailRegion crash if no themes enabled (by Bart bug #0018873)
git-svn-id: trunk@29736 -
2011-03-07 03:03:29 +00:00
juha
282bb3de33 QT: Prevent assigning a negative value to a Word, cought by range-check. Sould fix issue #18876.
git-svn-id: trunk@29735 -
2011-03-06 16:55:13 +00:00
juha
0928ead547 LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
juha
a620aa9c33 GTK2: fix range-check errors caused by ColorRef type change.
git-svn-id: trunk@29732 -
2011-03-05 16:09:10 +00:00
zeljko
a2e292da52 Qt: fixed compilation and range check crashes with TColorRef
git-svn-id: trunk@29718 -
2011-03-03 15:23:38 +00:00
paul
0677e4c2b9 lcl: another bunch of TColorRef <-> TColor conversion
git-svn-id: trunk@29715 -
2011-03-03 09:19:34 +00:00
paul
3aace13834 lcl: fix TColor -> TColorRef assignments and vice versa
git-svn-id: trunk@29713 -
2011-03-03 08:35:06 +00:00
paul
bab4aa9c08 gtk2: formatting
git-svn-id: trunk@29710 -
2011-03-03 07:32:07 +00:00
paul
252f0f5bac win32: fix compilation with range checks
git-svn-id: trunk@29709 -
2011-03-03 07:31:20 +00:00
paul
7a9b188e2c lcl, win32, wince, qt, gtk2, carbon: implement OffsetRGN winapi compatible function
git-svn-id: trunk@29697 -
2011-03-01 07:37:42 +00:00
zeljko
be0f0bd9f4 Gtk2: fixed inconsistency in TGtk2WSCustomCheckListBox when an item is checked/unchecked by mouse click, removed ugly direct calls to TCheckListBox.Toggle(). issue #18805
git-svn-id: trunk@29687 -
2011-02-27 17:45:54 +00:00
zeljko
7077bce83c Gtk2: fixed vertical centering of text inside readonly combobox. issue #15367
git-svn-id: trunk@29686 -
2011-02-27 16:15:14 +00:00
zeljko
eec60401f7 Qt: do not send LM_CHANGED when TCheckListBox is invisible.
git-svn-id: trunk@29654 -
2011-02-22 15:32:26 +00:00
zeljko
5784d739e7 Qt: optimized signalling from qt to lcl in case of TQtTabWidget.
git-svn-id: trunk@29649 -
2011-02-22 08:11:08 +00:00
zeljko
d832146b1b Qt: qtthemes, implemented DrawText of teTooltip
git-svn-id: trunk@29646 -
2011-02-22 07:38:14 +00:00
paul
94fa55e000 gtk2: fix TGtk2WidgetSet.SetWindowRgn with NULL region
git-svn-id: trunk@29644 -
2011-02-22 07:15:01 +00:00