Commit Graph

136 Commits

Author SHA1 Message Date
Julian Smart
f7eaa62f23 (Flickery) fix for droppings when there are no notebook pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 21:38:09 +00:00
Julian Smart
b554cf6371 Added wxNB_FLAT for WinCE property sheet tabs
Titlebar OK button on PocketPC now looks for OK, Cancel, Close buttons.
Dialog size now takes into account SIP or menubar.
Panels more naturally white on PocketPC.
wxDIALOG_EX_CONTEXTHELP ignored on WinCE since it interferes
with correct titlebar style.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 17:31:23 +00:00
Julian Smart
3534fc20dd When drawing a solid page background, don't use theme painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 22:02:05 +00:00
Vadim Zeitlin
07c1932792 added MSWPrintChild() for drawing child background (replaces patch 1108389)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:49:50 +00:00
Włodzimierz Skiba
8b5d5223d1 Various cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 10:42:05 +00:00
Julian Smart
f2b7be7ad5 Set solid colour for whole control, not pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 19:41:45 +00:00
Julian Smart
25057abaac Can suppress themed notebook page with wxNB_NOPAGETHEME or
setting system option msw.notebook.themed-background to 0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 19:17:35 +00:00
Vadim Zeitlin
c1637c8933 use custom class which doesn't redraw everything on resize instead of SysTabCtl32 to fix flicker when resizing (modified patch 1107148)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 16:59:04 +00:00
Dimitri Schoolwerth
0f770734ae fixed unreachable code warning (MSVC6)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 14:44:10 +00:00
Vadim Zeitlin
de371316a6 invalidate bg brush in the beginning of OnSize() to avoid using outdated brush for child pages background painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 17:33:33 +00:00
Vadim Zeitlin
c1f3a14924 no changes; just removed some obsolete #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 15:43:02 +00:00
Vadim Zeitlin
c4a95f6f99 implemented MSWGetBgBrush/ColourForChild() to propagate themed notebook background to children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:11:14 +00:00
Vadim Zeitlin
df10208f26 don't disable non top tabs if visual themes are not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:54:00 +00:00
Vadim Zeitlin
82a16d7e5e added (and documented) msw.xp-tab-ok option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:24:09 +00:00
Vadim Zeitlin
bb180f9057 compilation fix for USE_PCH == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 16:22:12 +00:00
Vadim Zeitlin
9b7d2b81cc added another DoEraseBackground overload (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:50:25 +00:00
Vadim Zeitlin
5c836c463a refactored code to do brush adjustment for bg drawing in only one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:53:03 +00:00
Vadim Zeitlin
caf95d2aef added support for drawing themed background: DoEraseBackground() and GetThemeBackgroundBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:36:45 +00:00
Włodzimierz Skiba
078cf5cb75 Source cleaning: -1/wxID_ANY/wxNOT_FOUND, ::, TRUE/true, FALSE/false, whitespaces, tabs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 12:38:46 +00:00
Robin Dunn
e830a6a64d Hide the page before adjusting its size, otherwise it might get painted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 03:02:00 +00:00
Robin Dunn
37144cf0f1 Invalidate notebook best size when pages are added or removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:49:29 +00:00
Robin Dunn
14a6b6e5f0 work around a bug in TabCtrl_AdjustRect which will cause a crash on
win2k, or on XP with themes disabled, if the wxNB_MULTILINE style is
used and the rectangle is very small, (such as when the notebook is
first created.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:46:41 +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
Vadim Zeitlin
af498247c5 make XTI compile with VC6 (patch 896614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:51:57 +00:00
Dimitri Schoolwerth
20fa338c41 Reverted FILLCOLORHINT->FILLCOLOR change. Now when a near black themeColor is returned with FILLCOLORHINT, retry with FILLCOLOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 20:00:28 +00:00
Robin Dunn
cc0bffaceb Changed CanApplyParentThemeBackground to ApplyParentThemeBackground
and let the windows set the the background colour themselves (or not)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 05:28:21 +00:00
Robin Dunn
bd507486e0 Added CanApplyParentThemeBackground and use it in wxMSW's
wxNotebook::ApplyThemeBackground.  It's in the common base classes so
that someday it's usage can expand to the other platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 17:03:55 +00:00
Julian Smart
c140b7e7c9 Applied patch [ 903619 ] Win64 and Itanium support
by Brian Palmer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 10:45:02 +00:00
Dimitri Schoolwerth
2eb85fe466 Fixed invalid background colour of controls on a notebookpage when using certain XP themes/WindowBlinds skins (bug 897965).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 04:21:41 +00:00
Vadim Zeitlin
56b9925b11 fixes for page positioning for notebooks with wxNB_MULTILINE style (closes bugs 709099 and 645323)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 20:48:18 +00:00
Dimitri Schoolwerth
ffafd8a55b Fixed notebook redraw problems when using XP theme with Classic appearance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 22:20:22 +00:00
Julian Smart
623f5f7015 Applied patch [ 843287 ] wxNotebook remove page problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:18:42 +00:00
Vadim Zeitlin
1d5b3bf041 fix for handling (Shift-)Ctrl-Tab when the notebook itself has focus (patch 813507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 12:34:05 +00:00
Vadim Zeitlin
b8bdaa7c2b make it possible to give focus to the notebook itself (patch 811013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 21:36:33 +00:00
Vadim Zeitlin
cb0afb2662 replaced wxNO_FULL_REPAINT_ON_RESIZE with wxFULL_REPAINT_ON_RESIZE in XTI declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:41:06 +00:00
Stefan Csomor
3ff066a4ec macro naming changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 01:19:40 +00:00
Stefan Csomor
ffca575c83 WX_EVENT_PROPERTY instead of WX_DELEGATE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:42:14 +00:00
Stefan Csomor
c5ca409b6a event exposure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:53:15 +00:00
Stefan Csomor
e70b4f1095 unicode adaptions, menu support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 23:33:36 +00:00
Stefan Csomor
0c6b008469 adding style to constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 23:42:33 +00:00
Julian Smart
bc9fb5723a Added some window style metadata
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 11:35:44 +00:00
Stefan Csomor
067e9be685 xti property extensions, style bits additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 00:41:33 +00:00
Mattia Barbon
34a0c9f4c1 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 22:00:12 +00:00
Vadim Zeitlin
8d34bf5cc9 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:54:31 +00:00
Stefan Csomor
f0a126fe7a switching back to normal accessors, workaround not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 16:44:01 +00:00
Stefan Csomor
6a89f9ee42 RTTI simplifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:59:18 +00:00
Stefan Csomor
5174130757 rtti informations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:05:30 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Stefan Csomor
066f1b7a95 xti extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:30:46 +00:00