Vadim Zeitlin
11fa6e636b
initialize all fields of WINDOWPOS struct to avoid mingw32 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 17:34:30 +00:00
Vadim Zeitlin
a268f4b734
don't use NULL when we mean 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 23:40:08 +00:00
Vadim Zeitlin
51c42fc50a
don't use GetThemeMetric(HP_HEADERITEM, TMT_HEIGHT) as it doesn't seem to work; implement GetHeaderButtonHeight() in wxRendererMSW instead of doing it in wxRendererXP using HDM_LAYOUT; added test for this renderer method to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 21:50:28 +00:00
Julian Smart
6d78998725
Added DrawFocusRect to wxRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 12:15:15 +00:00
Vadim Zeitlin
d6f2a8911e
many compilation fixes for WinCE using VC8 (it now build, although still doesn't work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 16:34:24 +00:00
Vadim Zeitlin
46bd197877
use wxCopyRectToRECT() instead of duplicating its code (patch 1707294)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 01:26:46 +00:00
Vadim Zeitlin
8a46124968
added new wxCONTROL_FLAT bit (see discussion of patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:22:46 +00:00
Vadim Zeitlin
59ee63e934
implement DrawCheckBox() in class Win32 renderer (modified patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 00:51:31 +00:00
Vadim Zeitlin
f4322df68b
no changes, just removed TABs/trailing spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:56:34 +00:00
Robert Roebling
a9fdf82418
Minor parts from FM's wxDataViewCtrl patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 11:35:58 +00:00
Robin Dunn
c97c995223
Return optimal label width from DrawHeaderButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 23:44:55 +00:00
Vadim Zeitlin
4614c8e528
include wx/msw/private.h before wx/msw/uxtheme.h for consistency with other headers (it's not needed, strictly speaking, as uxtheme.h now includes it itself anyhow, but it's more clear like this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:41:58 +00:00
Vadim Zeitlin
844b9f5fd2
corrected last commit: Inflate() should be Deflate()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:30:54 +00:00
Vadim Zeitlin
f2ea42557b
add support for wxCONTROL_ISDEFAULT to wxRendererMSW::DrawPushButton() (modified patch 1572887)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:49:52 +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
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
9eddec696f
Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Włodzimierz Skiba
90b903c263
Renamed DrawCheckButton due to conflict with existing and public api of wxUniversal port.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 23:54:26 +00:00
Robert Roebling
2209baaee3
Committed Jaako's renderer patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 16:57:27 +00:00
Vadim Zeitlin
9f93b45e59
implemented DrawCheckButton() for XP renderer; code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 02:15:30 +00:00
Julian Smart
a9d9e2f262
Applied patch [ 1389709 ] XP theme support for DrawHeaderButton, DrawTreeItemButton
...
By Chris Mellon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 15:41:26 +00:00
Julian Smart
404914c6f6
Include settings.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 23:40:01 +00:00
Julian Smart
fe404d1afc
Applied [ 1294048 ] [wxMSW] Correct splitter sash drawing on XP
...
Jamie Gadd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 20:34:53 +00:00
Julian Smart
84c62b4f52
Guess settings for reasonable behaviour in all 3 standard XP themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 13:23:51 +00:00
Julian Smart
92199f4cb8
Use theme and HTML Help headers from Wine (with permission)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-14 16:58:36 +00:00
Julian Smart
f07067b7da
WinCE doesn't have DFCS_FLAT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 11:34:26 +00:00
Vadim Zeitlin
7cf3223a80
implementation of wxRendererXP::DrawComboBoxDropButton() (patch 1144845)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 00:04:24 +00:00
Włodzimierz Skiba
03f01e6372
Missing include.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 11:15:03 +00:00
Vadim Zeitlin
7402677a3a
implemented DrawComboBoxDropButton() for classic Win32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:36:56 +00:00
Vadim Zeitlin
6421119dd5
fixed XP sash rendering to really do something (using REBAR style didn't work but it was hidden because background was erased anyhow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 19:17:45 +00:00
Włodzimierz Skiba
4d08943ee4
Source cleaning: -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty(), TRUE/true, FALSE/false, whitespaces, tabs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 18:32:56 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Julian Smart
3c2544bb70
Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
...
theming (some applications look bad without 3D borders)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:44:37 +00:00
Vadim Zeitlin
3afc693f07
removed IsAppThemedEx()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:02:23 +00:00
Julian Smart
3255bce320
Only draw borders if wxSP_3DBORDER specified, as before
...
Added IsAppThemedEx which _really_ tells you if the app is
themed, and used it in wxRendererNative::GetDefault()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 14:12:55 +00:00
Vadim Zeitlin
c4e6c15eeb
fixed XP renderer after base class changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 13:50:22 +00:00
Václav Slavík
85b657c79d
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 10:12:33 +00:00
Vadim Zeitlin
8b97949eac
use XP renderer if available; implemented splitter drawing using XP functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 00:54:15 +00:00
Vadim Zeitlin
f0244295e3
added wxAppTraits::CreateRenderer() which may be used to customize the renderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 10:59:42 +00:00
Vadim Zeitlin
2eb10e2a17
more warning fixes; removed references to wxToolBarBase from wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Vadim Zeitlin
4340bf8cb0
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 11:58:53 +00:00
Vadim Zeitlin
38c4cb6aa7
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 18:29:21 +00:00
Vadim Zeitlin
9c7f49f569
added wxRendererNative to be used by the generic controls for rendering platfomr-specific parts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 17:52:26 +00:00