Václav Slavík
564b429f74
limit clipping to surface area
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:26:14 +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
Robert Roebling
720a0aab26
RD forgot to add "Do"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 07:39:42 +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
7012bb9f03
more properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 03:20:12 +00:00
Václav Slavík
5034c9dbba
fixed two typos: XLOG2DEV was used instead of YLOG2DEV
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 21:00:30 +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
Robin Dunn
6517912d80
sync with CVS updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 16:54:57 +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
Vadim Zeitlin
f1a9b1a3d9
removed GTK header include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:11:38 +00:00
Vadim Zeitlin
53d90250ad
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 14:07:41 +00:00
Václav Slavík
3af4da323a
implemented DrawPoint in terms of DrawLine (for now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 11:26:48 +00:00
Václav Slavík
eac789ff9c
removed tabs and trailing whitespace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-11 11:13:05 +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
490f72fd16
compilation fixes for wxUSE_STL==1 (patch 1555754)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:50:27 +00:00
Vadim Zeitlin
9f90d36595
minor corrections and note about Unicode (patch 1555691)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:49:19 +00:00
Vadim Zeitlin
3488be9c0a
use RTL paragraphs in rich edit control in RTL mode (patch 1553298)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:47:11 +00:00
Vadim Zeitlin
e5b5af9139
return correct coordinates for child windows from DoGetPosition() in RTL mode (patch 1552664)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:42:19 +00:00
Vadim Zeitlin
cf072997af
fix static box label drawing in RTL locale (patch 1552545)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:39:37 +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
6ea0cc70f7
use wxID_OPEN instead of INTERNAT_OPEN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:19:50 +00:00
Vadim Zeitlin
dd2040736c
compilation fix for Unicode build (patch 1546975)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:09:33 +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
Vadim Zeitlin
aa9bfc2ac0
fix constructing wxRegKey from string names (replaces patch 1542052)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 23:04:59 +00:00
Vadim Zeitlin
06322acab7
clear values of type SQL_C_DATE/TIME too (patch 1541829)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 22:45:02 +00:00
Vadim Zeitlin
ab3d29eaab
don't call ::GetSystemMetrics() unnecessarily in wxGetHiconSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 22:43:14 +00:00
Paul Cornett
c1fa6f5245
avoid null pointer dereference in DoGetClientSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 20:50:58 +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
Vadim Zeitlin
1d203ed837
ensure that -2 font size is readable, it could be too small after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 18:18:13 +00:00
Vadim Zeitlin
140316c278
small sample cleanup (formatting, use stock menu items)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 17:07:10 +00:00
Vadim Zeitlin
98ebf9194b
ensure that IsDialogMessage() is not called in the situations when it may hang not only from the immediate parent of the control which has focus but also from its grandparents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:52:20 +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
6ef4b814d2
fixed subcontrols refreshing in wxWindow::Refresh
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 16:02:15 +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
2df5e0bff0
Also set GTK text direction to m_wxwindow.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 14:59:05 +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
ec9f5895ae
blind compilation fix for daily builds error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 12:25:54 +00:00
Vadim Zeitlin
da1625342d
compilation fix for !WX_PRECOMP (missing wx/app.h)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 12:23:44 +00:00
Mart Raudsepp
e892f2fd13
Restore ability to have a much lower runtime GTK version than build time - down to 2.4 (2.0 is still broken from gtk_combo_box_entry_new)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 04:23:02 +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
Vadim Zeitlin
9d639ffa59
compilation fix after wxGUIAppTraits::GetToolkitVersion() introduction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 01:58:13 +00:00
Vadim Zeitlin
8444b6cb6b
removed unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 01:20:37 +00:00
Vadim Zeitlin
cbd88f2225
compilation fixes after recent stock menu items changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 23:20:22 +00:00