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