Robert Roebling
eae0338fcb
Commited patch for wxSizer::Replace()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 11:48:49 +00:00
Robin Dunn
5b5d4ef2dd
bump subrel number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 19:45:44 +00:00
Robert Roebling
ad7b3b7682
Forgot to commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 12:37:25 +00:00
Vadim Zeitlin
8312c461b8
always let GtkTextView have mouse release events to avoid assertion failures in gtk_text_view_start_selection_drag()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 22:23:51 +00:00
Vadim Zeitlin
9768729112
added GTKProcessEvent() to allow controlling whether we leave or not events for the native widgets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 22:20:05 +00:00
Vadim Zeitlin
2f2620215e
call GTKUpdateCursor() from SetCursor()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 21:44:22 +00:00
Robert Roebling
ec1e0c6634
Implement wxSetCusorEvent better than before.
...
This also makes wxAUI work nicely.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-01 15:32:19 +00:00
Włodzimierz Skiba
02761f6cd4
Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Václav Slavík
1486fb5f10
fixed typo in previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 17:21:33 +00:00
Václav Slavík
dd7d379ebc
added wxArtProvider::InsertProvider to accompany PushProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 17:00:13 +00:00
Vadim Zeitlin
2e7f384517
don't use static buffer needing a critical section to protect it for logging; this results in deadlocks if the log sink decides to log itself (and this can be very difficult to prevent) and is unnecessary anyhow as the initial goal of allowing wxLog to work even for out of memory errors has never been tested and presumably never worked
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 11:31:02 +00:00
Robin Dunn
6a93571daf
Provide an implementation for SurfaceImpl::AlphaRectangle, and rename
...
[G|S]etCaretLineBack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 05:35:26 +00:00
Michael Wetherell
2c94045365
Stream inserter to wxString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 08:37:39 +00:00
Paul Cornett
0416c41834
header includes cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 05:55:56 +00:00
Stefan Csomor
e3141a349e
adding command key accelerator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 06:23:01 +00:00
Vadim Zeitlin
7106497983
added alpha support to wxCocoa, also fixed compilation after alpha changes hopefully
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 09:53:33 +00:00
Stefan Neis
8ab09e65f9
Fixed OS/2 specific defines (there's no such thing as WXOS2).
...
Added the more commonly used wxPORT_PM as alias for wxPORT_OS2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:40:17 +00:00
Robert Roebling
c3008402f7
Made toolbars sticky, i.e. you need to drag them
...
several (and not just one) pixels away from the
docking area to make them undock/float. This
removes some more toolbar jumping.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:19:39 +00:00
Vadim Zeitlin
9800ae335a
added wxCHECK_DFB_VERSION() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:13:41 +00:00
Václav Slavík
b3c861501a
initial (not yet working) code for DirectFB port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:42:42 +00:00
Vadim Zeitlin
0228081ff2
don't crash when EnsureVisible() is called for the hidden root item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 22:26:53 +00:00
Paul Cornett
4f13428c4f
correct idle tag type; remove unneeded includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 18:36:19 +00:00
Stefan Csomor
a69aabc360
adding constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 16:16:16 +00:00
Stefan Csomor
151dab1197
getting rid of unused param warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 13:43:15 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
27cc91429d
removed wxUSE_TOOLBAR_SIMPLE leftovers from the main sources, it's not used anywhere anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 09:54:29 +00:00
Robert Roebling
7317857df7
Add the new showOnIdle code to various other
...
widget which override OnInternalIdle().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:50:28 +00:00
Robert Roebling
f46ad98f0d
Added intermediate state (m_showOnIdle) indicating that
...
time must be given to a window to get placed correctly
before it is shown. The avoids jumping windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 12:26:22 +00:00
Robin Dunn
b58d5e2d95
Move CanSetTransparent and SetTransparent up to wxWindowBase since
...
wxMac can handle transparency at that level.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:30:34 +00:00
Robin Dunn
d4a724d407
Make it possible to tell wxXmlResource which domain to pull
...
translatable strings from.
Make the wxLocale::GetString methods virtual so they can be overridden
in derived classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:27:15 +00:00
Stefan Csomor
ab718f6e4c
still overriding the escape key
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 15:57:08 +00:00
Vadim Zeitlin
a9f620daf4
don't use dynamic handlers for standard buttons as this prevents static event handlers in derived classes from working; just catch all button events in a static handler instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 14:02:51 +00:00