Robin Dunn
bd6412b6d0
Don't unconditionally include the generic headers, fixes build
...
problems on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:13:11 +00:00
Robert Roebling
bcb614b328
More RTL work. Now transform m_updateRegion and
...
do nothing special in IsExposed() since some
code may use m_updateRegion directly. Keep
untransformed version around for use with
GTK clipping in the DC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 14:29:16 +00:00
Václav Slavík
5942996c94
basic blitting implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 11:20:58 +00:00
Kevin Ollivier
8a3e173a02
Remove duplication in wxImageList defines and always default to using the native wxImageList when available, even for wxGenericListCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 04:41:09 +00:00
Robert Roebling
5b2acc3a4f
[ 1550698 ] Bottom aligned toolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:51:08 +00:00
Robert Roebling
b104d1f017
[ 1557326 ] Remove redundant code from wxComboCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:03:15 +00:00
Robert Roebling
7d90da2b4c
Applied [ 1555974 ] small wxURL improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:59:18 +00:00
Kevin Ollivier
e2bc1d6981
Initial commit of native OS X list ctrl support. Compile tested on Win, Mac, FC4/GTK2. Tested samples on Win and OS X. Also, support for co-existance of native and generic list ctrl on OS X.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 01:20:08 +00:00
Vadim Zeitlin
f790ec82e7
added wxRect::GetTopRight/BottomLeft() for consistency with the existing GetTopLeft/BottomRight()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:36:30 +00:00
Michael Wetherell
ef0aeb729d
Missing header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 08:01:17 +00:00
Vadim Zeitlin
a24db82d68
added CheckOS/ToolkitVersion()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 00:38:36 +00:00
Paul Cornett
c8f8427191
wrap print headers at top level
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 16:45:48 +00:00
Robin Dunn
80752b57a9
As per wx-dev, split the sort arrow options out to a separate parameter.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:42:41 +00:00
Stefan Csomor
2cbd98abc2
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:37:19 +00:00
Vadim Zeitlin
9467bdb7f5
Many changes for wxInputHandler creation mainly related to:
...
1. Allow the theme to create only the input handlers it customizes instead
of forcing it to always create a handler even if the standard one is used:
wxTheme::GetInputHandler() now takes wxInputConsumer to make this possible
2. Prefer delegation to inheritance when creating customized input handlers,
almost all (except for wxStdScrollbarInputHandler) standard handler classes
are now private, use wxClassName::GetStdInputHandler() to retrieve the
standard handler for any class or polymorphic DoGetStdInputHandler()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:36:47 +00:00
Paul Cornett
0c246b3ca3
add Create to wxDocParentFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:53:06 +00:00
Paul Cornett
ebb1c57f8e
remove redundant declarations of wxFrameNameStr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:36:18 +00:00
Włodzimierz Skiba
249e30415a
Follow native renderer for DrawHeaderButton.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:53:34 +00:00
Włodzimierz Skiba
71d59a4dc5
m_displayMode needs complete wxVideoMode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:51:13 +00:00
Włodzimierz Skiba
0856300fb1
wxHeaderButtonParams needs complete classes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 16:02:48 +00:00
Václav Slavík
4562386dc5
implemented wxBitmap::GetSubBitmap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 14:36:12 +00:00
Václav Slavík
865a74c700
renamed wxWindow::IsVisible() to IsShownOnScreen() to fix name conflicts with other classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 12:22:46 +00:00
Vadim Zeitlin
d4a1433fcc
added wxWindow::IsFrozen() (only existed in wxMSW and wxDFB before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 23:45:31 +00:00
Robert Roebling
f4fe2f2052
Add GetScrollHelper() to wxWindow.
...
Let wxScrollHelper set the underlying field itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 22:18:24 +00:00
Robin Dunn
4b94ddc44c
More support for drawing native column headers, adds more states
...
(selected, mouse-over) and also optionally drawing the contents of the
header (label and/or bitmap, sort arrow) in a consistent way. Also
added a method to determine the default height of the column header.
This is based on work done for OSAF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:28:43 +00:00
Włodzimierz Skiba
245243ec13
it needs wxUSE_* guard to not break smartphone build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 19:10:31 +00:00
Václav Slavík
22a35096a0
renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:12:25 +00:00
Julian Smart
4c0f681c9a
Added public keyword
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:27:56 +00:00
Włodzimierz Skiba
8df950a694
[ 1556353 ] [wxOS2] Change derivation to add wxGauge::Pulse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:14:26 +00:00
Vadim Zeitlin
ad968793dd
fix wxVsnprintf_ declaration for VC8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 11:59:31 +00:00
Robert Roebling
5713b34914
Make wxGTK's wxScrolledWindow set m_x/xScrollLines to 0
...
if scrollbars disappear (instead of 1) as per wxMSW.
Expose m_x/yScrollLines in public getters.
Correct window origin for scrolled window in RTL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 10:01:21 +00:00
Václav Slavík
20671963ef
corrected painting implementation for wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 09:50:02 +00:00
Paul Cornett
c764029c20
gtk_pizza_set_external is redundant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 17:18:23 +00:00
Julian Smart
e637208a32
Style listbox now shows current style
...
Added combo control for selecting styles
Updated the sample to show the combo control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 10:19:45 +00:00
Robert Roebling
2d6dd9c09e
Add const to GetTargetSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:12:52 +00:00
Julian Smart
ab14c7aa57
Setting the current style from the UI is a mode that is cancelled when moving away
...
from the current caret position. This must be done to avoid confusing default
attributes and attributes at the current caret position, in normal use.
Style feedback now correct when caret is at the start of a paragraph (don't use
previous paragraph's style), and out-by-one style feedback bug fixed (start/end
of styled content).
Added ApplyStyle for applying a character or paragraph style.
Some coding style cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 08:42:40 +00:00
Julian Smart
4f3c010b04
Fixed flag setting omission that showed up as list problems in sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 07:18:20 +00:00
Robin Dunn
657b4fd417
Use DoIsExposed for the virtual version of the method, so the wxPoint
...
and wxRect versions don't get hidden in derived classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 17:50:12 +00:00
Robert Roebling
428f4657b6
Further RTL fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:20:24 +00:00
Václav Slavík
538f383019
wxXML load/save improvements: added ability to not ignore whitespace and specify indentation level (patch #1541888 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 11:08:49 +00:00
Robert Roebling
847dfdb422
Implement dc mirroring for RTL.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 10:32:43 +00:00
Robert Roebling
bdb427d70e
Make IsExposed virtual.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 09:54:07 +00:00
Václav Slavík
a5b31f4e11
move misc surface helpers to wxIDirectFBSurface class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 09:08:57 +00:00
Vadim Zeitlin
914f515762
added hyperlink alignment flags (patch 1537043)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:57:26 +00:00
Vadim Zeitlin
cec5ffc46d
added wxLocale::IsAvailable() (extended patch 1547191)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:28:20 +00:00
Vadim Zeitlin
bec08b3946
allow wxRB_GROUP to be changed after creation (patch 1544686)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:08:13 +00:00
Robert Roebling
fe92a9d685
The usual missing commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 19:40:20 +00:00
Robert Roebling
6959763942
Implemented window coord mirroring for RTL. This
...
is only implemented for *setting* the coordinates
which is enough for wxSizers and 99% or other
dialogs to work.
Also reversed the meaning of wxStaticText alignment
in RTL mode. It is possible that later versions
of GTK actually do that themselves. (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 19:39:22 +00:00
Václav Slavík
fdc62f4462
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:11:27 +00:00
Václav Slavík
2582bcdc9d
make it possible to create wxWindowDC for a hidden window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 15:51:03 +00:00
Václav Slavík
9c72cf7619
added wxWindow::IsVisible() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 15:38:54 +00:00
Robert Roebling
a31bb94425
Remove direct access to GtlPizza's offset
...
variable. That way, we can change the
underlying meaning for RTL windowing
mirroring without wxWindow knowing it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 14:52:56 +00:00
Vadim Zeitlin
aea95b1c3a
removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 02:00:24 +00:00
Paul Cornett
d90e6104e9
remove unused GtkPizza members scroll_[xy]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:37:24 +00:00
Robin Dunn
31e1bd370d
Simplify use of MacIsWindowScrollbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:12:59 +00:00
Paul Cornett
5ff14574fc
some app.h cleanup: minimize includes, use static cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:29:19 +00:00
Václav Slavík
24b800a957
added unary wxPoint::operator-
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 15:52:05 +00:00
Robert Roebling
ee4c13659b
The patch was missing a header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:41:46 +00:00
Robert Roebling
6a5c9b3ff7
Apply patch [ 1548750 ] wxVsnprintf() various fixes
...
Part II.
c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 14:11:21 +00:00
Vadim Zeitlin
388a1f6624
define debugging log functions as (empty inline) wxLogNop() instead of nothing in the release builds, this ensures that we have the same code structure in debug/release builds and so there are no bugs when these functions are used inside if/else while also ensuring that even dumbest compilers do remove them completely in release builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:45:06 +00:00
Robert Roebling
fe8635a7e7
Applied wxGauge:Pulse() patch.
...
[ 1551409 ] Support for indeterminate mode gauges
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:36:54 +00:00
Vadim Zeitlin
9804c4d95c
undid last 2 commits, there are many more cases like this so it's better to fix this problem in a different way in wx/log.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:25:01 +00:00
Vadim Zeitlin
e6113e3a52
more warning fixes about empty if statement in helper classes in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:10:32 +00:00
Vadim Zeitlin
8b76325cdc
fix warning about empty if statement in HDCClipper ctor in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 12:55:05 +00:00
Robert Roebling
a124f99a24
Apply patch [ 1554736 ] wxXmlDocument::DetachRoot
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:35:32 +00:00
Robert Roebling
fa6a837300
Apply patch [ 1554746 ] wxXmlNode::InsertChild fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:32:10 +00:00
Paul Cornett
8a378a9e16
add emission hook from RemoveIdleSource (was RemoveIdleTag); minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 04:53:02 +00:00
Paul Cornett
4bc4bae185
remove unneeded DoGetClientSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:43:31 +00:00
Václav Slavík
716af436dc
don't try to paint hidden windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 17:39:27 +00:00
Vadim Zeitlin
801a54412a
define WS_EX_LAYOUTRTL for older compilers/SDK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 10:32:23 +00:00
Robert Roebling
f6f1f4adbf
Sadly, direct access to SetUpDC is required for the
...
native custom rendering of wxDataViewCells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 09:45:10 +00:00
Włodzimierz Skiba
57bd4c6031
Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Paul Cornett
b5e31cc8e2
GtkOnSize parameters aren't useful
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:06:47 +00:00
Robert Roebling
64321998df
Applied FRM's patch [ 1553958 ] Fix for invalid cast from
...
GtkFileChooserButton to GtkButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 13:24:08 +00:00
Václav Slavík
6a613ad625
don't treat DFB_TIMEOUT as error in WaitForEventWithTimeout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 10:43:59 +00:00
Robin Dunn
adfb405a9c
Fixed compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 23:22:44 +00:00
Paul Cornett
53b6d7a298
Always use wxFULL_REPAINT_ON_RESIZE for generic status bar.
...
Remove undocumented generic status bar ctor/Create.
Bring status bar ctor/Create into sync with docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 17:36:22 +00:00
Robert Roebling
84d1cd430f
Applied patch which allows you to detach a stream
...
from a wxFSFile. Patch 1190378
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:57:06 +00:00
Robert Roebling
5949d30725
Applied 1215477, fixing a crash by properly removing
...
a file system handler in a module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:49:42 +00:00
Robert Roebling
b7ea712cc2
Commit Carsten Fuchs' patch for separating wxGLCanvas
...
and wxGLContext on GTK and MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 13:31:20 +00:00
Václav Slavík
52c8d32a71
use C++ wrappers around DirectFB API for easier use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 09:40:31 +00:00
Vadim Zeitlin
21d124e03c
pickers code cleanup (patch 1552220)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:02:27 +00:00
Vadim Zeitlin
345319d60c
fixes to menu stock items support (patch 1547639)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:00:55 +00:00
Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Václav Slavík
ca766534cf
use macros to completely remove wxLogTrace, wxLogDebug etc. in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 14:21:08 +00:00
Vadim Zeitlin
90527a50d7
use (new) wxAcceleratorEntry::Create() instead of recently deprecated wxGetAccelFromString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:56:56 +00:00
Włodzimierz Skiba
b137e49318
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 19:22:57 +00:00
Michael Wetherell
4107600f20
Missing headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:40:08 +00:00
Michael Wetherell
24aab8e81a
Hacks for wine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 16:36:47 +00:00
Václav Slavík
0a880a3181
cosmetic fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 15:16:46 +00:00
Vadim Zeitlin
978af86426
merge of RTL changes (with many modifications) from SOC2006_RTL branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 13:35:13 +00:00
Vadim Zeitlin
ca8d899fcb
small cleanup, removed unused headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 12:12:24 +00:00
Vadim Zeitlin
e8cfff879e
added wxSizer::Get/SetContainingWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 12:05:49 +00:00
Václav Slavík
7f5426f09c
added alpha support to generic wxColour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 11:14:29 +00:00
Václav Slavík
3d4424f702
reformatted DEFINE_STD_WXCOLOUR_CONSTRUCTORS to fit standard terminal; use wxALPHA_OPAQUE instead of 255
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 11:12:36 +00:00
Václav Slavík
3b06df5a35
removed obsolete and incorrect comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 10:56:41 +00:00
Robert Roebling
118f5fbd06
Commit wxComboCtrl clipping patch from J. Salli
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 13:21:29 +00:00
Robert Roebling
ee0a94cfc2
Commited FRM's stockitem patch (empty stock items).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 12:23:04 +00:00
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
Vadim Zeitlin
551f281b79
handle the buttons with ids specified in SetAffirmative/CancelId() as Ok/Cancel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 10:30:26 +00:00
Mattia Barbon
64fb0e2088
Allow building when WXINTL_NO_GETTEXT_MACRO is defined.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 09:44:41 +00:00
Vadim Zeitlin
2158f4d798
moved all wxDialog event handlers to wxDialogBase to avoid code duplication
...
(sixplication?) among ports; as a side effect added public wxDialog methods to
wxDialogBase as well and moved EndDialog() (previously implemented by wxMSW,
wxMotif, wxMac and wxCocoa but not the other ports) to wxDialogBase too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:56:11 +00:00
Vadim Zeitlin
0be2741893
centralized Esc key handling for closing the dialogs in wxDialogBase:
...
1. added wxDialogBase::OnCharHook() and removed this event handler from
all the other ports
2. also removed ad hoc code doing the same thing in wxMSW (MSWProcessMessage()
override in wxDialog) and wxGTK (in gtk_window_key_press_callback())
3. reimplemented EmulateButtonClickIfPresent() portably and also moved it
to wxDialogBase from wxMSW wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:36:10 +00:00
Paul Cornett
772b376785
simplify coordinate transformation code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:30:06 +00:00
Paul Cornett
b34497d885
configure test for round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:28:18 +00:00
Vadim Zeitlin
22c9b21132
refactoring/simplification of code dealing with scrollbars and their events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 10:53:37 +00:00
Julian Smart
2bd5019102
Added missing include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 08:40:59 +00:00
Julian Smart
98080d5c19
wxFileName size patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 20:56:34 +00:00
Julian Smart
23b8a26299
Applied patch [ 1531615 ] size support for wxFileName
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 15:30:28 +00:00
Julian Smart
95f090310c
Corrected VC++ compilo (not yet tested)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 15:27:30 +00:00
Chris Elliott
25f70bc4a1
add #if wxUSE_AUI to get VC6 with no wxUSE_AUI to compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-18 08:05:41 +00:00
Václav Slavík
b98bd6af23
wxPlatformInfo::IsUsingUniversalWidgets() was broken by design, it couldn't work in wxBase shared by 2+ wxCores; fixed by making it non-static and moving its implementation back to wxAppTraits (where its equivalent used to be) and making small API changes implied by that
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 17:18:34 +00:00
Michael Wetherell
a87f2821ad
Declarations missing from VC++ 5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 12:21:20 +00:00
Michael Wetherell
ac55e0a1a8
Avoid warnings from VC++ 5.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 12:17:05 +00:00
Paul Cornett
b20ca9976d
needs wx/string.h to compile independently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 03:16:29 +00:00
Paul Cornett
5ac1d44aa4
Combine two wxImage-to-pixmap creation functions into one.
...
Use consistent method for creating mono bitmap in wxBitmap and wxMask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-14 06:26:35 +00:00
Vadim Zeitlin
8bb6b2c057
wxPlatformInfo (patch 1532064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Vadim Zeitlin
d870a03054
added wxULongLong::ToDouble() (patch 1531597)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:44:44 +00:00
Vadim Zeitlin
b445b6a76e
better key handling for MSW and GTK (patch 1526666)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:35:02 +00:00
Vadim Zeitlin
d1af8e2dd9
added wxDir::FindFirst() (modified patch 1525502)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:23:58 +00:00
Stefan Csomor
e779b60938
we are always compositing on the supported OS versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:17:19 +00:00
Stefan Csomor
29a7b4d041
we are always compositing on the supported OS versions, add transparency for individual controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:04:36 +00:00
Stefan Csomor
f18dcf044f
we are always compositing on the supported OS versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:01:55 +00:00
Václav Slavík
07f52d8baa
moved duplicated wxRegionContain definitions to wx/region.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 20:16:15 +00:00
Vadim Zeitlin
a5ba65d307
compilation fix: remove wxRegionContain enum which is now defined in wx/region.h itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 19:56:32 +00:00
Vadim Zeitlin
cc87fbed40
removed wxHtmlWindow::m_Style which duplicated wxWindow::m_windowStyle and prevented changeing wxHW_XXX window style after Create() from working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:46:49 +00:00
Vadim Zeitlin
f242653114
move the logic for changing notebook pages using the standard Ctrl-Tab/PageUp/Dn keys even when focus is outside of the notebook to wxControlContainer from wxTopLevelWindowMSW to allow it work for notebooks whose parent is not a TLW (as a side effect, this now also works in all ports although I don't really know how desirable this is)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:42:07 +00:00
Václav Slavík
be2001fedd
moved duplicated wxRegionContain definitions to wx/region.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 14:26:55 +00:00
Julian Smart
a02f7807ce
Need include so user code can access book control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 12:43:38 +00:00
Václav Slavík
3da12c22f2
moved mgl/colour.{cpp,h} to generic so that it can be reused by other ports without native colour representation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 11:16:30 +00:00
Václav Slavík
de370efe24
check that wxUniv is enabled when compiling for wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 10:09:34 +00:00
Vadim Zeitlin
5ec60151bf
added NormalizeValue() which can be used to ensure that the control value is in range
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:43:35 +00:00
Vadim Zeitlin
e63f19ba93
Added wxID_PAGE_SETUP standard id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:14:55 +00:00
Václav Slavík
71451a6d16
moved wxIcon implementation for ports where it's identical to wxBitmap to generic/icon.{cpp,h} so that the same code is not duplicated several times
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 17:59:30 +00:00
Václav Slavík
869b59fc91
added wxRect::Inside(wxRect) for testing if a rectangle is completely within another rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 14:21:44 +00:00
Václav Slavík
9a88f03a5e
wxPipeInputStream depends on wxFile, use wxUSE_FILE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:06:05 +00:00
Stefan Neis
744c594651
Fixed (?) problem in region handling which caused major redraw problems.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 22:00:10 +00:00
Vadim Zeitlin
7ce6cc9b8e
unified wxFRAME_EX_CONTEXTHELP and wxDIALOG_EX_CONTEXTHELP in a single wxWS_EX_CONTEXTHELP and changed its value to avoid conflict with wxWS_EX_TRANSIENT (this resulted in all progress dialogs having useless context help button in their title bar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 12:56:48 +00:00
Robin Dunn
2dc3af5058
Give timers a generated ID if wxID_ANY is passed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 01:18:57 +00:00
Václav Slavík
d9c2755704
reformatted DEFINE_STD_WXCOLOUR_CONSTRUCTORS definition to fit on standard terminal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 12:57:31 +00:00
Vadim Zeitlin
55b43eaa02
undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:10:53 +00:00
Václav Slavík
552796e07e
wxXPMDecoder requires wxUSE_IMAGE && wxUSE_XPM
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 16:54:22 +00:00
Václav Slavík
f257ac8784
fixed compilation for wxUSE_STATUSBAR w/o wxUSE_MENUS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:01:24 +00:00
Václav Slavík
050242339c
move wx11 and (the rest of) wxMGL specific checks into /chkconf.h file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 09:01:01 +00:00
Václav Slavík
0e798c8651
wxX11's wxBitmap requires wxPalette, so check for wxUSE_PALETTE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 08:39:29 +00:00
Vadim Zeitlin
90c6edd706
TLW default item changes have changed Enter key processing: it was now handled as TAB even for controls such as wxTree/ListCtrl which need it themselves; fix this by checking for VK_RETURN in these classes MSWShouldPreProcessMessage() implementation; also removed specific test for wxTextCtrl in wxWindowMSW::MSWProcessMessage() and simplified its code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 22:06:24 +00:00
Václav Slavík
bdeb1f0d6c
avoid warnings about undefined wxUSE_LOG_DEBUG if wxUSE_LOG=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 16:56:51 +00:00
Václav Slavík
72f8c79220
don't pass window argument to NotifyCaptureLost, it's not needed/used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:17:39 +00:00
Václav Slavík
2c5e5cbdb4
wxFileModificationTime() needs wxDateTime, put it inside wxUSE_DATETIME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:03:22 +00:00
Václav Slavík
63e819f298
added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:27:54 +00:00
Vadim Zeitlin
6a06841c34
reverted the move of wxComboBox styles from wx/defs.h to wx/combobox.h, a lot of existing code (including wxChoice implementation inside wx itself) uses these styles without including wx/combobox.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 23:36:38 +00:00