Vadim Zeitlin
4c1e8a6952
gcc signed/unsigned comparison warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:47:47 +00:00
Włodzimierz Skiba
061fe33fda
Tinderbox build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:08:21 +00:00
Włodzimierz Skiba
83c5d35ff3
Tinderbox build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:05:42 +00:00
Václav Slavík
561955046e
moved wxScrollBar geometry methods out of wxRenderer, they are common for all themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:33:25 +00:00
Václav Slavík
6236b8b477
renamed wxControlWithArrows::HitTest() to HitTestArrow() to avoid conflict with wxWindow::HitTest()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:24:13 +00:00
Václav Slavík
f10ccf9e6b
don't use deprecated wxSTRING_MAXLEN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:41:38 +00:00
Václav Slavík
497cb543c0
render scrollbar's thumb as stippled bar to distinguish it from controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 10:19:21 +00:00
Vadim Zeitlin
10ab355cbd
remove manual bitmap greying code with a call to wxImage::ConvertToGreyscale()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:47:31 +00:00
Vadim Zeitlin
894057d1dd
don't override GetMinWidth/Height() which are non-virtual any more, override GetMinSize() instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:39:31 +00:00
Vadim Zeitlin
a685dd314c
remove unneeded WXDLLEXPORTs for the classes only used inside the implementation and so not needing to be exported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 20:46:25 +00:00
Václav Slavík
2dd9690e88
removed unused GetScrollbarArrowSize() version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 15:16:45 +00:00
Václav Slavík
d743254a40
wx{V,H}SCROLL code is needed on all platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 12:23:40 +00:00
Václav Slavík
54e90b2a32
fixed repainting of windows without the wxFULL_REPAINT_ON_RESIZE style under wxMSW/Univ
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 12:21:51 +00:00
Václav Slavík
eef1a0cc63
added wxDelegateTheme to accompany wxDelegateRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:33:10 +00:00
Václav Slavík
b3894f30e0
fixed selection when using keyboard after JS' change broke it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 14:54:40 +00:00
Václav Slavík
686ca1b5d4
use window's font instead of the default one in wxStatusBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 18:14:08 +00:00
Julian Smart
a2351b3fe4
Don't reset the best size to wxDefaultSize unless we have a bitmap, otherwise
...
an explicit size is ignored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 09:03:45 +00:00
Václav Slavík
8ddf534ad5
don't disable caret blinking on non-MSW platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 17:38:45 +00:00
Julian Smart
f6fc052ae5
SetSelection(wxNOT_FOUND) now works correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 18:21:05 +00:00
Julian Smart
f17e0ebd63
Fixed assert when moving out of a menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:18:57 +00:00
Julian Smart
ffd73a2c76
Draw tool transparently if we have a mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 16:57:03 +00:00
Włodzimierz Skiba
61338568b2
Warning fixes in 'todo' part just to make build log more readable.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:15:56 +00:00
Vadim Zeitlin
a570e8f8fe
added SendPageChanging/ChangedEvent() functions; fixed wxCocoa build broken by wxNotebook::ChangePage() change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:41:52 +00:00
Vadim Zeitlin
76fa43ec36
removed default argument in the function definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:07:34 +00:00
Vadim Zeitlin
ee2ec18e88
moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:40:14 +00:00
Vadim Zeitlin
f6519b40fe
added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Vadim Zeitlin
1d6fcbcc70
added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Vadim Zeitlin
affebd0a6e
use wxSTRINGIZE_T instead of _T(wxSTRINGIZE())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:11:48 +00:00
Włodzimierz Skiba
ce1f7f02c4
Fixed crash caused by A=B?C:D used for returning wxObject derived type.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 12:11:19 +00:00
Vadim Zeitlin
746146e0e3
offset the text correctly inside the item rect in DrawItem(), it was off by 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 18:32:33 +00:00
Vadim Zeitlin
b19d4eb9bf
draw solid focus rectangle in mono theme and don't do it at all for selected items (this required adding flags parameter to DrawFocusRect())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 18:30:00 +00:00
Václav Slavík
e76372220e
simplified #ifs around the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:51:10 +00:00
Václav Slavík
4f2097b6ef
fixed IMPLEMENT_APP to work even if compiled with --with-themes and win32 or gtk themes are not compiled in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:49:36 +00:00
Václav Slavík
f012b5341c
use smaller statusbar margins in mono theme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 11:47:02 +00:00
Václav Slavík
283c797c5c
fixed wxStatusBar size calculations so that the text is not clipped
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 11:45:26 +00:00
Vadim Zeitlin
4353a8df6e
add compilation options to allow compiling in just the selected wxUniv themes and not all of them (which is still the default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 22:55:28 +00:00
Václav Slavík
4eb124f5bd
fix client area computations and borders rendering if the scrollbars are not inside the border rect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 13:58:54 +00:00
Václav Slavík
754273b697
fixed crash when using GTK theme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 13:03:35 +00:00
Václav Slavík
74750ae4e6
compilation fix (missing void)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 14:35:16 +00:00
Vadim Zeitlin
b48f51ca74
add wxTLW::UseNativeDecorations[ByDefault]() to allow the programmer to control whether windows use native or custom decorations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:46:58 +00:00
Vadim Zeitlin
b13862ee62
fix TLW borders width in mono theme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:24:42 +00:00
Vadim Zeitlin
571d2e0f23
1. deprecate redundantly sounding wxArtProvider::FooProvider() to just Foo()
...
2. wxArtProvider::Remove() now really only removes the provider without
deleting it, Delete() does delete it
3. moreover, ~wxArtProvider removes the provider as well so there is almost
no need to call Delete() explicitly any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 20:16:18 +00:00
Jouk Jansen
a843055617
Update OpenVMS make files
...
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
wxWidgets/src/univ/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 13:04:18 +00:00
Václav Slavík
dd267523d0
put remaining toolbars-related methods into #if wxUSE_TOOLBAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 17:30:07 +00:00
Włodzimierz Skiba
341f776cf0
PCH build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 10:22:31 +00:00
Włodzimierz Skiba
0a5c89cfec
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 05:49:00 +00:00
Vadim Zeitlin
fc875d57b7
make colours of the selected text inversed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:10:18 +00:00
Vadim Zeitlin
7419ba028c
add more virtual border drawing functions used by frame decorations code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:09:08 +00:00
Vadim Zeitlin
d2328d9822
centre frame decoration bitmaps in their buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:55:04 +00:00
Vadim Zeitlin
c4410265e9
removed stubs for frame decorations drawing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:52:47 +00:00