Paul Cornett
1481968400
use "event" signal emission hook to install idle handler for many events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:07:45 +00:00
Paul Cornett
1136ac0b7c
don't tie up cpu in idle loop when showing assert dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:04:21 +00:00
Paul Cornett
d281df5096
add needed includes, remove unneeded ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 18:37:51 +00:00
Paul Cornett
6a55573961
remove special pending idle callback, pending events are handled by common code; remove unneeded includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 18:35:03 +00:00
Stefan Csomor
83b445a666
adding alpha to core graphics dc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 13:35:08 +00:00
Stefan Csomor
fa8bc37bc2
adding alpha to wxColour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 13:33:09 +00:00
Vadim Zeitlin
1f5cf9cc23
don't set cursor for not realized (and not only hidden) windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 22:50:30 +00:00
Vadim Zeitlin
2d97237dac
override OnAssertFailure(), not OnAssert() which is not called by wxOnAssert() any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 22:48:07 +00:00
Robin Dunn
543a99218d
Use the width of the widest line (not the first line) for the max
...
width of the tooltip. Also, don't set a narrower width if the tooltip
control already has a wider one. It will automatically adjust smaller
if needed based on the \n's in the text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 22:12:07 +00:00
Vadim Zeitlin
ba804ab2d4
don't hardcode HTML font sizes, this makes wxHtmlWindow look really ugly when default font size is not 12, base the default font sizes on wxNORMAL_FONT instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 16:52:58 +00:00
Vadim Zeitlin
6c6a3e8a23
shouldn't update cursor for hidden windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 16:05:56 +00:00
Vadim Zeitlin
73865dad6e
remove the object from wxPendingDelete list before deleting it to avoid infinite loop if DeletePendingObject() is reentered from object dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 15:49:11 +00:00
Włodzimierz Skiba
449210a44c
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 14:09:34 +00:00
Vadim Zeitlin
5478f2210d
changed GTKCallbackCommonPrologue() to return -1 in addition to true and false to allow returning immediately with true return code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:22:32 +00:00
Vadim Zeitlin
06a7419e71
forgot GTKSetDelayedFocusIfNeeded() call in the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:07:16 +00:00
Vadim Zeitlin
1c2b98d6f5
Many changes:
...
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
virtual function (the new one is non-virtual and is implemented in terms of
GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
which now updates the cursor, checks for internal focus and sends update UI
events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:06:19 +00:00
Vadim Zeitlin
ef5c70f96f
Many changes:
...
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
virtual function (the new one is non-virtual and is implemented in terms of
GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
which now updates the cursor, checks for internal focus and sends update UI
events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 12:59:28 +00:00
Włodzimierz Skiba
d5eb08546f
Missing API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 11:21:14 +00:00
Jouk Jansen
097b868b5a
Patches for OpenVMS port
...
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/gtk1/descrip.mms
wxWidgets/src/motif/descrip.mms wxWidgets/src/x11/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 06:56:52 +00:00
Paul Cornett
d0e7975501
set depth to 32 when creating pixbuf from wxImage with alpha; correct a few comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 06:27:34 +00:00
Vadim Zeitlin
9f30729a03
don't reset the selection after event was vetoed if there is no old selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:00:07 +00:00
Michael Wetherell
73dd8b2deb
Implement wxIsPlatform64Bit().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:24:08 +00:00
Vadim Zeitlin
20f4b56686
fix compilation both for Robert's cross-compiler and for all normal compilers by just removing the offending m_item initialization line which is unnecessary anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 18:07:40 +00:00
Vadim Zeitlin
27dee9ae02
try to deal more gracefully (than simply not showing anything at all) with invalid UTF-8 strings (e.g. ISO-8859-1 strings inserted in controls with default (UTF-8) font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:50:10 +00:00
Włodzimierz Skiba
a6e8c584db
WinCE build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:43:42 +00:00
Włodzimierz Skiba
1d29ae8b5d
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 15:40:00 +00:00
Włodzimierz Skiba
b41b2a052a
wx\settings.h is part of PCH support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:47:18 +00:00
Włodzimierz Skiba
803c61bf2d
Keep wxPalmOS buildable - wxIcon and wxCursor moved to generic implementations.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:43:20 +00:00
Włodzimierz Skiba
b4ea182b39
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:33:43 +00:00
Włodzimierz Skiba
cdbce971ec
Keep wxPalmOS buildable - missing functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:27:41 +00:00
Robert Roebling
85a0a12a9c
Added resize support to wxMiniFrame.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 11:08:42 +00:00
Robert Roebling
c67e060d09
Suppress warning from wxMiniFrame.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 10:01:40 +00:00
Robert Roebling
c4d3971185
revert bits for XBM bitmaps under MSW
...
adapt XBM usage in wxAUI to this logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 09:54:36 +00:00
Robert Roebling
e1b1b6be56
Reenable inversion code again.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 09:35:06 +00:00
Paul Cornett
a7cfe08aff
allow white as mask color when creating mask from mono bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 04:41:45 +00:00
Robert Roebling
6d976005cf
Use the same colour for miniframe title bar and
...
wxAUI title bars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:36:26 +00:00
Robert Roebling
ff03f56707
Use close button used in wxMiniFrame.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:08:43 +00:00
Robert Roebling
00e4ffbc23
Readded close button to wxMiniFrame and use the
...
close XBM similar to the one used in Anjuta's
docking library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:07:33 +00:00
Robert Roebling
ba938d0788
Comment out suspicious 1-bit bitmap conversion
...
which happens to break wxAUI (its close button).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 20:01:34 +00:00
Václav Slavík
86766dfdad
fixed HTML colours parsing after patch #1473731 ('wxColourBase and wxString <-> wxColour implementation') broke it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 19:07:15 +00:00
Robert Roebling
f8a1394935
Comment out direction aware code for now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 18:22:03 +00:00
Robert Roebling
d02d8b4c27
Add opaque move support to wxGTK's wxMiniFrame.
...
Use it in wxAUI (much less flicker and frame
activation problems). wxMiniFrame and the
Docked panes in wxAUI should use the same
code to draw titlebar etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 14:02:53 +00:00
Vadim Zeitlin
0463eea95d
allow passing URL to wxURLDataObject ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:38:45 +00:00
Vadim Zeitlin
0d91b2342a
respect the encoding of the text style and not only the global control font encoding when inserting the text in the control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:33:04 +00:00
Vadim Zeitlin
7581272214
no real changes, just use IsSingle/MultiLine() insteadof testing m_windowStyle directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:04:05 +00:00
Robert Roebling
322c5ec4c0
Added direction sensitive docking.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 11:17:13 +00:00
Václav Slavík
dbfa7f339c
compilation fix for !wxUSE_BUTTON
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 10:45:51 +00:00
Robin Dunn
c7deb4ab80
Always create the pixmap with an alpha channel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:18:27 +00:00
Robert Roebling
0ae3bace9b
Skip double size events.
...
Skip movements of floating pane when moving fast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:47:50 +00:00
Robert Roebling
e65fbef69d
Set size of hint window before showing it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:37:15 +00:00