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
fe24a9451e
reset busy cursor checkbox when switching to another control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 13:23:47 +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
Robin Dunn
777dffec69
Add wrappers for wxNativePixelData and wxAlphaPixelData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:30:20 +00:00
Robin Dunn
7499bd8874
Still check for a Python error in %threadWrapperOff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:21:18 +00:00
Robin Dunn
44d669c880
Default construcctor for Iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:19:06 +00:00
Michael Wetherell
9aecec9a94
Add apptrait.h for msdos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:18:18 +00:00
Vadim Zeitlin
3e85973919
prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:05:20 +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
Vadim Zeitlin
e32bcef6e7
added tests for setting the cursor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:26:59 +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
Michael Wetherell
38a097f588
Missing exports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 19:35:46 +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
8394f0a06b
Follow OnOK changes in wxDialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 16:33:28 +00:00
Włodzimierz Skiba
99713fe395
After adding check to wx/mgl/chkconf.h for UNIV flag, our regex needs this flag delivered by makefiles (with rebaking).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 16:08:21 +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
09fe7dc672
Avoid conflict between new transparency API and old background support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 15:37:25 +00:00
Włodzimierz Skiba
374e9b153f
Blind wxTinderbox fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:52:50 +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
e56880a0ef
Keep wxPalmOS buildable - event table moved to base class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:35:48 +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
Stefan Neis
27875fd021
Removed no longer needed "DECLARE_EVENT_TABLE()" completing the previous change.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 07:36:37 +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
Paul Cornett
f9562c6b2d
correct access for virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 04:41:29 +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
Vadim Zeitlin
dad0c6d322
clarified LeftIsDown() behaviour for left click events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 15:11:35 +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
c959d91228
documented wxURLDataObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:47:22 +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