Commit Graph

2361 Commits

Author SHA1 Message Date
vincents
358a3b59a8 let wm_ncdestroy through, so we can destroy the windowinfo
git-svn-id: trunk@7113 -
2005-04-28 13:11:05 +00:00
micha
96e2620223 fix accelerator handling firing too quickly, better WM_CHAR has-been-handled heuristic
check for focusability of label.focuscontrol

git-svn-id: trunk@7111 -
2005-04-28 10:05:29 +00:00
mattias
c83972e61b backtraces for gtk gdi objects -dTraceGdiCalls from Jesus
git-svn-id: trunk@7101 -
2005-04-25 07:55:33 +00:00
micha
712c2c41f3 showwindow does not send WM_SHOWWINDOW message after maximized window creation (patch from jesus)
git-svn-id: trunk@7098 -
2005-04-22 10:48:42 +00:00
vincents
4c93d064a5 fixed SpinEdit.Visible and SpinEdit.Enabled
git-svn-id: trunk@7093 -
2005-04-20 14:08:38 +00:00
micha
fbb495bee3 implement active default control switching
pressing return key executes active default control action

git-svn-id: trunk@7080 -
2005-04-17 18:41:15 +00:00
micha
9b9bfe455c fix synchronisation for fpc 1.9.9
git-svn-id: trunk@7077 -
2005-04-15 09:27:23 +00:00
micha
66da3891a0 fix taskbar button being removed and reinserted when minimizing mainform
git-svn-id: trunk@7075 -
2005-04-13 17:17:16 +00:00
marc
5a6ae1d91c - Removed underscores from properties
git-svn-id: trunk@7071 -
2005-04-12 21:21:11 +00:00
marc
d926947285 * Fix for bug #864 by Andrew Haines
git-svn-id: trunk@7070 -
2005-04-12 21:06:00 +00:00
micha
b2c1d425e5 fixed: listbox loses selection when updating selected item (fixes #780)
git-svn-id: trunk@7068 -
2005-04-11 12:35:17 +00:00
marc
60f6291387 * Fix for #859 from Andrew Haines (modified)
git-svn-id: trunk@7066 -
2005-04-10 16:30:44 +00:00
micha
1ed4bab790 fix bug #684 properly, opendialog closes automatically after messagedlg (much thanks to uberto)
git-svn-id: trunk@7065 -
2005-04-08 16:59:37 +00:00
marc
776866aee2 * gtk2 patch from Andrew
git-svn-id: trunk@7064 -
2005-04-07 22:04:02 +00:00
micha
c0bd0aabc6 implement Ctrl+A to select all text for edit controls
git-svn-id: trunk@7063 -
2005-04-07 15:52:31 +00:00
micha
fbde65eae3 customcheckbox: do not unnecessarily ask state twice
first let widget process BM_SETCHECK, so we do not see itemindex=-1 in between

git-svn-id: trunk@7062 -
2005-04-06 10:43:40 +00:00
mattias
5ab09c1d2d aesthetical improvements for colorbuttons from Luca Minuti
git-svn-id: trunk@7061 -
2005-04-06 10:39:36 +00:00
mattias
6697af3196 accelerated TMemo on gtk, gtk2 and win32 interface from Andrew Haines
git-svn-id: trunk@7060 -
2005-04-05 19:41:19 +00:00
mattias
78efae3919 reduced gtk2 warnings from Danny Milosavljevic
git-svn-id: trunk@7055 -
2005-04-04 11:57:47 +00:00
micha
ad04037248 move GetNotebookTabIndexAtPos to the widgetset interface
implement it for win32 widgetset (fixes bug #669)

git-svn-id: trunk@7046 -
2005-03-31 21:29:45 +00:00
micha
cdcf64b178 mainform may also be an MDI form, or a stay on top form (fixes bug #656)
git-svn-id: trunk@7044 -
2005-03-31 20:07:44 +00:00
micha
55c52e0e16 fix bug #659 and #660: LM_RBUTTONUP message returns true whenever popupmenu was invoked
git-svn-id: trunk@7040 -
2005-03-30 18:34:42 +00:00
micha
2a8cf12022 use FileDialog FilterIndex
git-svn-id: trunk@7031 -
2005-03-26 14:01:36 +00:00
mattias
99f0805786 implemented TMemo text for gtk2, TRadioGroup.OnClick is now called whenever ItemIndex changed, so it works now also under gtk2 Delphi compatible from Andrew Haines
git-svn-id: trunk@7026 -
2005-03-25 17:47:55 +00:00
micha
8787ae886a fix dc origin to take window origin into account (fixed drawing invisible components on graphiccontrols in designer)
git-svn-id: trunk@7025 -
2005-03-25 16:59:38 +00:00
micha
8f6d8166b8 implement TWin32WidgetSet.GetDCOriginRelativeToWindow
git-svn-id: trunk@7024 -
2005-03-25 16:41:35 +00:00
micha
09233bbe50 make DestroyHandle method protected again, use global RecreateWnd procedure
git-svn-id: trunk@7023 -
2005-03-25 16:41:00 +00:00
micha
ab2ceb0d19 implement ShowInTaskBar for win32 intf
git-svn-id: trunk@7022 -
2005-03-25 08:58:11 +00:00
micha
d248fcf4af "fix" for opendialog being closed after showing message dialog
git-svn-id: trunk@7017 -
2005-03-23 20:45:18 +00:00
mattias
a4f497026b fixed ambigious with ambiguous
git-svn-id: trunk@7011 -
2005-03-23 10:45:06 +00:00
mattias
b890419d5e fixed gtk2 event flags from Andrew Haines
git-svn-id: trunk@7010 -
2005-03-23 09:28:13 +00:00
mattias
c0e9b1683c gtk1 intf no longer moves a focused window to another desktop from Andrew Haines
git-svn-id: trunk@7006 -
2005-03-21 18:59:50 +00:00
mattias
62ef8130bc implemented Multi Masks for gtk1 filedialogs
git-svn-id: trunk@7002 -
2005-03-21 09:03:54 +00:00
mattias
bf1821ccbe gtk intf sorting directories in filedialg from Jesus
git-svn-id: trunk@7001 -
2005-03-21 08:24:59 +00:00
mattias
22928a36c1 fixed removing focus of a gtk listbox on delete item from Collin Western
git-svn-id: trunk@6999 -
2005-03-21 08:12:10 +00:00
mattias
954f62e620 disabled gtk1 focussing a window, enable it with -dEnableGtkWindowFocus
git-svn-id: trunk@6997 -
2005-03-20 09:45:05 +00:00
mattias
4442c43d56 next try to fix the gtk1 crashing on focussing a window from Andrew Haines
git-svn-id: trunk@6996 -
2005-03-20 09:35:47 +00:00
mattias
5ec0ba3595 implemented TCustomForm.ShowInTaskBar for gtk1+2 from Andrew Haines
git-svn-id: trunk@6995 -
2005-03-19 23:36:26 +00:00
micha
3e4b7bdaed use LCL font is it is non-default
git-svn-id: trunk@6994 -
2005-03-19 13:19:39 +00:00
mattias
2221cce016 gtk1: minimizing windows, missing: window state events from Andrew Haines
git-svn-id: trunk@6990 -
2005-03-19 09:17:20 +00:00
mattias
139b3f1dda next try to fix the crashing when switching focus from Andrew Haines
git-svn-id: trunk@6988 -
2005-03-18 15:32:13 +00:00
mattias
82338611c1 creating gtk_calendar in a gtk_frame - calendar seems to need a parent window
git-svn-id: trunk@6987 -
2005-03-18 14:43:54 +00:00
mattias
ebe99f3599 accelerated cups printing and added targets sparc-linux and powerpc-linux
git-svn-id: trunk@6985 -
2005-03-18 12:46:48 +00:00
mattias
80c38a6712 added gtk1 check for current desktop on focussing windows from Andrew Haines
git-svn-id: trunk@6974 -
2005-03-17 10:10:51 +00:00
marc
05679674a3 * fixed viewstyle property access
git-svn-id: trunk@6973 -
2005-03-17 00:41:15 +00:00
marc
354b98ed73 * 64bit patch (partial) from Peter Vreman
git-svn-id: trunk@6972 -
2005-03-17 00:09:37 +00:00
marc
e9c207098d + Added include reference
git-svn-id: trunk@6971 -
2005-03-17 00:06:44 +00:00
mattias
5019fad7e9 published TStringGrid.OnResize/OnChangeBounds and fixed gtk1 intf check in focussing
git-svn-id: trunk@6968 -
2005-03-16 17:45:28 +00:00
micha
c75570f78b fix min/max value, up/down order for spinedit
git-svn-id: trunk@6965 -
2005-03-16 16:14:14 +00:00
mattias
e630464bae added some checks to avoid crashes
git-svn-id: trunk@6964 -
2005-03-16 12:30:15 +00:00
mattias
0c905491cf improved gtk1 intf switching focus to another form from Andrew Haines
git-svn-id: trunk@6959 -
2005-03-16 11:36:21 +00:00
micha
76ef932687 return value too inconsistent to be used, fixes #775 (by uberto)
git-svn-id: trunk@6953 -
2005-03-14 22:11:03 +00:00
micha
d71687e839 check nil pointer to avoid AV (by jesusrmx)
git-svn-id: trunk@6952 -
2005-03-14 21:49:41 +00:00
mattias
08fd79653c fixed deleting selected TListBox item under gtk1 from Collin
git-svn-id: trunk@6946 -
2005-03-13 22:35:17 +00:00
mattias
2874d9c53a implemented for gtk intf TFileDialog.FilterIndex from Jesus
git-svn-id: trunk@6942 -
2005-03-11 15:35:49 +00:00
marc
098d18e2c0 * Patch from Danny Milosavljevic to access columns
git-svn-id: trunk@6936 -
2005-03-10 22:03:40 +00:00
mattias
8a344c0ff0 BorderStyle for TCustomEdit in win32 intf from Jesus
git-svn-id: trunk@6925 -
2005-03-08 10:32:47 +00:00
mattias
c7ed36c323 implemented gtk2 AppMinimize
git-svn-id: trunk@6921 -
2005-03-08 00:28:03 +00:00
vincents
5c84454943 changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
git-svn-id: trunk@6915 -
2005-03-07 21:59:45 +00:00
mattias
0c17f82e23 fixed unsetting ItemIndex on changing TComboBox.Text
git-svn-id: trunk@6913 -
2005-03-07 18:46:36 +00:00
mattias
568ce475c2 hiding secondary form from taskbar in gtk2.2 from Sergio
git-svn-id: trunk@6911 -
2005-03-07 16:01:06 +00:00
mattias
98490874de adding panels to statusbar during designing now sets SimplePanel:=false
git-svn-id: trunk@6906 -
2005-03-05 23:00:16 +00:00
micha
c55ae368e5 fix removing all panels from statusbar (last one was not removed)
git-svn-id: trunk@6904 -
2005-03-05 21:41:47 +00:00
mattias
59ed770461 allowing gtk1 ascii keys
git-svn-id: trunk@6903 -
2005-03-05 20:40:57 +00:00
mattias
2db9ede5e0 fixed gtk1 font rotating from C Western
git-svn-id: trunk@6901 -
2005-03-05 14:44:01 +00:00
micha
d68ac79fd0 WS_HSCROLL disables wordwrap, disable it if wordwrap requested
git-svn-id: trunk@6890 -
2005-03-04 15:44:53 +00:00
mattias
daf76f7dbc fixed Arc and changed x,y to Left,Top to make meaning more clear
git-svn-id: trunk@6889 -
2005-03-04 13:50:09 +00:00
mattias
cbe336218b fixed gtk2 intf scrollbar handling from Danny Milosavljevic
git-svn-id: trunk@6887 -
2005-03-04 12:28:11 +00:00
mattias
a25dc800f1 fixed gtk2 intf winapiwindow keypress handler result from Danny Milosavljevic
git-svn-id: trunk@6886 -
2005-03-04 12:25:13 +00:00
mattias
cbd283b647 fixed TShape FPCanvas issue
git-svn-id: trunk@6885 -
2005-03-04 12:21:56 +00:00
marc
519a2fc0ac * patch from Adrew Haines
git-svn-id: trunk@6881 -
2005-03-03 22:02:58 +00:00
vincents
83030c9805 fixed thread synchronize support for fpc 1.9.9 using WakeMainThread
git-svn-id: trunk@6880 -
2005-03-03 13:13:51 +00:00
marc
02bb02ec64 * applied patch from Andrew Haines
git-svn-id: trunk@6879 -
2005-03-03 00:03:48 +00:00
mattias
0153b8dfc3 fixed loading forms under fpc 1.9.9
git-svn-id: trunk@6878 -
2005-03-02 16:47:20 +00:00
mattias
33f3ea4927 accelerated identifier completion
git-svn-id: trunk@6877 -
2005-03-02 15:59:53 +00:00
marc
dc27c00062 * Made it more inline with the gtk interface
git-svn-id: trunk@6871 -
2005-03-02 00:07:08 +00:00
mattias
2ede23ce3e gtk2 intf listview from Andrew Haines
git-svn-id: trunk@6870 -
2005-03-01 23:09:41 +00:00
marc
61c8b95482 * fixed fpc 1.0 compilation
git-svn-id: trunk@6865 -
2005-02-28 22:40:58 +00:00
vincents
5dade8a670 listview fixes for fpc 1.0.x
git-svn-id: trunk@6864 -
2005-02-28 22:05:06 +00:00
mattias
28d0c4a485 fixed gtk file dialog with empty filter from Collin
git-svn-id: trunk@6863 -
2005-02-28 18:21:43 +00:00
mattias
0c22e95d2a fixed gtk open dialog go up
git-svn-id: trunk@6850 -
2005-02-26 18:39:56 +00:00
mattias
f1235c86d7 fixed warnings
git-svn-id: trunk@6849 -
2005-02-26 18:01:19 +00:00
marc
6ed8e2ecf4 * Reworked listviews to match new interface
git-svn-id: trunk@6848 -
2005-02-26 17:08:41 +00:00
marc
943df8ed1d - Removed double commit (?)
git-svn-id: trunk@6832 -
2005-02-23 01:21:54 +00:00
marc
55f3a45a70 + Added RemoveProp winapi call
* Some maintenace on winapi/lclintf files

git-svn-id: trunk@6830 -
2005-02-23 01:12:47 +00:00
mattias
49190601ad fixed componentpalette adding via double click
git-svn-id: trunk@6826 -
2005-02-21 20:15:28 +00:00
mattias
b5adb832b3 fixed gtk2 listview treestore calls from Andrew Haines
git-svn-id: trunk@6824 -
2005-02-21 11:07:27 +00:00
vincents
b7eba04586 fixed fpc 1.0.x compilation
git-svn-id: trunk@6823 -
2005-02-21 07:02:00 +00:00
micha
b5bdb59ab4 horzscrollbar is nil sometimes when destroying component (fixing symptoms instead of cause?, fixes bug #607)
git-svn-id: trunk@6820 -
2005-02-20 20:03:07 +00:00
micha
14132a2414 statusbar does resizing itself upon receiving WM_SIZE message (fixes bug #603)
git-svn-id: trunk@6819 -
2005-02-20 17:32:52 +00:00
mattias
7aa4edbf74 added finnish translation for windows codepage from Seppo
git-svn-id: trunk@6818 -
2005-02-20 11:03:36 +00:00
mattias
6e94d0a766 added dyn xinerama use patch from C Western
git-svn-id: trunk@6817 -
2005-02-20 10:43:04 +00:00
mattias
39df5fbcac fixed navigation key handling for TButton
git-svn-id: trunk@6816 -
2005-02-19 22:48:23 +00:00
mattias
7d8b514be9 moved LCL navigation key handling to key up, so that interface has the chance to handle keys
git-svn-id: trunk@6815 -
2005-02-19 21:54:08 +00:00
mattias
027b1428e1 xinerama hack is now only enabled when compiled with -dUseXinerama
git-svn-id: trunk@6814 -
2005-02-19 20:36:56 +00:00
mattias
6161468c16 fixed gtk2 key handle result
git-svn-id: trunk@6813 -
2005-02-19 20:33:10 +00:00
mattias
2329bedca6 published TButton.OnMouseEnter/Leave, added lcl test for single button
git-svn-id: trunk@6810 -
2005-02-19 17:52:56 +00:00
mattias
e9a11c2116 fixed 1.0.10 compilation
git-svn-id: trunk@6809 -
2005-02-19 16:30:47 +00:00
mattias
32ed3ffefa added xinerama recognition fro gtk1/fpc1_9+ from C Western
git-svn-id: trunk@6808 -
2005-02-19 16:19:19 +00:00
mattias
b4ca5fe730 updated gtk2 README
git-svn-id: trunk@6806 -
2005-02-18 18:53:31 +00:00
vincents
18a391d3e5 added constants for gtk1 version, fixes fpc 1.0.x compilation
git-svn-id: trunk@6800 -
2005-02-18 09:44:30 +00:00
mattias
d55f91952d fixed TCalendar from Salvatore
git-svn-id: trunk@6791 -
2005-02-17 18:32:32 +00:00
mattias
0882395f3e fixed gtk2 intf checking if signal already connected
git-svn-id: trunk@6790 -
2005-02-17 02:10:53 +00:00
mattias
925cc87469 fixed some gtk2 intf warnings
git-svn-id: trunk@6789 -
2005-02-17 00:05:25 +00:00
mattias
81a07bf019 fixed some gtk2 intf mem leaks, clean ups
git-svn-id: trunk@6788 -
2005-02-16 23:56:51 +00:00
mattias
ba5ffc3f0e fixed define templates quotes
git-svn-id: trunk@6787 -
2005-02-16 23:31:16 +00:00
mattias
73a58828fa improved gtk intf file dialog filter from C Western
git-svn-id: trunk@6786 -
2005-02-16 22:55:59 +00:00
mattias
799a2c918f fix gtk2 scrollbars from Jesus
git-svn-id: trunk@6782 -
2005-02-15 10:33:31 +00:00
micha
dc9a14d438 fix bug #602, statusbar loses text on first panel
git-svn-id: trunk@6781 -
2005-02-12 16:54:17 +00:00
mattias
ac8ba31fd1 removed gtk_realize on notebook AddPage - realize is only possible on a form
git-svn-id: trunk@6779 -
2005-02-11 15:18:58 +00:00
micha
7fc273c941 let general WindowProc also handle childedit of combobox, reduces code duplication, implements doubleclick for combobox
git-svn-id: trunk@6777 -
2005-02-10 21:07:29 +00:00
vincents
17db4911f7 fixed fpc 1.0.x compilation (added FPCAdds)
git-svn-id: trunk@6774 -
2005-02-09 09:11:42 +00:00
mattias
f1c56646ab fixed gtk notebook page goodies from Yoyong
git-svn-id: trunk@6771 -
2005-02-08 18:51:29 +00:00
mattias
65360cc2ab further completions for gtk2 listbox and listview
git-svn-id: trunk@6770 -
2005-02-08 18:31:56 +00:00
micha
93a367254f send notify message when changing the switching pages
git-svn-id: trunk@6768 -
2005-02-07 20:39:30 +00:00
micha
9f02e3797d map ssautoX scrollbar options
git-svn-id: trunk@6767 -
2005-02-07 19:41:19 +00:00
micha
802d02aec1 revert unwanted commit
git-svn-id: trunk@6766 -
2005-02-07 19:10:31 +00:00
micha
ca5639c617 implement size constraints for calendar (it is not resizeable)
git-svn-id: trunk@6765 -
2005-02-07 18:53:35 +00:00
micha
66e4a148ca force default width and height for calendar control
git-svn-id: trunk@6764 -
2005-02-07 16:19:14 +00:00
micha
0439cd51c7 properly initialize maskbitmap to 0, not always assigned
git-svn-id: trunk@6761 -
2005-02-07 10:21:45 +00:00
micha
1e44759551 improve windows-has-handled-key check
git-svn-id: trunk@6760 -
2005-02-07 09:07:38 +00:00
mattias
63ccf16da0 clean up
git-svn-id: trunk@6755 -
2005-02-05 22:48:51 +00:00
vincents
5664c32aed added TLMInsertText (temporarily?)
git-svn-id: trunk@6754 -
2005-02-05 20:42:04 +00:00
vincents
83209bfba5 SetCapture uses HWND as parameter and result type
git-svn-id: trunk@6753 -
2005-02-05 20:40:17 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +00:00
mattias
221f748871 fixed for gtk TScrollBar from Andrew Haines
git-svn-id: trunk@6748 -
2005-02-05 14:53:35 +00:00
mattias
7d8ed4d258 fixed for gtk2 TListView columns width from Andrew Haines
git-svn-id: trunk@6747 -
2005-02-05 14:51:20 +00:00
mattias
16a8535f4f fixed compilation
git-svn-id: trunk@6746 -
2005-02-05 14:46:09 +00:00
mattias
a6b0ee0289 implemented gtkwidgetset.IsWindowEnabled
git-svn-id: trunk@6740 -
2005-02-05 13:33:05 +00:00
mattias
77aa9f5174 implemented TListView for gtk2 From Andrew Haines
git-svn-id: trunk@6739 -
2005-02-05 09:09:52 +00:00
micha
ed63005188 add platform independent winapi function IsWindowEnabled
git-svn-id: trunk@6738 -
2005-02-05 09:05:51 +00:00
mattias
b32ca7cca8 fixed gtk intf Arc
git-svn-id: trunk@6732 -
2005-02-04 01:04:41 +00:00
vincents
c29fc540b8 fixed compilation of gtk2 interface on windows
git-svn-id: trunk@6728 -
2005-02-03 21:10:07 +00:00
micha
d690c4c03e fix bug #267: reroute menu key to main form if form has no menu
git-svn-id: trunk@6727 -
2005-02-03 20:19:17 +00:00
mattias
a6d80046bf improved gtk2 listbox from Andrew Haines
git-svn-id: trunk@6726 -
2005-02-03 16:51:29 +00:00
micha
b89a0ffc98 translate and route WM_SYSCHAR messages, fix WM_SYSKEYDOWN and WM_SYSKEYUP messages
git-svn-id: trunk@6724 -
2005-02-03 15:06:30 +00:00
vincents
e8e13b3fb6 fixed handling WM_MOUSEWHEEL in designer form (bug #647).
git-svn-id: trunk@6722 -
2005-02-01 15:48:03 +00:00
micha
7bebf194eb use 0 icon handle for bsdialog forms
git-svn-id: trunk@6720 -
2005-01-31 17:09:17 +00:00
mattias
6d4be878cd fixed mem leak
git-svn-id: trunk@6711 -
2005-01-28 17:55:48 +00:00
mattias
948a215e46 added QuestionDlg - a MessageDlg with custom buttons
git-svn-id: trunk@6703 -
2005-01-27 19:03:51 +00:00
mattias
8446771602 added error message for gtk intf for TForm.BorderIcons not implemented during designing
git-svn-id: trunk@6694 -
2005-01-26 17:47:55 +00:00
mattias
a7606840be implemented DoubleClick for quick selection in new dialog
git-svn-id: trunk@6679 -
2005-01-24 16:06:42 +00:00
mattias
650a6ec0c5 fixed expandingtabs in synedit painting
git-svn-id: trunk@6668 -
2005-01-23 11:43:38 +00:00
mattias
94f6a1142d fixed gtk2 intf from Peter Vreman
git-svn-id: trunk@6667 -
2005-01-22 23:53:43 +00:00
mattias
9a406a352b added sprite example
git-svn-id: trunk@6666 -
2005-01-22 22:26:16 +00:00
micha
2f743e3584 simpler overlay window
git-svn-id: trunk@6661 -
2005-01-21 22:07:10 +00:00
vincents
ef34c15147 implemented TWin32WSCustomListBox.GetTopIndex and SetTopIndex
git-svn-id: trunk@6645 -
2005-01-20 13:34:07 +00:00
marc
c7d03af771 * oops, fixed line end calculation
git-svn-id: trunk@6631 -
2005-01-18 00:59:49 +00:00
marc
3ddadc078f * Improved line end detection for rawimages
git-svn-id: trunk@6630 -
2005-01-18 00:09:31 +00:00
mattias
7c5349758d fixed constraints for forms under gtk
git-svn-id: trunk@6629 -
2005-01-17 17:49:28 +00:00