Commit Graph

2932 Commits

Author SHA1 Message Date
mattias
686b6e177b LCL: if clientsize changes without size change, call OnResize
git-svn-id: trunk@24749 -
2010-04-20 17:59:31 +00:00
mattias
cc036e53e9 gtk intf: GDIObjects are now reference counted, DeleteObject while object is selected is now allowed, bug #16291
git-svn-id: trunk@24743 -
2010-04-20 15:32:54 +00:00
mattias
708e6de6d9 LCL: implemented Application.TaskBarBehavior, bug #13537
git-svn-id: trunk@24682 -
2010-04-17 19:28:43 +00:00
paul
338187d10c gtk: SetShape - also shape fixed widget (fixes issue #0016074)
git-svn-id: trunk@24644 -
2010-04-16 02:58:01 +00:00
zeljko
21d5eda8e4 Gtk2: fixed wrong im_context reset. fixes #15965
git-svn-id: trunk@24524 -
2010-04-08 18:15:17 +00:00
paul
3c96229e18 gtk: implement statusbar themed parts painting
git-svn-id: trunk@24460 -
2010-04-06 07:47:45 +00:00
paul
82492703f2 lcl: correct declaration of TRIVERTEX, add TTriVertex, TGradientRect types, fix Qt and Gtk versions of GradientFill
git-svn-id: trunk@24458 -
2010-04-06 07:10:10 +00:00
mattias
b1b4157851 LCL: disabled exception for handle creation during loading, needed by glscene
git-svn-id: trunk@24382 -
2010-04-03 19:51:51 +00:00
mattias
e16bb0cfa4 LCL:
autosize: turn childs visible before parent
autosize without visible handle: clear requests
TWinControl.UpdateControlState: call AdjustSize to delay showing after bound computation
TWinControl.WMSize: ignore if no bounds were sent to intf
TToolBar.CreateWnd: delay autosize
TControl.DoAllAutoSize: do not autosize invisible controls

git-svn-id: trunk@24377 -
2010-04-03 13:28:35 +00:00
zeljko
113cf66c0f Gtk2: implemented SetActiveWindow(), fixes #16047 and Z order changing after closing modal form.
git-svn-id: trunk@24291 -
2010-03-30 07:24:48 +00:00
zeljko
be3e5448c6 gtk,gtk2,qt: fixed IsWindow() to check for all handles, not windows (forms) only.
git-svn-id: trunk@24288 -
2010-03-29 14:50:37 +00:00
zeljko
caf4b2dd3f LCL: added IsWindow(HWND), implemeted IsWindow() for qt, gtk and gtk2.
git-svn-id: trunk@24283 -
2010-03-29 12:42:58 +00:00
zeljko
8b981c9c48 Gtk: better fix for #16127.
git-svn-id: trunk@24248 -
2010-03-27 14:33:49 +00:00
zeljko
0c98e064f9 Gtk: statictext widget must set usize in case of new autosize. fixes #16127
git-svn-id: trunk@24247 -
2010-03-27 13:48:46 +00:00
zeljko
da4ea2af2e Gtk2: take care of adjustment max & min value in case of Gtk2WSScrollingWinControl
git-svn-id: trunk@24220 -
2010-03-26 13:18:54 +00:00
zeljko
ecf56f9f71 Gtk2: implemented Gtk2WSScrollingWinControl.ScrollBy(), gtk >= 2.8 uses "changed-value" instead "value-changed" on all TScrollingWinControls (GtkRange instead GtkAdjustment callbacks) from now on.NOTE: with gtk >= 2.18 users must set environment variable GDK_NATIVE_WINDOWS=1 otherwise GdkWindow paintings will be funny (when scrolling GtkScrolledWindow). fixes #7321, #10390.
git-svn-id: trunk@24217 -
2010-03-26 11:35:06 +00:00
zeljko
d6a4a9f651 Gtk: fixed bug in TGtkWSCustomNotebook.GetTabIndexAtPos(), it should check if tabwidget is mapped.fixes #15472
git-svn-id: trunk@24209 -
2010-03-25 10:37:23 +00:00
zeljko
9dde8efaf2 Gtk2: removed doubled ConnectSenderSignal(Adjustment, 'value-changed', @GTKVScrollCB); from LM_VSCROLL
git-svn-id: trunk@24192 -
2010-03-24 16:55:26 +00:00
zeljko
f2a96132c4 Gtk2: fixed bug when tabwidget icon isn't updated when imageindex changed until it gets focus. fixes #16049
git-svn-id: trunk@24191 -
2010-03-24 16:34:35 +00:00
paul
df57e9f69f gtk: apply affine transform if MapMode = MM_TEXT but ViewPortOrg <> (0, 0)
git-svn-id: trunk@24165 -
2010-03-22 08:03:04 +00:00
paul
073fd0771e gtk: fix SetWindowOrgEx - it moved to the wrong direction
git-svn-id: trunk@24163 -
2010-03-22 04:39:53 +00:00
mattias
c4527d2bc9 translations: german: updates from Joerg Braun
git-svn-id: trunk@24101 -
2010-03-19 18:25:41 +00:00
mattias
cbbac5d4f9 gtk2 intf: isiconic: check if window is not nil
git-svn-id: trunk@24063 -
2010-03-17 14:05:08 +00:00
zeljko
e00a729df4 gtk2: small fix for gtkEntry 'changed' , gtk2 bug is fixed in >= 2.17 not >= 2.15
git-svn-id: trunk@24050 -
2010-03-16 20:01:53 +00:00
zeljko
ca4e6d270d Gtk2: fixed inconistency between gtk2 libs versions for GtkEntry 'changed' event.
git-svn-id: trunk@24048 -
2010-03-16 18:56:19 +00:00
mattias
ec6bd0f076 gtk intf: do not allocate size for notebook on add page
git-svn-id: trunk@24047 -
2010-03-16 18:52:14 +00:00
zeljko
42ecbc3588 Gtk2: rework cursor_pos update for GtkEntry.Now it works correct and completely fixes #7243
git-svn-id: trunk@24043 -
2010-03-16 15:34:28 +00:00
zeljko
9444dd3460 Gtk: update GtkEntry cursorpos in changed event for gtk too. issue #7243
git-svn-id: trunk@24031 -
2010-03-16 11:01:02 +00:00
zeljko
3066ad5a51 Gtk2: provoke gtkEditable to update GtkEntry cursorpos property inside changed event. fixes #7243
git-svn-id: trunk@24030 -
2010-03-16 09:14:54 +00:00
paul
6bf6b20594 gtk, gtk2: move SetWindowRgn to gtk2 code since gtk1 does not have appopriate functions. fixes gtk1 compilation
git-svn-id: trunk@24008 -
2010-03-15 08:33:23 +00:00
paul
edc0a237f0 gtk: implement SetWindowRgn based on patch of Massimo Magnano (issue #0015870)
git-svn-id: trunk@24006 -
2010-03-15 08:26:05 +00:00
paul
b67e10007a gtk2: apply patch by cobines which improves menu icon positioning (issue #0015565)
git-svn-id: trunk@24004 -
2010-03-15 04:15:11 +00:00
paul
b6b87b095a gtk1: fix compilation
git-svn-id: trunk@23985 -
2010-03-14 07:46:06 +00:00
paul
0c1c7b1a6c lcl, gtk, gtk2: fix some ParentWindow problems when assigned to TCustomForm
git-svn-id: trunk@23984 -
2010-03-14 07:29:50 +00:00
zeljko
4b739cb16f Gtk2: avoid assertions inside SetZPosition() for TScrollBox.fixes #15742
git-svn-id: trunk@23969 -
2010-03-12 16:13:46 +00:00
zeljko
3bd8a20b34 Gtk2: AlignToGtkAlign() moved from gtk2wscomctrls to gtkproc for reusing.Status bar labels alignment rework - fixed #14790.
git-svn-id: trunk@23963 -
2010-03-12 10:25:01 +00:00
mattias
874b22249a LCL: made NewAutoSize default, added -dOldAutoSize
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +00:00
zeljko
b6218b0cd8 Gtk2: introduced RectFromGdkRect(), GdkRectFromRect() moved from gtkthemes to gtkproc. Fixed wrong result in TGtk2WSCustomListView.ItemDisplayRect() because TGdkRectangle isn't same like TRect.
git-svn-id: trunk@23927 -
2010-03-10 18:37:59 +00:00
mattias
b734582362 gtk intf: reduced debugging
git-svn-id: trunk@23896 -
2010-03-09 16:18:55 +00:00
mattias
95ac50cc3f gtk intf: using default client rect until style allocated
git-svn-id: trunk@23893 -
2010-03-09 15:48:45 +00:00
paul
8b17054a01 gtk: fix SetParent
git-svn-id: trunk@23857 -
2010-03-07 07:42:13 +00:00
paul
233b6549b8 lcl: start implementation for gtk SetParent and TWinControl.ParentWindow
git-svn-id: trunk@23856 -
2010-03-07 06:23:24 +00:00
mattias
f15052d222 LCL: newautosize: more debugging
git-svn-id: trunk@23855 -
2010-03-07 00:43:08 +00:00
mattias
09834f1ed5 gtk intf: reduced warnings
git-svn-id: trunk@23849 -
2010-03-06 21:52:54 +00:00
paul
963759090b gtk: AddControl should add to the fixed widget with Control coordinates (not Parent coordinates) + formatting and cleanup
git-svn-id: trunk@23847 -
2010-03-06 19:42:17 +00:00
paul
30c02025b3 gtk: fix AV in GetWindowDebugReport based on patch of Flávio Etrusco (issue #0015857) + formatting
git-svn-id: trunk@23811 -
2010-03-01 07:21:33 +00:00
paul
6265a0532d gtk: implement TCustomForm.PopupParent
git-svn-id: trunk@23739 -
2010-02-19 07:22:18 +00:00
jesus
4d3f0d5fe8 LCL, fix hidding scrollbars when SIF_DISABLENOSCROLL is not present on calls to SetScrollInfo (gtk), issue #13968
git-svn-id: trunk@23696 -
2010-02-12 06:44:55 +00:00
paul
e4be44c88e fix comment
git-svn-id: trunk@23613 -
2010-02-03 07:52:49 +00:00
paul
198567241a gtk2: minor changes of gtk scroll-event handler
git-svn-id: trunk@23605 -
2010-01-31 12:02:18 +00:00
paul
cd98f676d8 gtk2: fix menu positioning. move position ourself if menu is over the screen height (issue #0015547)
git-svn-id: trunk@23578 -
2010-01-28 04:36:33 +00:00
paul
b24bd8f15d gtk2: implement TWsCustomForm.SetAlphaBlend
git-svn-id: trunk@23568 -
2010-01-27 08:34:20 +00:00
paul
62640977d0 lcl: convert forms to use fpc resources
git-svn-id: trunk@23435 -
2010-01-13 12:54:33 +00:00
marc
20448170ae + WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
paul
7f5f2e5540 lcl: remove remain ver2_0 code
git-svn-id: trunk@23394 -
2010-01-06 17:43:33 +00:00
blikblum
cda8e1ba09 gtk: Change the logic to select the gtkstyle in TGtkThemeServices.GetGtkStyleParams so is possible to draw in DC without widgets (Bitmaps)
git-svn-id: trunk@23317 -
2009-12-29 19:36:19 +00:00
blikblum
b07215ffad gtk: undo the DC offset before returning the adjusted rect value in DrawEdge
git-svn-id: trunk@23271 -
2009-12-25 10:54:14 +00:00
blikblum
eda58ffd42 gtk: fill the interior one pixel smaller to avoid overllaping with the border in DrawEdge
git-svn-id: trunk@23270 -
2009-12-25 10:45:55 +00:00
blikblum
6b7d886771 gtk: fill interior with btnface color in DrawEdge
git-svn-id: trunk@23269 -
2009-12-25 10:34:15 +00:00
blikblum
651640edd0 gtk: DrawFrameControl: simplify determination of ButtonPush state / correctly sets hot state
git-svn-id: trunk@23268 -
2009-12-25 10:26:11 +00:00
blikblum
1b2caef6ee gtk: DrawFrameControl: change the logic to determine the button type so it's possible to draw 3 state radio button
git-svn-id: trunk@23267 -
2009-12-25 10:06:30 +00:00
blikblum
1b22f11d7f gtk: format code to determine check/radio state in DrawFrameControl for better readability
git-svn-id: trunk@23266 -
2009-12-25 10:00:38 +00:00
blikblum
991f66b576 gtk: In DrawFrameControl check if widget is nil before getting style to prevent gtk critical error messages
git-svn-id: trunk@23265 -
2009-12-24 20:08:25 +00:00
blikblum
685da51f7b gtk: remove check for widget <> nil in DrawFrameControl since according to Gtk documentation is allowed to pass nil to Widget parameter in gtk_paint_check and gtk_paint_option. Moreover the fallback acll (gtk_draw_check) just calls the same code as gtk_paint_check with Widget parameter = nil (checked gtk sources).
git-svn-id: trunk@23264 -
2009-12-24 16:35:24 +00:00
blikblum
20fbb32eba gtk: implement drawing radio button in DrawFrameControl
git-svn-id: trunk@23263 -
2009-12-24 16:20:51 +00:00
blikblum
c41b85d125 gtk: implement drawing 3 state button in DrawFrameControl
git-svn-id: trunk@23262 -
2009-12-24 14:39:25 +00:00
blikblum
2990e162fc gtk: fix DrawFrameControl to draw checkboxes with the correct style/shadow
git-svn-id: trunk@23261 -
2009-12-24 14:15:29 +00:00
blikblum
92a8d97119 gtk: avoid crash in DrawFrameControl when drawing to a bitmap - bug #9234
git-svn-id: trunk@23260 -
2009-12-24 13:50:41 +00:00
paul
00caf2a35c gtk2: fix showing of modal windows (issue #0015392)
git-svn-id: trunk@23220 -
2009-12-22 02:45:31 +00:00
paul
d08379fcd7 gtk: apply gtk clipboard patch by C Western (issue #0015097)
git-svn-id: trunk@23212 -
2009-12-21 09:56:10 +00:00
paul
c6e04024a2 gtk: fix setting cursor for TGroupBox and probably for some other controls (issue #0015351)
git-svn-id: trunk@23153 -
2009-12-17 04:06:22 +00:00
paul
98f9a52bdf gtk2: fix copyright header
git-svn-id: trunk@23152 -
2009-12-17 04:05:26 +00:00
paul
45e870d575 win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857)
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +00:00
paul
825457d6b0 win32, wince, qt, gtk: fix DCSetPixel to allow system colors by Luiz Americo (issue #0015265)
git-svn-id: trunk@23136 -
2009-12-14 05:29:59 +00:00
paul
e4f8fd228f gtk: fix FrameRect drawing by Luiz Americo (issue #0015269)
git-svn-id: trunk@23135 -
2009-12-14 05:22:10 +00:00
mattias
6cc37ddac3 gtk2 intf: added style-after event - no implementation yet
git-svn-id: trunk@23085 -
2009-12-11 19:58:30 +00:00
paul
91640c8d2b gtk, qt: don't raise any exception when hatches brush is requested but hatch is not set - use solid brush as windows do in this case (fixes bug #0015195)
git-svn-id: trunk@22994 -
2009-12-06 06:59:46 +00:00
andrew
9c6613b677 Fixed bug #13303 where Showing a modal form from a TMenuItem click could cause an access violation
git-svn-id: trunk@22929 -
2009-12-02 23:42:03 +00:00
andrew
2df5004aed * WidgetInfo memory is cleared to nil before it is freed so that bugs will be exposed if widgetinfo is referenced after it is freed
git-svn-id: trunk@22913 -
2009-12-02 02:30:30 +00:00
paul
de89e6efe0 gtk: also use TPopupMenu.IsRightToLeft to determine the popup position
git-svn-id: trunk@22737 -
2009-11-24 08:44:15 +00:00
paul
58c78a36ab gtk, gtk2: implement TPopupMenu.Alignment
git-svn-id: trunk@22736 -
2009-11-24 08:30:43 +00:00
paul
69a20b9e3c lcl: fix issues files for gtk and gtk2 (widgetset names were mixed)
git-svn-id: trunk@22730 -
2009-11-24 03:33:03 +00:00
paul
c8e69ea350 gtk2: fix TGTKWidgetSet.RawImage_FromPixbuf by C Western (issue #0015080)
git-svn-id: trunk@22717 -
2009-11-23 06:55:57 +00:00
paul
eb5ca6d8d6 gtk: fix word wrapping of TStaticText (issue #0015078)
git-svn-id: trunk@22687 -
2009-11-20 07:45:23 +00:00
mattias
9303e63f1a gtk intf: change mouse cursor crHandPoint to GDK_Hand2, bug #15060
git-svn-id: trunk@22599 -
2009-11-15 14:37:04 +00:00
mattias
f93e24d3de LCL: newautosize: debugging
git-svn-id: trunk@22583 -
2009-11-13 23:06:17 +00:00
jesus
1ab6860b98 LCL, added metrics to fix grid's auto scrollbar issue #14799
git-svn-id: trunk@22535 -
2009-11-11 20:59:23 +00:00
mattias
812b84fe1f gtk: newautosize: send size messages when not realized
git-svn-id: trunk@22533 -
2009-11-11 18:06:50 +00:00
martin
e633753632 LCL, Interfaces: added TNotebook.TabRect for Win/Gtk/2
git-svn-id: trunk@22512 -
2009-11-10 05:13:46 +00:00
paul
7a349faa5d gtk1: fix compilation
git-svn-id: trunk@22303 -
2009-10-27 09:08:46 +00:00
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
paul
71db979c45 gtk: don't try to set pattern for pen with dashes count = 0
git-svn-id: trunk@22157 -
2009-10-13 22:21:01 +00:00
paul
83c67a0a1b gtk: a more safer code for dashes allocation
git-svn-id: trunk@22156 -
2009-10-13 22:12:28 +00:00
mattias
3009135479 gtk intf: comments
git-svn-id: trunk@21837 -
2009-09-23 12:07:50 +00:00
mattias
bd38195d35 gtk intf: TGtkWSCustomEdit.SetText: lock during set and fire CM_TEXTCHANGED, bug #14615
git-svn-id: trunk@21836 -
2009-09-23 12:06:24 +00:00
paul
495f9f3481 gtk: apply patch of Burkhard Carstens to fix possible memory leaks of XGetWindowProperty calls (issue #0014659)
git-svn-id: trunk@21833 -
2009-09-23 10:27:34 +00:00
mattias
412dddbda7 gtk intf: VerboseTWinControlRealText connect signal after
git-svn-id: trunk@21823 -
2009-09-22 16:11:35 +00:00
mattias
5507b410fc LCL: added debugging -dVerboseTWinControlRealText
git-svn-id: trunk@21809 -
2009-09-21 20:51:50 +00:00
paul
f74c3e2724 gtk: fix compilation
git-svn-id: trunk@21796 -
2009-09-21 09:07:13 +00:00
mattias
f833ae42ef gtk intf: fixed GTKAPIWidgetClient_GetType: gtype
git-svn-id: trunk@21794 -
2009-09-21 08:04:10 +00:00
mattias
f644767fc3 gtk intf: fixed GTKAPIWidget_GetType: gtype
git-svn-id: trunk@21793 -
2009-09-21 07:55:27 +00:00
mattias
a564288864 gtk intf: TGtkWidgetSet.CreateBitmap: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21791 -
2009-09-20 22:26:59 +00:00
mattias
90d57b132f gtk intf: TGtkWidgetSet.CreateBrushIndirect: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21790 -
2009-09-20 22:18:46 +00:00
mattias
f75643d1fa gtk intf: TGTKWidgetSet.CreateIconIndirect: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21789 -
2009-09-20 22:17:41 +00:00
mattias
56d4c6764d gtk intf: gdk_pixbuf_render_pixmap_and_mask: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21788 -
2009-09-20 22:17:03 +00:00
mattias
85a065e6cd gtk intf: fixed uninitialized variables
git-svn-id: trunk@21787 -
2009-09-20 22:16:07 +00:00
mattias
7eb1c29d07 gtk intf: TGtkWSCustomListView.ItemSetImage: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21786 -
2009-09-20 22:15:10 +00:00
mattias
f7a5ae1032 gtk intf: TGtkWSCustomListView.ItemChangeInternal: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21785 -
2009-09-20 22:14:29 +00:00
mattias
17b5d19761 gtk intf: TGtkWSDragImageList.BeginDrag: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21784 -
2009-09-20 22:13:40 +00:00
mattias
d77de397b1 gtk intf: gdk_pixbuf_render_pixmap_and_mask creates the pixmap and mask itself
git-svn-id: trunk@21783 -
2009-09-20 22:10:20 +00:00
mattias
de15642a37 gtk intf: fixed unsafe property access
git-svn-id: trunk@21775 -
2009-09-19 23:11:38 +00:00
paul
330a5d389d gtk1: introduce GDK_WINDOW_GET_MINIMIZED (based on extremely bugged version of GDK_WINDOW_MINIMIZE), fix IsIconic
git-svn-id: trunk@21724 -
2009-09-16 03:45:02 +00:00
paul
72b7bf8ca6 lcl: add IsIconic, IsZommed win32 compatibility functions
git-svn-id: trunk@21711 -
2009-09-15 09:34:41 +00:00
paul
3c12d6c41b designer: woraround gtk2 bug with drawing text on GDK_INCLUDE_INFERIOR graphic context
git-svn-id: trunk@21641 -
2009-09-10 01:43:48 +00:00
paul
c023781b29 gtk1: fix compilation
git-svn-id: trunk@21629 -
2009-09-08 22:00:22 +00:00
paul
dca985f3e8 gtk: fix Frame3D drawing on the designer canvas
git-svn-id: trunk@21623 -
2009-09-08 13:39:43 +00:00
vincents
18ea81f368 gtk interfaces: use GetCurrentThreadID to compare with MainThreadId, GetThreadID somehow returns a different value, fixes issue #14335)
git-svn-id: trunk@21622 -
2009-09-08 12:21:54 +00:00
paul
fd061442cc gtk: fix SaveDC
git-svn-id: trunk@21611 -
2009-09-08 08:34:15 +00:00
paul
e91e5145cb gtk: formatting
git-svn-id: trunk@21610 -
2009-09-08 08:26:51 +00:00
paul
d43964d5f1 gtk: take care of LastWPResult when we are disconnecting all widget signal handlers (must fix bug #0014512)
git-svn-id: trunk@21608 -
2009-09-08 06:58:44 +00:00
paul
91915ea85b gtk: simplify DestroyWindowFromPointCB and other minor corrections to WindowFromPoint
git-svn-id: trunk@21598 -
2009-09-07 09:45:07 +00:00
paul
bbba97d4a7 gtk: improve TGtkWidgetset.WindowFromPoint (fixes issue #0014511)
git-svn-id: trunk@21590 -
2009-09-06 13:38:03 +00:00
paul
907df92e81 gtk: more safer code in WindowFromPoint (fixes #0014497)
git-svn-id: trunk@21569 -
2009-09-04 13:49:41 +00:00
paul
fa1b49813e gtk2: don't emulate eaten keys if key handler was stopped (fixes issue #0014481)
git-svn-id: trunk@21545 -
2009-09-03 01:27:07 +00:00
paul
040131af50 gtk: hide some warnings when HideKeyTableWarnings is defined
git-svn-id: trunk@21519 -
2009-09-01 14:01:10 +00:00
mattias
56223815cd gtk1+2 intf: SetScrollInfo: 0 <= nPage <= nMax-nMin+1, nMin <= nPos <= nMax - Max(nPage-1,0)
git-svn-id: trunk@21504 -
2009-08-31 19:49:31 +00:00
paul
e7abeb60a0 gtk2: better fix CharToKeyVal
git-svn-id: trunk@21457 -
2009-08-26 17:52:01 +00:00
paul
cd516210d7 gtk2: fix typo in CharToKeyVal logic
git-svn-id: trunk@21456 -
2009-08-26 17:47:14 +00:00
mattias
4bd95ef5b3 gtk intf: comments
git-svn-id: trunk@21402 -
2009-08-22 19:44:59 +00:00
mattias
e0c57af916 undo
git-svn-id: trunk@21399 -
2009-08-22 19:40:53 +00:00
mattias
b03dbf338e synedit: added checks if handle is allocated
git-svn-id: trunk@21398 -
2009-08-22 19:33:35 +00:00
paul
5ebfb46064 gtk: hide internal tooltip window or it shows on the screen as small artefact
git-svn-id: trunk@21386 -
2009-08-21 16:54:39 +00:00
paul
10aa429021 gtk, gtk2: fix memory leak on destruction of some widgets by cobines (issue #0014090) + formatting of surrounding code
git-svn-id: trunk@21380 -
2009-08-21 09:34:54 +00:00
mattias
5a2c69fa37 gtk1 intf: fixed compilation
git-svn-id: trunk@21220 -
2009-08-14 09:21:16 +00:00
mattias
7dbec45e6d gtk2 intf: fixed slow down when mouse outside bug #11740, fixed crash when WindowFromPoint widget destroyed
git-svn-id: trunk@21213 -
2009-08-13 06:53:35 +00:00
marc
6185c6ab60 * reverted r21200 #16af7e11b4, the removed functionality is essential when running lcl apps remote
git-svn-id: trunk@21207 -
2009-08-12 21:43:56 +00:00
mattias
4e41553208 gtk2 intf: calendar: implemented GetPreferredSize
git-svn-id: trunk@21202 -
2009-08-12 15:43:30 +00:00
mattias
365837b53b gtk2 intf: clean up
git-svn-id: trunk@21201 -
2009-08-12 15:24:07 +00:00
mattias
16af7e11b4 gtk intf: removed cache for windowfrompoint, it crashes if widget was destroyed
git-svn-id: trunk@21200 -
2009-08-12 15:10:44 +00:00
mattias
1c5875ccfe gtk2 intf: removed auto mouse capture on mouse btn press fixing X locks with modal forms, LCL: fixed some typos
git-svn-id: trunk@21198 -
2009-08-12 14:04:52 +00:00
mattias
e23b9f69c4 gtk1: clean up
git-svn-id: trunk@21152 -
2009-08-10 12:01:22 +00:00
mattias
2f8de86823 codetools: added -dVerboseCTSave
git-svn-id: trunk@21093 -
2009-08-03 21:28:27 +00:00
paul
e97576c1c7 gtk2: fix PaintTo (bug #0014201)
git-svn-id: trunk@20984 -
2009-07-28 04:02:20 +00:00
paul
c907579c4c lcl: fix compilation under windows
git-svn-id: trunk@20934 -
2009-07-24 13:42:38 +00:00
marc
42c8e0fbea * Removed own shiftstate tracking since it doesn't work when the app looses focus.
Either X or windows is queried now. Fixes issue #14102
  Also removed the EnableGtkShiftState conditional (r20870), since it is not an ubunto only problem, the concept was faulty itself

git-svn-id: trunk@20888 -
2009-07-18 16:10:55 +00:00
paul
73afc18adf gtk, gtk2: destroy internal labelWidget of TBitBtn if Caption is empty for better layouting
git-svn-id: trunk@20876 -
2009-07-17 14:36:46 +00:00
mattias
69d68a7b86 gtk intf: added flag EnableGtkShiftState to use gtk key shift state, needed on ubuntu
git-svn-id: trunk@20870 -
2009-07-16 12:28:03 +00:00
paul
a4a1469e9d gtk: don't raise an exception if we are creating DC and can't get drawable (fixes issue #14035)
git-svn-id: trunk@20869 -
2009-07-16 02:00:13 +00:00
paul
6e06aafd15 gtk: fix compilation
git-svn-id: trunk@20863 -
2009-07-15 07:41:14 +00:00
paul
405bc268f5 gtk, gtk2: handle situations when popup menu has been inserted into main menu submenu (remaining part of issue #0014144)
git-svn-id: trunk@20862 -
2009-07-15 07:31:18 +00:00