Commit Graph

35716 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
9b3c30478f don't append trailing tab to items which don't have stock accels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 14:52:43 +00:00
Václav Slavík
949e0a3827 added check for supported depth and 'not implemented' wxFAIL_MSG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 14:39:13 +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
Julian Smart
e195770310 Fixes bug whereby directory control foreground colour is always black on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 13:17:39 +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
632aaa1891 fix warnings about unused parameters and functions in wxUniv build; also clean up wxGetPrinterDC() somewhat (a lot is left to do...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 10:53:12 +00:00
Vadim Zeitlin
f2fac41ad8 define HAVE_BROKEN_SWPRINTF_DECL for VC7.1 as while it does have the standard declaration its implementation is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 00:30:04 +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
49e74855af More RTL work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 22:20:10 +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
5c86a7fa9e Changes for TreeListCtrl to take advantage of the new native
HeaderButton abilities


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:47:11 +00:00
Robin Dunn
9c21b1879f Dashes and Stipple accessors are not available on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:44:46 +00:00
Robin Dunn
6e872f5cee 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@41202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 20:34:19 +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
Robin Dunn
8f62e63351 wxStatusBarGeneric is used directly so the header needs to be included too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 19:01:37 +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
Václav Slavík
23621b352c renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:06:01 +00:00
Paul Cornett
f6814d017b minimize code duplication
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:31:36 +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
15495b2603 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:16:37 +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
Włodzimierz Skiba
03eefe82a8 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:06:24 +00:00
Paul Cornett
446e69bee5 don't include generic/statusbr.h directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 15:50:26 +00:00
Benjamin Williams
2e5c35af4e got rid of some extra borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 14:23:02 +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
Vadim Zeitlin
66ad556c74 document wxChildFocusEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 11:44:16 +00:00
Václav Slavík
bb78b682be wxTLW::DoRefreshRect must check the rect, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 11:01:10 +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
Robin Dunn
47e5915415 compile fix for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 01:31:11 +00:00
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