Vadim Zeitlin
1cd9779fce
move generic part of AdjustSize() and status bar methods to the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:24:29 +00:00
Vadim Zeitlin
c2c4d939f3
add Inflate(wxSize) overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:20:10 +00:00
Vadim Zeitlin
fb61f58a73
define wxCONTROL_SIZEGRIP as another possible interpretation of wxCONTROL_SPECIAL bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:15:52 +00:00
Vadim Zeitlin
0428ac8c47
moved Arrow_ constants to the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:38:18 +00:00
Stefan Csomor
3ef4e126a2
undoing my duplicate efforts to solve the same problem ...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:37:25 +00:00
Stefan Csomor
e362c2b921
type corrections, adding support for listctrl editable columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:27:20 +00:00
Vadim Zeitlin
6229b92fb3
refactored common parts of DrawItem() in the base class; implemented GetTextTotal/ClientArea() there as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:51:14 +00:00
Robert Roebling
1e8dba5e29
Made MSW wxSpinCtrl emit UPDATE event when validating
...
the value in the text field upon kill focus.
Documented this behaviour.
This is in line with the GTK+ control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:15:14 +00:00
Vadim Zeitlin
1a27de8838
corrected ifdef condition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 13:15:58 +00:00
Kevin Ollivier
0d2d29b16a
Improved handling of column widths, removed need for hidden column for sorting, and put in a stub for editing support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 22:09:41 +00:00
Robert Roebling
129c8cf352
[ 1557284 ] wxGenericComboControl -> wxGenericComboCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:29:45 +00:00
Robert Roebling
ce22ac4592
1552971 ] Add flag for wxODComboBox::OnDrawItem to indicate selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:16:50 +00:00
Julian Smart
3966a9f4f8
Better compatibility between wxRichTextCtrl and wxTextCtrlBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:06:54 +00:00
Włodzimierz Skiba
762ad18553
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 16:30:15 +00:00
Václav Slavík
4dc9a81d7e
fixes to wxWindowDC flipping+clipping when painting on hidden windows or windows not being painted at the moment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 14:14:21 +00:00
Julian Smart
96c9f0f677
Corrections to take into account that range in the API has an end position
...
that is 1 more than the last affected position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 13:47:32 +00:00
Vadim Zeitlin
c403693947
add if wxUSE_NOTEBOOK around notebook-only renderer methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 11:40:40 +00:00
Robert Roebling
61961a3cdf
Give wxGrid its own string name for easier debugging.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:28:23 +00:00
Vadim Zeitlin
147b8a4ab5
refactor some existing themes methods in a new base wxStdRenderer class (before adding a new theme)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:09:42 +00:00
Vadim Zeitlin
9cd7a3f700
use native wxImageList for wxUniv, it's a low level class and so it doesn't make sense to always usegeneric version (also fixes wxUniv build broken by recent changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:06:35 +00:00
Robin Dunn
2614da437c
Kevin's prefered way to do the last fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:41:08 +00:00
Robin Dunn
ddb2cbee44
Use wxListCtrlNameStr for the generic control too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:39:41 +00:00
Robin Dunn
72bc14da9d
Add a couple missing methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:14:02 +00:00
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