Commit Graph

1251 Commits

Author SHA1 Message Date
zeljko
e82b157cfd Gtk2: added ifdef around duplicated routines in gtk2extras for fpc >= 2.6.0 (routines exist in fpc's gtk2 package).
git-svn-id: trunk@35491 -
2012-02-19 17:35:46 +00:00
zeljko
746e6d4bce Gtk2: fixed compilation with fpc < 2.4.5.
git-svn-id: trunk@35490 -
2012-02-19 17:16:32 +00:00
zeljko
9fcf0cceae Gtk2: removed patch for #12362 since it crashes shaped controls under gtk2.
git-svn-id: trunk@35482 -
2012-02-19 14:05:30 +00:00
zeljko
a4ee9b8f81 Gtk2: fixed compilation with -dVerboseRawImage
git-svn-id: trunk@35478 -
2012-02-19 12:08:06 +00:00
zeljko
d09a026ad1 Gtk2: finally deleted unused gtk2comboboxcallback.inc gtk2pagecallback.inc gtk2dragcallback.inc (merged into gtk2callback.inc).
git-svn-id: trunk@35460 -
2012-02-18 17:17:13 +00:00
zeljko
33a2b41630 Gtk2: merged gtk2dragcallback.inc,gtk2comboboxcallback.inc and gtk2pagecallback.inc into gtk2callback.inc.
git-svn-id: trunk@35457 -
2012-02-18 17:04:43 +00:00
zeljko
dc1d8744d8 Gtk2: removed unused redundant procs
git-svn-id: trunk@35433 -
2012-02-17 18:24:08 +00:00
zeljko
542acc3023 Gtk2: cleanup
git-svn-id: trunk@35432 -
2012-02-17 17:58:35 +00:00
zeljko
33ec06316f Gtk2: removed redundant procs.
git-svn-id: trunk@35430 -
2012-02-17 17:42:39 +00:00
zeljko
202cd36b0a Gtk2: let cellrenderer trigger OnItemChecked.
git-svn-id: trunk@35411 -
2012-02-17 09:37:28 +00:00
zeljko
1a8e151f60 Gtk2: TGtk2WidgetSet.InvalidateRect() do not update widget if we are already inside paint event.
git-svn-id: trunk@35402 -
2012-02-16 16:32:22 +00:00
zeljko
447396f4b7 Gtk2: rewritten TGtk2WidgetSet.EnumFontFamiliesEx to use pure pango font families.Old behaviour (raw X11 font naming) can be reached with -dGTK2OLDENUMFONTFAMILIES. part of issue #18795
git-svn-id: trunk@35400 -
2012-02-16 15:56:36 +00:00
zeljko
ec1b2bc680 Gtk2: removed wrong debugln
git-svn-id: trunk@35399 -
2012-02-16 10:57:13 +00:00
zeljko
cdaa396f47 Gtk2: allow embedding of our LCL TCustomListView into gtk's GtkTreeView. part of #12059
git-svn-id: trunk@35349 -
2012-02-13 09:06:47 +00:00
zeljko
47b096a510 Gtk2: offset listview item display rect by height of header (if visible), now it's compatibile with win32 and qt.
git-svn-id: trunk@35348 -
2012-02-13 09:02:04 +00:00
zeljko
59a8bcd5e2 Gtk2: better debug in Gtk2WSWinControl.AddControl()
git-svn-id: trunk@35318 -
2012-02-12 09:08:37 +00:00
zeljko
785b59e3ec Gtk2: implemented SM_CXBORDER and SM_CYBORDER system metrics
git-svn-id: trunk@35308 -
2012-02-11 17:49:56 +00:00
zeljko
38cd170673 Gtk2: implemented SM_CXMENUCHECK and SM_CYMENUCHECK system metrics.
git-svn-id: trunk@35304 -
2012-02-11 13:41:05 +00:00
zeljko
93bcdf9640 Gtk2: implemented SM_CXMENUSIZE and SM_CYMENUSIZE system metrics.
git-svn-id: trunk@35303 -
2012-02-11 13:36:30 +00:00
zeljko
7cf5618863 Gtk2: implemented SM_CYMENU system metric.
git-svn-id: trunk@35301 -
2012-02-11 12:51:00 +00:00
zeljko
045a3558a4 Gtk2: implemented SM_CYCAPTION system metrics.
git-svn-id: trunk@35300 -
2012-02-11 11:56:20 +00:00
zeljko
75be46b024 Gtk2: fixed tabbing in TMemo when it's parent isn't TForm. issue #20162
git-svn-id: trunk@35282 -
2012-02-10 09:40:00 +00:00
zeljko
be493b8d7e Gtk2: fixed painting of mono bitmaps, gtk2 assumes that bmp + mask = rgba. issue #12362
git-svn-id: trunk@35281 -
2012-02-10 08:13:15 +00:00
zeljko
96b5badde1 Gtk2: do not set owner events when calling gdk_pointer_grab() while changing control cursor. issue #21253
git-svn-id: trunk@35280 -
2012-02-10 06:55:05 +00:00
zeljko
3ef3c430f0 Gtk2: reverted r35278 #a48c391314 - doesn't work good in all cases
git-svn-id: trunk@35279 -
2012-02-10 06:47:34 +00:00
zeljko
a48c391314 Gtk2: fixed mono bitmap creation on gtk2. issue #12362
git-svn-id: trunk@35278 -
2012-02-10 06:41:22 +00:00
zeljko
948afeefd5 Gtk2: fixed regression with THintWindow introduced in r34676 #93ebe05b41. issue #21194
git-svn-id: trunk@35277 -
2012-02-09 19:28:08 +00:00
zeljko
3b2ff18b3e Gtk2: implemented TCustomListView.GridLines for gtk2 >= 2.10, 2.8 still uses alternate coloring since there's no appropriate functions to fix it.
git-svn-id: trunk@35276 -
2012-02-09 18:22:37 +00:00
zeljko
ed6172d26a Gtk2: fixed assertions when calling gdk_window_get_state() with invalid PGdkWindow as param
git-svn-id: trunk@35222 -
2012-02-07 12:45:26 +00:00
zeljko
d35506ce28 Gtk2: fixed bug when notebook enables drag and drop ops manually.issue #19914
git-svn-id: trunk@35213 -
2012-02-07 10:45:33 +00:00
zeljko
7eb7d22e8e Gtk2: added comment about assertion from gtk_widget_get_parent_window() with gtk2 < 2.10
git-svn-id: trunk@35212 -
2012-02-07 10:22:10 +00:00
zeljko
3389d8edaa Gtk2: fixed GetDroppedDown result for gtk2 < 2.10. Property "popup-shown" was introduced in gtk2 2.10, so anything below 2.10 doesn't work.
git-svn-id: trunk@35209 -
2012-02-07 09:16:49 +00:00
zeljko
ad5445bdf0 Gtk2: fixed gtk2 < 2.12 assertions because of missing property.
git-svn-id: trunk@35193 -
2012-02-06 19:36:02 +00:00
zeljko
42d5280789 Gtk2: fixed gtkNotebook behaviour during drag and drop operations when mode=dmAutomatic. issue #19914
git-svn-id: trunk@35184 -
2012-02-06 14:57:54 +00:00
zeljko
0e876bd527 Gtk, Gtk2: fixed drawing bitmaps with pf32bit. issue #8553
git-svn-id: trunk@35177 -
2012-02-06 11:17:02 +00:00
zeljko
8cb0f814ef Gtk2: proper set of global cursor. Gdk is buggy, so we must cheat it by grabbing pointer. issues #18417 and #18525
git-svn-id: trunk@35176 -
2012-02-06 09:45:34 +00:00
zeljko
8d96082dc1 Gtk2: fixed font changing on TCheckBox & TRadioButton
git-svn-id: trunk@35162 -
2012-02-05 16:33:05 +00:00
zeljko
a7b3cc4001 Gtk2: allow change of tab font in TCustomTabControl. issue #15375
git-svn-id: trunk@35147 -
2012-02-05 10:49:47 +00:00
zeljko
e96f8fdf7b Gtk2: fixed TPageControl page changing. issues #18754 and #21026
git-svn-id: trunk@35125 -
2012-02-04 16:17:32 +00:00
zeljko
c27b2e4e43 Gtk2: updated issues.xml. issue #19155
git-svn-id: trunk@35120 -
2012-02-04 10:47:29 +00:00
zeljko
5f249af015 Gtk2: fixed hang with newest glib2 >= 2.31. Patch by Ludo Brands , changed a bit by me to support old iteration implementation.Fixes issue #21129
git-svn-id: trunk@35051 -
2012-01-31 07:12:20 +00:00
mattias
fa6daa7243 gtk2 intf: clean up
git-svn-id: trunk@35032 -
2012-01-30 09:22:54 +00:00
sekelsenmat
2ef6d922c8 Restructures the LazDeviceAPIs WS implementation to be on a separate unit instead of in the LCLIntf. This allows us to move the types which bellong in the lazdeviceapis unit back to it and make things more modular too.
git-svn-id: trunk@34946 -
2012-01-26 10:07:10 +00:00
martin
53db968eab GTK2 ScrollWindowEx / flag and prcUpdate
git-svn-id: trunk@34889 -
2012-01-23 20:33:24 +00:00
martin
de7c2a8a60 GTK2 ScrollWindowEx / rewrite
git-svn-id: trunk@34878 -
2012-01-22 20:41:38 +00:00
mattias
6f4c4b5d3c gtk2: clean up
git-svn-id: trunk@34876 -
2012-01-22 20:25:54 +00:00
martin
b46ea85bc3 GTK2 ScrollWindowEx
git-svn-id: trunk@34872 -
2012-01-22 18:12:29 +00:00
juha
6bdfef31e7 GTK and GTK2: Replace const string arrays with RTTI value and WriteStr()
git-svn-id: trunk@34758 -
2012-01-15 23:51:06 +00:00
sekelsenmat
034d195ca9 Advances implementing the WS class for TLazAccessibleObject
git-svn-id: trunk@34713 -
2012-01-12 01:29:32 +00:00
zeljko
f6db445bf0 Gtk2: added TDateEdit.CalendarDisplaySettings.dsStartMon to issues.Patch by BartBroersma issue #11136.
git-svn-id: trunk@34684 -
2012-01-09 16:23:15 +00:00
zeljko
0bba1c10de Gtk2: do not allow form resizing if border style bsDialog or bsSingle.issue #20741
git-svn-id: trunk@34680 -
2012-01-09 14:10:42 +00:00
zeljko
8d59bdf5fc Gtk2: allow moving of windows which contstraints min & max are equal. issue #18139
git-svn-id: trunk@34679 -
2012-01-09 13:41:38 +00:00
zeljko
93ebe05b41 Gtk2: fixed showing and handling of popup forms over modal forms.issues #20074 and #20369
git-svn-id: trunk@34676 -
2012-01-09 11:41:32 +00:00
zeljko
c63431d8b0 Gtk2: fix accel char in TCheckBox and TRadioButton. issue #21048
git-svn-id: trunk@34673 -
2012-01-09 07:51:35 +00:00
zeljko
ba86e46415 Gtk2: fixed running gtk2 forms from library.
git-svn-id: trunk@34639 -
2012-01-07 17:12:12 +00:00
zeljko
6e4efa1d2e Gtk2: fixes all problems with cursor under gtk2 >= 2.18. Patch by Ere Maijala. issue #20313
git-svn-id: trunk@34635 -
2012-01-07 09:59:16 +00:00
blikblum
4e8a2856a5 gtk2: remove Get/SetHiddenLCLObject and related code. The only place that was still being called is a dead code since at least 2003. Fixes issue #21021
git-svn-id: trunk@34592 -
2012-01-05 10:34:09 +00:00
blikblum
554486927a gtk2: Partially reverts 34395. Fix issue #21014
git-svn-id: trunk@34566 -
2012-01-03 19:09:25 +00:00
zeljko
5ca2d85d66 Gtk2: do not blindly unmaximize and deiconify GtkWindow. issue #10698
git-svn-id: trunk@34530 -
2012-01-01 10:47:45 +00:00
zeljko
91eda267c1 Gtk2: cleanup
git-svn-id: trunk@34519 -
2011-12-30 17:18:18 +00:00
paul
ecdc478798 gtk, gtk2: fix crash in SetSysColors
git-svn-id: trunk@34419 -
2011-12-26 06:59:11 +00:00
blikblum
2d40e8a38c gtk2: update combo text only if has a edit box
git-svn-id: trunk@34414 -
2011-12-25 20:07:31 +00:00
blikblum
fc8fddcc53 gtk2: merge GetGtkStyleParams and GetGtk1StyleParams. Rename Gtk1DrawElement to GtkDrawElement
git-svn-id: trunk@34413 -
2011-12-25 19:53:59 +00:00
blikblum
373358eb74 gtk2: handle parts (left, right, center) in themed header
git-svn-id: trunk@34412 -
2011-12-25 19:35:34 +00:00
blikblum
08eba51e69 gtk2: fix themed header draw
git-svn-id: trunk@34409 -
2011-12-25 18:10:25 +00:00
blikblum
21f19f200b gtk2: initialize OldTreeSelection (fix potential sigsegv). Remove double assignments.
git-svn-id: trunk@34408 -
2011-12-25 18:06:56 +00:00
blikblum
8fe3090356 gtk2: fix a condition check (always False) in ConnectInternalWidgetsSignals
git-svn-id: trunk@34396 -
2011-12-24 21:08:22 +00:00
blikblum
3bd4030d1a gtk2: remove unecessary checks
git-svn-id: trunk@34395 -
2011-12-24 20:58:37 +00:00
blikblum
bcdef55e90 gtk2: use FreeAndNil where appropriate in Gtk2Int (missing part)
git-svn-id: trunk@34394 -
2011-12-24 20:42:00 +00:00
blikblum
750733b289 gtk2: use FreeAndNil where appropriate in Gtk2Int
git-svn-id: trunk@34393 -
2011-12-24 20:41:11 +00:00
sekelsenmat
89dd7c918b Fixes bug #20195: Removes LCLIntf.Frame in favor of a cross-platform implementation for TCanvas.Frame
git-svn-id: trunk@34379 -
2011-12-24 10:52:33 +00:00
zeljko
ecf3f41b11 Gtk2: fixed selections in listview (vsList, vsReport) for gtk2 < 2.10.issue #19820
git-svn-id: trunk@34355 -
2011-12-21 16:36:54 +00:00
zeljko
f84b0a0a4e Gtk2: fix inaccurate paint of checkbox and radiobutton when caption is empty. issue #20764
git-svn-id: trunk@34261 -
2011-12-18 18:17:53 +00:00
zeljko
d2f60568af Gtk,Qt: do not pass button into TShiftState in MouseUp event. issue #20916
git-svn-id: trunk@34258 -
2011-12-18 15:44:27 +00:00
zeljko
649fbe7f16 Gtk2: Fixed ScrollWindowEx when region rect is equal clip rect.
Gtk2: TGtk2WidgetSet.ShowWindow(), changed behaviour so it's win32 and qt compatibile.Respect SW_SHOW and SW_HIDE if hand
le is PGtkWidget without window.

git-svn-id: trunk@34099 -
2011-12-11 13:58:46 +00:00
blikblum
b360e5a0bf gtk2: clear content of combobox when setting ItemIndex to -1
git-svn-id: trunk@34097 -
2011-12-10 21:41:49 +00:00
zeljko
5522c80015 Gtk2: fixed bug in TGtk2WidgetSet.DrawText() where gtk2 missed to draw text if DT_NOCLIP flag exists.
git-svn-id: trunk@34086 -
2011-12-10 15:50:29 +00:00
zeljko
33b5efc277 Gtk2: formatting
git-svn-id: trunk@34065 -
2011-12-09 07:58:06 +00:00
zeljko
4ee63e0524 Gtk2: cleanup
git-svn-id: trunk@34064 -
2011-12-09 07:43:27 +00:00
zeljko
ac0b4e91c6 Gtk2: cleanup, removed GetWindowManager, it already exist in Gtk2WidgetSet
git-svn-id: trunk@34063 -
2011-12-09 07:42:04 +00:00
zeljko
b8a8a0fe39 Gtk2: proper handle of cursor moving in memo view, use mark instead cursor move. issue #20847
git-svn-id: trunk@34061 -
2011-12-09 07:19:11 +00:00
zeljko
8efdf7144d Gtk2: skip taskbarhint after call to gtk_window_present() for modal forms. issue #18323
git-svn-id: trunk@34060 -
2011-12-09 07:06:54 +00:00
zeljko
c2fcfb1833 Gtk2: fixed bug in tabcontrol painting in gtk2themes, issue #20822
git-svn-id: trunk@34030 -
2011-12-07 19:21:19 +00:00
zeljko
dc375221d6 Gtk2: fixed compilation under win32. issue #20829
git-svn-id: trunk@34023 -
2011-12-07 12:44:40 +00:00
zeljko
c98a4639c4 Gtk2: fixed MouseDown trigger when focus was changed after previous MouseDown.issue #18614
git-svn-id: trunk@34021 -
2011-12-07 11:48:46 +00:00
zeljko
ca089c06f8 Gtk2: finally make TTabControl useable, also fixed crashes in pageswitch signals. issue #20822
git-svn-id: trunk@34020 -
2011-12-07 11:08:04 +00:00
zeljko
2ce9d7f56a Gtk2: introduced GetWindowManager functino to fix various wm's behaviour under X11.Fixes modal windows problems under kwin with gtk2lcl.issues #18323 and #18823
git-svn-id: trunk@34003 -
2011-12-06 17:11:56 +00:00
zeljko
719c2296c9 Gtk2: fixed crash on gtk2 64bit when an invalid index is passed to setPageIndex
git-svn-id: trunk@33963 -
2011-12-04 17:49:00 +00:00
zeljko
01385540aa Gtk2: add GDK_WINDOW_TYPE_HINT_DIALOG to modal windows, so gtk is happy on all window managers
git-svn-id: trunk@33960 -
2011-12-04 17:25:01 +00:00
zeljko
ded3c818b7 Gtk2: fixed crashes with gtk2 notebook when some of tabs is hidden (tabvisible=false).same as issue #20793.
git-svn-id: trunk@33959 -
2011-12-04 17:15:37 +00:00
zeljko
8522c6ff0b Gtk2: check if window is GDKWindow before processing of updates
git-svn-id: trunk@33934 -
2011-12-04 10:41:55 +00:00
zeljko
06b32bf839 Gtk2: TGtk2WidgetSet.ScrollWindowEx() - implemented region moving when prcScroll <> nil.
git-svn-id: trunk@33932 -
2011-12-03 20:38:34 +00:00
sekelsenmat
a806fac460 Moves the selection of cwstring vs paswstring vs windows string manager into the widgetsets
git-svn-id: trunk@33921 -
2011-12-02 23:00:48 +00:00
sekelsenmat
46d42d5464 Patch from bug #20775, adds trayicon area freeing, OnDblClick, OnMouseDown, OnMouseUp, improves PopUp all for the gtk2 trayicon in UseStatusIcon mode
git-svn-id: trunk@33853 -
2011-11-29 13:14:18 +00:00
juha
7e15bcec7a LCL: Fix GTK2 TCheckListBox.AllowGrayed. Issue #19980, patch from August Klein
git-svn-id: trunk@33741 -
2011-11-23 23:51:17 +00:00
zeljko
a17b227ac0 Gtk2: cleanup
git-svn-id: trunk@33640 -
2011-11-20 09:44:38 +00:00
zeljko
88dfff8959 Gtk2: fixed compilation with -dVerboseMouseFix
git-svn-id: trunk@33639 -
2011-11-20 09:35:20 +00:00
zeljko
2c94b355cb Gtk2: fixed wrong implementation of gtk2 listview beginupdate & endupdate.Now it's possible to make selections inside beginupdate & endupdate blocks.ListView is slower now, but it's correct. issue #20631
git-svn-id: trunk@33638 -
2011-11-20 09:23:59 +00:00
zeljko
7f3a0f2c10 Gtk2: do not attach gtkmenu to widget for style, since it can produce leaks in gtk2 lib.issue #20625
git-svn-id: trunk@33636 -
2011-11-20 09:00:38 +00:00
juha
3c946347ae LCL: Remove styles properly in GTK2. Issue #20625, patch from cobines
git-svn-id: trunk@33592 -
2011-11-17 18:18:47 +00:00
sekelsenmat
fa02b703f1 Renames TNotebookOption and friends to TCTabControlOptions,etc because the old name was completely wrong since TNotebook is completely unrelated to this type
git-svn-id: trunk@33537 -
2011-11-15 07:28:07 +00:00
sekelsenmat
51b8e33ac9 Removes the implementations of GetTextExtentExPoint from Qt and Gtk2 because they were wrong and because the default implementation is cross-platform and correct
git-svn-id: trunk@33506 -
2011-11-13 09:09:44 +00:00
mattias
9bb061ab29 gtk2 intf: clean up
git-svn-id: trunk@33461 -
2011-11-10 17:47:02 +00:00
juha
a657113ef8 LCL: Disable drag event in GTK2 calendar. It froze the whole desktop. Issue #13712, patch from August Klein
git-svn-id: trunk@33458 -
2011-11-10 10:46:04 +00:00
zeljko
4f22b9c783 Gtk2: dissallow opening directory as file (GtkFileChooser bug). issue #17278
git-svn-id: trunk@33380 -
2011-11-06 19:25:26 +00:00
zeljko
a00ac6dd4d Gtk2: added DebugLn when -dVerboseFocus in TGtk2WidgetSet.GetFocus
git-svn-id: trunk@33370 -
2011-11-06 13:53:41 +00:00
zeljko
6fe6fe4ef9 Gtk2: workaround for gtk2 bug.SpinEdit doesnt change values when readonly and clicked up/down.Patch by August Klein.issue #20601
git-svn-id: trunk@33274 -
2011-11-04 07:14:35 +00:00
zeljko
d871ad3dc6 Gtk2: fixed capturing of mouse with TScrollBar.Patch by August Klein. issue #19761
git-svn-id: trunk@33189 -
2011-10-30 20:12:18 +00:00
zeljko
b2cfc29c58 Qt, Gtk2: fixes checkbox state when doing Items.Move() from checklstbox.part of issue #20589
git-svn-id: trunk@33171 -
2011-10-30 12:11:43 +00:00
zeljko
da716b4e75 Gtk2: fixed selection behaviour, simplified code. issue #19094
git-svn-id: trunk@33166 -
2011-10-30 10:47:20 +00:00
sekelsenmat
9f30c60c3d Fixes compiling Gtk2 under Mac OS X
git-svn-id: trunk@33115 -
2011-10-27 18:06:30 +00:00
sekelsenmat
2c0cc4c4d4 Reverts the previous removal of TLMouseEvent.State
git-svn-id: trunk@33114 -
2011-10-27 18:03:01 +00:00
sekelsenmat
f498b421a6 Reverts wrong changes from Gtk2
git-svn-id: trunk@33111 -
2011-10-27 15:30:43 +00:00
sekelsenmat
73f0887e09 Fixes bug #20065. Removes ssCaps, ssNum and ssScroll because they are implemented based on the key lock in win32, which is not the same as shift state, they are added only for MouseWhell events and very unreliable across platforms (cannot be correctly implemented in win32 for example). Also corrects the ShiftState for MouseWhell messages in Windows. Removes State from the mousewhell internal message, now Button is used, which is more consistent with Win32.
git-svn-id: trunk@33092 -
2011-10-26 15:08:10 +00:00
zeljko
d6f183e393 Gtk2: cleanup of unnecessary defines, some code formatting.
git-svn-id: trunk@33069 -
2011-10-24 16:46:00 +00:00
juha
620534553b LCL: Fix scrolling TFrame inside a TScrollBox with mouse wheel, in TGtk2WSScrollingWinControl.CreateHandle. Issue #20540
git-svn-id: trunk@33057 -
2011-10-23 20:02:42 +00:00
juha
42967bec9c LCL: formatting TGtk2WSScrollingWinControl.CreateHandle
git-svn-id: trunk@33056 -
2011-10-23 20:02:30 +00:00
zeljko
513bc027d0 Gtk2: fixed artfiacts on tabwidget after closing tabs (pages).Patch by August Klein. Issue #18715
git-svn-id: trunk@33033 -
2011-10-22 20:07:49 +00:00
zeljko
84670e8673 Gtk2: fixed ugly memleak in gtk2 lib by leaving unreferenced mask bitmap.Issue #20417. This is merge candidate for 0.9.30.2
git-svn-id: trunk@33032 -
2011-10-22 19:49:46 +00:00
zeljko
7b99f8bda3 Gtk2: ability to change TGroupBox color.Patch by cobines, modified by me. fixes issue #20372
git-svn-id: trunk@33030 -
2011-10-22 19:10:21 +00:00
zeljko
7d2ebbe7a9 Gtk2: Fixed fonts leaking memory.Patch by Luca Olivetti. Issues #18727, #18707
git-svn-id: trunk@33026 -
2011-10-22 18:12:47 +00:00
zeljko
970c42ae1a Gtk2: fixed ugly behaviour of PGtkNotebook when tab activated by mouse click.Fixes issue #20493
git-svn-id: trunk@33018 -
2011-10-22 11:11:55 +00:00
zeljko
7d0dab7439 Gtk2: fixed missing result in page control afterswitch, formatting
git-svn-id: trunk@33015 -
2011-10-22 09:07:20 +00:00
sekelsenmat
13daaaa219 Makes LazUtils a base package for the LCL and moves FileUtil, Masks and lazutf8classes to it. Updates the Makefile structure to reflect this.
git-svn-id: trunk@32936 -
2011-10-17 09:24:01 +00:00
sekelsenmat
1acfc93cd4 Fixes crashes related to GetForegroundWindow by rewrapping the X11 window into a GdkWindow
git-svn-id: trunk@32725 -
2011-10-07 07:11:49 +00:00
sekelsenmat
bb022738ee Fixes type in gtk2defines
git-svn-id: trunk@32647 -
2011-10-03 07:25:49 +00:00
sekelsenmat
d1b5a7a8bd Activates MouseDown before popup from bug #18966
git-svn-id: trunk@32644 -
2011-10-03 06:19:50 +00:00
andrew
34158aadd8 Fixed bug #20115. patch from August Klein.
git-svn-id: trunk@32552 -
2011-09-29 03:01:48 +00:00
zeljko
5c685fc3d9 Qt,Gtk2: fixed drawing text with font orientation <> 0. issue #20336
git-svn-id: trunk@32491 -
2011-09-24 07:40:21 +00:00
zeljko
7d2c10b1ca Gtk2: fix mouse capture while designing. issue #20189
git-svn-id: trunk@32231 -
2011-09-08 13:45:12 +00:00
sekelsenmat
ed98d767a0 Fixes gtk2 polygon crash
git-svn-id: trunk@31845 -
2011-08-01 09:17:05 +00:00
sekelsenmat
1805877800 Fixes region applying for Gtk2 for TForm, implements CreateEllipticRgn in gtk2 and gives better parameter names to this routine
git-svn-id: trunk@31817 -
2011-07-28 12:17:07 +00:00
sekelsenmat
4204c772ba Starts implementing CreateRoundRectRgn in gtk2
git-svn-id: trunk@31811 -
2011-07-27 15:24:43 +00:00
zeljko
7b1a94365c Gtk2: fixed issue with treeview theme drawings.Patch by Bart Broersma. issue #16376
git-svn-id: trunk@31778 -
2011-07-22 07:07:54 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
4244d3ea84 Removes the old, completely broken, TTabControl and substitutes it with the new implementation. This also cleans the namespace for renaming TCustomNotebook
git-svn-id: trunk@31766 -
2011-07-20 14:04:55 +00:00
juha
c48e840412 LCL, GTK2: Fix double click behavior when handler takes more than 250 milliseconds. Patche from Max Vlasov, issues #14001 and #19753
git-svn-id: trunk@31737 -
2011-07-18 15:15:11 +00:00
jesus
e89cfb9f79 LCL, gtk2, make scrollbar callback to be called after std handler because it may mess our settings when for example clicking scrollbar arrows in a stringgrid on some goThumbTracking/goSmoothScroll combinations
git-svn-id: trunk@31715 -
2011-07-16 19:06:58 +00:00
zeljko
e121294b60 LCL: Fixed TSaveDialog/TOpenDialog.Filter to change the file's extension when it's empty, now it's same like under Delphi. issue #7797 patch by Bart Broersma
git-svn-id: trunk@31597 -
2011-07-08 06:36:15 +00:00
zeljko
da3f158361 Gtk2: introduced GetWindowManager:String function for later tuning of differences between metacity and other wm's under X11.
git-svn-id: trunk@31596 -
2011-07-07 19:39:28 +00:00
zeljko
97085f283e Gtk2: fixed minimizing of tool windows under some window managers.patch by August Klein. issue #18332
git-svn-id: trunk@31573 -
2011-07-06 15:37:23 +00:00
zeljko
d7a4f586a0 Gtk2: TScrollingWinControl: fixed scrolling when pressed scrollbar arrows.Patch by August Klein. issue #19676
git-svn-id: trunk@31566 -
2011-07-05 06:30:23 +00:00
zeljko
acb9636064 Gtk2: TCustomEdit: added CellEditable hook, so it won't focus another control by pressing VK_UP or VK_DOWN. issue #11115
git-svn-id: trunk@31562 -
2011-07-04 18:30:57 +00:00
zeljko
07cbfe0925 Gtk2: fixed focusing TPanel when TabStop=True
git-svn-id: trunk@31561 -
2011-07-04 17:13:28 +00:00
zeljko
7b6d0a6667 Gtk2: do not remove focus chain from combobox container, focusing by tab is fixed using another approach. issue #17662
git-svn-id: trunk@31560 -
2011-07-04 16:58:08 +00:00
zeljko
e9a0c2adee Gtk2: fixed tab focus switch in combobox edit
git-svn-id: trunk@31559 -
2011-07-04 16:51:26 +00:00
zeljko
9d6ccb72d3 Gtk2: unset focus chain from combobox container, so it does not select combobox menu button when combobox is editable.
git-svn-id: trunk@31558 -
2011-07-04 16:32:18 +00:00
sekelsenmat
bc7a2ba310 Moves TCustomNotebook to ComCtrls in preparation for renaming it
git-svn-id: trunk@31552 -
2011-07-04 09:43:21 +00:00
marco
6e953d396f * small fix that forces type of gtrue to longint. This makes lazarus compatible with both boolean32 based gboolean type (in FPC/trunk since r17923) while keeping compat with the old (longbool, which will remain in 2.4.x)
git-svn-id: trunk@31546 -
2011-07-03 20:39:13 +00:00
zeljko
e0012b328b Gtk2: set proper margins for GtkFrame. patch by Max Vlasov. issue #19658
git-svn-id: trunk@31534 -
2011-07-03 08:17:22 +00:00
jesus
3e230c04f9 LCL, gtk/qt, fix scrollbar issues in customcontrols generated since r31447 #ab611393ae, from August Klein, issue #14728
git-svn-id: trunk@31483 -
2011-07-01 03:33:50 +00:00
sekelsenmat
76ec22ed86 Activates using the gtk2 status item for TTrayIcon, if available, and implements OnClick support in this mode
git-svn-id: trunk@31481 -
2011-06-30 15:53:38 +00:00
paul
cb7061fa17 gtk2: when FillRect is called with a hatched/bitmap brush first fill the rect with a BkColor if BkMode = OPAQUE
git-svn-id: trunk@31472 -
2011-06-30 10:09:56 +00:00
sekelsenmat
17bfc6f175 Implements the most basic fullscreen support, for gtk2 only at the moment
git-svn-id: trunk@31470 -
2011-06-30 08:58:09 +00:00
zeljko
84d29ef869 LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().

git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
juha
ab611393ae LCL: fire correct ScrollCodes in TScrollbar.OnScroll event. Patch from August Klein, issue #14728
git-svn-id: trunk@31447 -
2011-06-29 00:16:05 +00:00
zeljko
8bdf87abed LCL: TListViewItems: implemented Exchange() and Move() to easy move or exchange items in list. Implementation done for gtk2 and qt
git-svn-id: trunk@31358 -
2011-06-24 12:04:01 +00:00
paul
762aef652a gtk2: don't show widget by default if it is not requested by TCreateParams (for TCheckBox, TButton, TCombobox, TEdit for now)
git-svn-id: trunk@31353 -
2011-06-24 07:36:16 +00:00
sekelsenmat
35a781c607 Adds more TScreen properties, from patch from bug #19379 by wovan.bugger
git-svn-id: trunk@31339 -
2011-06-22 21:03:25 +00:00
juha
8d4e521b8d LCL GTK2: Make Panel.OnPaint work. Patch from August Klein, issue #19488
git-svn-id: trunk@31280 -
2011-06-19 08:21:09 +00:00
mattias
44fa8c6766 LCL: made QueueAsyncCall and RemoveAsyncCalls thread safe
git-svn-id: trunk@31143 -
2011-06-09 11:00:09 +00:00
juha
4b57ac797b IDE & LCL: Move focus to editor after hitting breakpoint. Patch from August Klein, issue #15967
git-svn-id: trunk@31087 -
2011-06-05 06:22:54 +00:00
juha
10d948d4b2 LCL: Fix the cursor pointer for SpinEdit buttons and ListView column resize. Patch from August Klein, issues #16542 and #15083
git-svn-id: trunk@31038 -
2011-06-04 07:03:48 +00:00
juha
74a398b683 LCL: Fix PaintTo for GTK2. Patch from August Klein, issue #18242
git-svn-id: trunk@31018 -
2011-06-02 22:51:06 +00:00
juha
550b1d3a3a LCL, GTK2: Update ScrollBox.VertScrollBar.Position when scrolling with mouse wheel. Patch from August Klein, issue #19428
git-svn-id: trunk@30967 -
2011-05-29 23:08:52 +00:00
mattias
b68fd5c06b gtk2 intf: added flag Gtk2CallMouseDownBeforeContext to call mousedown before lm_context
git-svn-id: trunk@30939 -
2011-05-27 20:20:17 +00:00
zeljko
01f454abce LCL: introduced TWSScrollBar.SetKind() to avoid usage of RecreateWnd when changing kind of TScrollBar, because it crashes on 64bit installations.Fixed AV with qt and gtk2 under 64bit
git-svn-id: trunk@30853 -
2011-05-22 09:53:34 +00:00
zeljko
2a26b86c4c Gtk2: fixed crash under 64bit when changing orientation of trackbar.
git-svn-id: trunk@30847 -
2011-05-22 09:21:39 +00:00
juha
88e6da2538 LCL: fix custom draw Combobox. Patch from August Klein, issue #19356
git-svn-id: trunk@30792 -
2011-05-18 10:03:37 +00:00
juha
5ee9d4d079 LCL GTK2: fire OnExit event when leaving Combobox. Patch by August Klein, issue #18962
git-svn-id: trunk@30564 -
2011-05-05 23:56:49 +00:00
jesus
93747680f0 GTK2, reverted TEdit caret position as causes issue #19239
git-svn-id: trunk@30481 -
2011-04-26 18:45:30 +00:00
juha
22ef1d3d82 LCL: Stop handling click events after popup in gtkMouseBtnPress. Patch from August Klein, issue #19145
git-svn-id: trunk@30478 -
2011-04-26 08:26:59 +00:00
juha
4b1f5f2192 LCL: GTK2, fix offset by one when selecting and editing text in TEdit. Patch from Bart Broersma, issue #19220
git-svn-id: trunk@30461 -
2011-04-25 08:16:53 +00:00
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
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
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
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
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
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
zeljko
524d3d34c9 Gtk2: do not send TCN_SELCHANGE from same routine where TCN_SELCHANGING is sender, use after signal connection to send TCN_SELCHANGE.Patch by Christian. issue #18930
git-svn-id: trunk@30160 -
2011-04-03 18:28:52 +00:00
zeljko
67aec0c9c4 Gtk2: bugfix where csCaptureMouse cannot be disabled. issue #8178
git-svn-id: trunk@30152 -
2011-04-03 13:32:40 +00:00
paul
aecfd2f738 lcl: implement TListBox.ScrollWidth:
- win32, wince: set/get scrollwidth using LB_SETHORIZONTALEXTENT/LB_GETHORIZONTALEXTENT (issue #0018912)
  - qt, gtk2: don't show listbox horizontal scrollbar by default. show it only when scrollwidth > content area

git-svn-id: trunk@30138 -
2011-04-02 17:30:44 +00:00
marc
e999be5449 * Clear pixmap contents of empty mask. The contents of a new pixmaps is undefined
git-svn-id: trunk@30134 -
2011-04-02 16:19:42 +00:00
zeljko
3b4ec3eed8 Gtk2: avoid assertions from TListView itemSetState when path is null for gtk2 libs >= 2.14. issue #18865
git-svn-id: trunk@30089 -
2011-03-30 17:48:56 +00:00
paul
c6d193a983 gtk2: fix crash in calendar (issue #0010190)
git-svn-id: trunk@30018 -
2011-03-25 10:25:33 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
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
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
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
juha
b2fbbd9b34 LCL: Fix the rest of Assert to DebugLn conversion.
git-svn-id: trunk@29837 -
2011-03-14 11:54:38 +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
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
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
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
paul
bab4aa9c08 gtk2: formatting
git-svn-id: trunk@29710 -
2011-03-03 07:32:07 +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
paul
94fa55e000 gtk2: fix TGtk2WidgetSet.SetWindowRgn with NULL region
git-svn-id: trunk@29644 -
2011-02-22 07:15:01 +00:00
zeljko
de531a2af0 Gtk2: fixed crash when WinKey + Some key pressed and range check is on. issue #18743
git-svn-id: trunk@29548 -
2011-02-14 16:32:35 +00:00
zeljko
b8d5b4793d Gtk2: introduced TGtkDeviceContext.ClipRect, now gtk_paint_xxx() respects clipping rectangle. issue #14660
git-svn-id: trunk@29537 -
2011-02-13 20:26:48 +00:00
zeljko
a5cebb65d2 Gtk2: renamed Gtk1Create & Gtk1Destroy to Gtk2 counterparts.
git-svn-id: trunk@29536 -
2011-02-13 19:16:43 +00:00
zeljko
1611f70770 Gtk2: fixed assert with TCustomListView and lisFocused on gtk2 >= 2.20, Gtk2TranslateScrollStyle moved to gtk2proc to be reused by all
scrolling controls.

git-svn-id: trunk@29508 -
2011-02-13 11:30:14 +00:00
zeljko
7b7300a573 Gtk2: make gtk2 toolbuttons more look like real gtk2 theme toolbuttons.issue #18714
git-svn-id: trunk@29496 -
2011-02-12 21:25:15 +00:00
zeljko
96ead3b94a Gtk2: fixed long standing bug with clBtnText color, removed GetDefaultColor() for TToolBar and TCustomPanel, since it's color is ok now.
git-svn-id: trunk@29491 -
2011-02-12 19:53:25 +00:00
zeljko
be8772f584 Gtk2: gtk2WSFactory: register TCustomPanel, also fixed default text color for TPanel.
git-svn-id: trunk@29490 -
2011-02-12 19:36:22 +00:00
zeljko
9b53bfd7b2 Gtk2: implemented ScrollBars property for TMemo. patch by theo. issue #18735
git-svn-id: trunk@29478 -
2011-02-12 08:05:09 +00:00
zeljko
bfe9ce2155 Gtk2: fixed problem with clDefault over ToolBar. issues #18520,#18482
git-svn-id: trunk@29467 -
2011-02-11 16:45:11 +00:00
mattias
8f79d4c1be gtk2 intf: clean up
git-svn-id: trunk@29462 -
2011-02-11 09:33:34 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
mattias
a63a10dee6 gtk2 intf: clean up
git-svn-id: trunk@29429 -
2011-02-09 14:46:06 +00:00
paul
c2aca4cd85 lcl: replace TWidgetSet.AppHandle function with a readwrite property
git-svn-id: trunk@29278 -
2011-02-01 04:10:57 +00:00
zeljko
0797b99785 Gtk2: fix MessageDlg if contains < or/and >, patch by C Western. issue #18584
git-svn-id: trunk@29159 -
2011-01-22 12:38:53 +00:00
zeljko
619744bfed Gtk2: fixed crash with spin button under gtk2 < 2.12. issue #18554
git-svn-id: trunk@29157 -
2011-01-21 14:34:45 +00:00
mattias
eaaabadb9b lcl: clean up widgetset directories
git-svn-id: trunk@29044 -
2011-01-15 19:35:02 +00:00
mattias
2f02f99992 lcl: Makefile.compiled for all widgetsets
git-svn-id: trunk@29043 -
2011-01-15 19:30:15 +00:00
zeljko
0f23c5419f Gtk2: fixed wrong implementation of SetGCRasterOperation().Fixes issue #18330
git-svn-id: trunk@28844 -
2010-12-31 08:13:14 +00:00
zeljko
66febb954f Gtk2: don't parse printf params in dialogs text,use markup.Fixes issue #18313
git-svn-id: trunk@28823 -
2010-12-26 11:05:00 +00:00
martin
18f7996a1b GTK2: Adjust the modifier keys (alt, ctrl, ...) state, after app was deactivated. Issue #18033, #16165, #14102
git-svn-id: trunk@28788 -
2010-12-20 10:45:16 +00:00
zeljko
84cd9c95e2 Gtk2: call gtk2ws directly from combobox showhide.Fixes issue #18261
git-svn-id: trunk@28783 -
2010-12-20 08:13:46 +00:00
zeljko
cb05a49535 Gtk2: add gtk2 stock images to buttons in TGtk2WidgetSet.AskUser().
git-svn-id: trunk@28765 -
2010-12-18 17:29:58 +00:00
zeljko
eb53f351e6 Gtk2: AskUser() must use Buttons[].Caption instead of resourcestrings.
git-svn-id: trunk@28723 -
2010-12-15 16:56:31 +00:00
zeljko
8dab37107c Gtk2: TGtk2WidgetSet.AskUser() do not use stock gtk2 buttons id's, fixes problems with custom button captions
git-svn-id: trunk@28722 -
2010-12-15 14:43:17 +00:00
zeljko
2d8d01da6c Gtk2: fixed font changing on readonly combobox, issue #18206
git-svn-id: trunk@28704 -
2010-12-13 15:02:40 +00:00
blikblum
102226c772 gtk2: use align and box widgets (like gtk2 native buttons) instead of table widget to position text and glyph in TBitBtn. Fixes #8289, #16071, #8539.
git-svn-id: trunk@28647 -
2010-12-08 13:35:07 +00:00
zeljko
af4efa5544 Gtk2: fixed font calculation when lfHeight < 0.
git-svn-id: trunk@28646 -
2010-12-08 07:44:59 +00:00
vincents
eb2ba60ae1 LCL: Added TPageControl.MultiLine and TTabControl.MultiLine as unsupported properties on carbon, gtk, gtk2 and qt (issue #8928)
git-svn-id: trunk@28573 -
2010-11-30 15:56:21 +00:00
zeljko
799a9ade18 Gtk2: implemented AskUser(). Fixes issue #18081
git-svn-id: trunk@28552 -
2010-11-29 08:07:30 +00:00
zeljko
d500a9f47b Gtk2: use pango_font_description_set_absolute_size() instead of pango_font_description_set_size().Now font sizes are same like in qt and gtk under linux.
git-svn-id: trunk@28446 -
2010-11-24 10:07:46 +00:00
zeljko
da7a65635c Gtk2: Allow font change for TListView. Fixed issue #16964
git-svn-id: trunk@28444 -
2010-11-24 08:13:15 +00:00
zeljko
761b8d3048 Gtk2: fixed crash when -dDebug enabled. fixes issue #18016
git-svn-id: trunk@28401 -
2010-11-22 11:57:11 +00:00
zeljko
a31e9898e2 Gtk2: fixed item-changing notification in TGtk2CustomListView when in vsIcon mode, also fixed assert with gtk_icon_view_set_cursor() by passing valid TGtkTreePath param.Fixes issue #17309
git-svn-id: trunk@28350 -
2010-11-19 19:47:56 +00:00
zeljko
4d4bcc1584 Gtk2: implemented TTrackBar.Reversed property.
git-svn-id: trunk@28314 -
2010-11-18 10:02:59 +00:00
zeljko
a74e75f6a5 Gtk2: fixed doubled events over TListBox when right mouse button pressed.Fixes issue #17963
git-svn-id: trunk@28311 -
2010-11-18 07:34:33 +00:00
zeljko
9815e521d3 Gtk2: reset LastWFPResult used by WindowFromPoint() in case when shown/hidden,enabled/disabled,moved,resized widget overlaps current cache.Fixes issue #17389
git-svn-id: trunk@28288 -
2010-11-17 08:59:09 +00:00
zeljko
db41426263 Gtk2: fixed crash in TListBox selection handling.Fixes issue #17888
git-svn-id: trunk@28287 -
2010-11-17 08:18:10 +00:00
zeljko
9d19f99a23 Gtk2: fixed memleak in TGtk2WidgetSet.PromptUser()
git-svn-id: trunk@28285 -
2010-11-17 07:08:21 +00:00
zeljko
650a8ad5d0 Gtk2: fix gtk errors when calling TGtk2WSCustomGroupBox.GetPreferredSize() with nil label. fixes issue #17948
git-svn-id: trunk@28269 -
2010-11-16 12:40:01 +00:00
paul
e3134c1abd win32: start implementation of Vista+ FileOpen and FileSave dialogs. todo is in the win32wsdialogs.pp
git-svn-id: trunk@28239 -
2010-11-15 08:11:31 +00:00
zeljko
9383e30051 Gtk2: do not set transient window for messagedlg if we are under gtk2 versions > 2.12. Fixes issue #17848
git-svn-id: trunk@28110 -
2010-11-07 11:28:21 +00:00
zeljko
cdeb7f8f68 Gtk2: improved gtk2 performance in case of pointer motions by using GDK_POINTER_MOTION_HINT_MASK.Patch by Henry Vermaak. Fixes issue #14936
git-svn-id: trunk@28107 -
2010-11-06 13:10:17 +00:00