Commit Graph

7396 Commits

Author SHA1 Message Date
juha
ef3f193b45 LCL: Make menu items call OnClick correctly when moving mouse sideways, on GTK2 and QT. (On Windows works). Patch from August Klein, issue #17565
git-svn-id: trunk@30426 -
2011-04-22 09:09:28 +00:00
zeljko
8822907751 Qt: fixed bug where TPanel wasn't painted with defined color in case when BevelInner and BevelOuter are bvNone.
git-svn-id: trunk@30407 -
2011-04-21 07:38:52 +00:00
sekelsenmat
7381149462 Starts implementing image connection to TTrayIcon
git-svn-id: trunk@30387 -
2011-04-19 18:31:40 +00:00
paul
fb02700240 win32: don't call LB_GETITEMRECT during ListBox initialization (fixes issue #0019191)
git-svn-id: trunk@30377 -
2011-04-19 06:09:26 +00:00
juha
866731d664 LCL: Make GTK2 menu items call OnClick even if they have sub-items. Patch from August Klein, issue #17565
git-svn-id: trunk@30369 -
2011-04-18 11:56:09 +00:00
sekelsenmat
ad4b98c8e6 Small improvement for StatusIcon gtk2 trayicon
git-svn-id: trunk@30368 -
2011-04-18 09:41:23 +00:00
sekelsenmat
19eb2d8aa5 Starts implementing Cocoa TBitmap, TIcon and TTrayIcon
git-svn-id: trunk@30357 -
2011-04-18 06:57:07 +00:00
blikblum
33183a009f win32: remove unnecessary check for nil in EnumStayOnTopRemove. lWinControl is TCustomForm will return false anyway
git-svn-id: trunk@30342 -
2011-04-17 12:01:42 +00:00
sekelsenmat
935a69428a Ifdef outs the use of a private API in Carbon
git-svn-id: trunk@30333 -
2011-04-17 06:40:55 +00:00
sekelsenmat
ce8a4be282 Removes the new Cocoa unit from the uses clause
git-svn-id: trunk@30321 -
2011-04-16 14:20:21 +00:00
sekelsenmat
5cbc62d64e Fixes wrongly commited error
git-svn-id: trunk@30320 -
2011-04-16 14:18:50 +00:00
sekelsenmat
b3bba828e0 cocoa: Basic implementation of TBitBtn as a glith-less button
git-svn-id: trunk@30316 -
2011-04-16 12:58:58 +00:00
sekelsenmat
bdab25e57e cocoa: Adds a skeleton BitBtn structure to avoid crashes
git-svn-id: trunk@30315 -
2011-04-16 12:50:53 +00:00
sekelsenmat
2d8f62d005 carbon: Fixes compilation with the VerboseWinAPI define
git-svn-id: trunk@30314 -
2011-04-16 12:38:02 +00:00
sekelsenmat
6eca9a8764 cocoa: Now TLabel works =)
git-svn-id: trunk@30313 -
2011-04-16 12:10:05 +00:00
sekelsenmat
2e674fc5f5 cocoa: Improves the debug information
git-svn-id: trunk@30312 -
2011-04-16 11:32:59 +00:00
sekelsenmat
09bbd30552 cocoa: Starts implementing GetTextExtentPoint and GetSystemMetrics
git-svn-id: trunk@30304 -
2011-04-16 04:54:32 +00:00
zeljko
28c26d4e9e Qt: fixed bug with application crash because of recursive repaint calls when an exception occured inside paint event.Now it shows correct exception msg (if any) and application isn't crashed.
git-svn-id: trunk@30303 -
2011-04-15 16:38:36 +00:00
paul
d9dfb7ca86 win32: fix win32dialogs compilation with recent fpc 2.5.1 on win64 platform (based on patch of Cyrax, issue #0019163)
git-svn-id: trunk@30301 -
2011-04-15 13:04:12 +00:00
dmitry
e3864724ca carbon: change converting FixedWidth variable to float, instead of integer to determine LineOffsets. #18681
git-svn-id: trunk@30288 -
2011-04-14 01:24:21 +00:00
paul
26ede9d979 win32: cleanup win32proc - remove unused code
git-svn-id: trunk@30286 -
2011-04-14 00:33:12 +00:00
paul
fb870600ff win32: get/restore active window before/after windows dialog showing
git-svn-id: trunk@30278 -
2011-04-13 07:10:43 +00:00
zeljko
d1b2bde9aa Qt: cleanups, removed unused units, removed unreachable code
git-svn-id: trunk@30269 -
2011-04-12 06:33:04 +00:00
paul
9f4bb027ae win32: erase paint buffer on creation
git-svn-id: trunk@30264 -
2011-04-11 01:40:28 +00:00
juha
c84b0737b7 LCL: Clean out unused variables and code.
git-svn-id: trunk@30261 -
2011-04-10 17:07:43 +00:00
blikblum
61ba5061f5 gtk2: remove virtual keywords remnant from Gtk/Gtk21 interface split
git-svn-id: trunk@30249 -
2011-04-09 15:13:07 +00:00
blikblum
30af23279d gtk2: don't call FreeAllStyles in AppTerminate. It's called on Destroy
git-svn-id: trunk@30248 -
2011-04-09 14:58:51 +00:00
zeljko
a3d3512da0 Qt: stop signals from qt when deleting an item from list. issue #19127
git-svn-id: trunk@30246 -
2011-04-08 18:05:50 +00:00
zeljko
6b1b1b22d1 Gtk2: respect TCustomForm.ShowInTaskbar in case of modal form.Only when value is stAlways modal form will be visible in taskbar.Moved GtkWindowShowModal() to gtk2proc.
git-svn-id: trunk@30236 -
2011-04-07 13:07:57 +00:00
zeljko
b2602124fe Gtk2: skip taskbar hint for modal forms of type <> GDK_WINDOW_TYPE_HINT_DIALOG. issue #18323
git-svn-id: trunk@30235 -
2011-04-07 11:56:31 +00:00
paul
2d450a59f1 repeat r30232 and revert r30231 #0962e03d29 - the fail was in that revision
git-svn-id: trunk@30234 -
2011-04-07 07:58:09 +00:00
paul
30c63a22c2 revert r30232 #5f678a92c9 - something fails with it
git-svn-id: trunk@30233 -
2011-04-07 07:33:23 +00:00
paul
5f678a92c9 win32: remove win32uxtheme.pas - it can be replaced by UxTheme from win32units-base now
git-svn-id: trunk@30232 -
2011-04-07 06:56:47 +00:00
paul
0962e03d29 win32: fix drawing of bitbtn under windows vista/7 (issue #0015139)
git-svn-id: trunk@30231 -
2011-04-07 06:50:57 +00:00
paul
0ab62c8fa2 win32: correct GetThemeFont, GetThemeSystemFont LogFont to LogFontW
git-svn-id: trunk@30230 -
2011-04-07 06:28:06 +00:00
paul
b11b6f938a win32: don't recreate window or perform any action when form style changes from fsStayOnTop to fsSystemStayOnTop and vice versa
git-svn-id: trunk@30229 -
2011-04-07 02:40:45 +00:00
paul
f37b868f3a win32: a trial to correct application focus lose when local stay on top windows are involved (issue #0018494)
git-svn-id: trunk@30228 -
2011-04-07 02:30:35 +00:00
paul
6c7c35c17b lcl: formatting
git-svn-id: trunk@30227 -
2011-04-07 00:35:47 +00:00
zeljko
0048e84bad Qt: fixed wrong TQtWidgetSet.SetParent() behaviour. Flags shouldn't be setted up if form is reparented to other control.
git-svn-id: trunk@30223 -
2011-04-06 16:15:18 +00:00
zeljko
b48287dbb8 Gtk2: fixed crashes inside TGtk2WidgetSet.ShowWindow() when form is reparented. issue #19108.
git-svn-id: trunk@30222 -
2011-04-06 15:53:27 +00:00
zeljko
719cc8fa83 Qt: fixed assertions from Qt when drawing win panels with negative width or height.
git-svn-id: trunk@30221 -
2011-04-06 14:48:14 +00:00
zeljko
c6bdd569fa Qt: fixed strange behaviour of QTreeWidget selection when multiselection is enabled (TListView.Style = vsReport). issue #18972
git-svn-id: trunk@30198 -
2011-04-05 06:19:50 +00:00
paul
e40d070b88 win32: cleanup
git-svn-id: trunk@30197 -
2011-04-05 03:01:51 +00:00
paul
9fadfea500 win32: move last notebook related message handling to own window proc
git-svn-id: trunk@30196 -
2011-04-05 02:53:07 +00:00
paul
902d2755bb win32: cleanup
git-svn-id: trunk@30195 -
2011-04-05 02:42:36 +00:00
paul
f056040452 win32: move notebook related WM_NOTIFY code to NotebookParentMsgHandler
git-svn-id: trunk@30194 -
2011-04-05 01:23:47 +00:00
zeljko
1049bada99 Qt: issues.xml - added TBitBtn.Layout to restrictions. We cannot change glyph layout inside QPushButton. issue #19088
git-svn-id: trunk@30188 -
2011-04-04 18:03:21 +00:00
zeljko
ecc941f2f6 Gtk2: fixed bug where combobox returned caret position for selection length. issue #19081
git-svn-id: trunk@30185 -
2011-04-04 16:11:17 +00:00
paul
4fc8df4ed0 win32: refactoring: move ShowHideTabPage to win32extctrls, move preprocessing of TCN_SELCHANGE into NotebookParentMsgHandler
git-svn-id: trunk@30173 -
2011-04-04 09:29:12 +00:00
zeljko
ee25740910 Qt: simplified TCN_SELCHANGING for qt < 4.7
git-svn-id: trunk@30172 -
2011-04-04 09:11:48 +00:00