Commit Graph

35884 Commits

Author SHA1 Message Date
Vadim Zeitlin
7e05644339 remove unneeded m_inputHandler initialization (already done in the base class ctor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 22:20:15 +00:00
Robin Dunn
f2b78b596a rephrase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 21:06:43 +00:00
Robin Dunn
33328cd882 Updated the C++ code for wx.gizmos.TreeListCtrl from the wxCode
project.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 21:05:20 +00:00
Robin Dunn
a4314b7e48 DisplayAvailable renamed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 18:45:22 +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
Paul Cornett
3208e55e12 calling GtkPizza base class method on non-GtkPizza widget doesn't seem like such a good idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 17:09:56 +00:00
Julian Smart
ebd90cced0 Increased size slightly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 12:02:54 +00:00
Julian Smart
96c8547e58 Sometimes, m_x and m_y don't reflect the true position of the window,
for example after using wxToolBar::AddControl. This change gets the
actual position if necessary; it fixes a popup window positioning problem
for combo controls on a toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 11:57:55 +00:00
Julian Smart
a8c5e1a9d1 Added pango_context_get_language to speed up pango_context_get_metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 11:38:17 +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
03703fc0af Reverse Left and Right meaning of keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:57:24 +00:00
Robert Roebling
4f0eda0e6e More RTL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-12 09:48:27 +00:00
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