Commit Graph

289 Commits

Author SHA1 Message Date
Vadim Zeitlin
87d3473070 removed wxUSE_DIB_FOR_BITMAP which doesn't seem to be used any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:11:52 +00:00
Vadim Zeitlin
39b61aa3eb removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:48:53 +00:00
Václav Slavík
abb6edd197 added WXWIN_COMPATIBILITY_2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:02:14 +00:00
Václav Slavík
9c6d8b7cdb fixed wxFrame background colour in wxUniv on ports without native wxSYS_COLOUR_APPWORKSPACE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 19:06:39 +00:00
Robin Dunn
3f7f284d55 Modified form of Patch #1611222, adds wxSearchCtrl (generic & native carbon HISearchField)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 06:19:27 +00:00
Vadim Zeitlin
73b30256a0 default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:52:59 +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
Michael Wetherell
8bb9d852a3 Move the #if disabling wxUSE_STD_STRING for watcom/dmc/vc5 into setup.h so
that users can edit them easily.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 00:09:15 +00:00
Vadim Zeitlin
ba518e2cb9 added wxUSE_COLLPANE (why is this file not generated, again?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:44:18 +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
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
Michael Wetherell
916af76f40 Make wxBackingFile internal, and remove wxZipFSHander, add a typedef to
wxArchiveFSHandler for compatibilty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:06:45 +00:00
Michael Wetherell
26e422a9ad Add wxUSE_TARSTREAM and wxUSE_FS_ARCHIVE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:12:27 +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
Włodzimierz Skiba
bae2dc62af Updated setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:58:56 +00:00
Włodzimierz Skiba
3a0c45985d Updated Univ setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:22:51 +00:00
Włodzimierz Skiba
9fb52312a3 Updated setup for univ build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 06:30:12 +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
Włodzimierz Skiba
3d5f724f8e Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:19:17 +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
13f6c4701e undef wxUSE_THEME_XXX before redefining them to 1 if wxUSE_ALL_THEMES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 18:36:53 +00:00
Václav Slavík
ee92941afc 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@41507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:43:59 +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
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
Włodzimierz Skiba
b6428abaa5 Build fix for wxMSWUniv makefile driven builds. univ/setup0.h should be autoregenerated in the future too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 13:09:05 +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
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +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
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
249803fbcd move frame decorations drawing to the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 22:49:57 +00:00
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
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
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
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
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
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
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
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
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
9a6384ca1e Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Julian Smart
5e4903f5cc Further wxAUI commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:34:54 +00:00
Włodzimierz Skiba
24bbfc6292 Universal build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 13:18:10 +00:00
Włodzimierz Skiba
370efbe741 [ 1498016 ] 'Add wxUniv toolbar support wxTB_TEXT style' - with modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:15:42 +00:00
Włodzimierz Skiba
b41af6aa0f Updated universal setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:06:34 +00:00
Włodzimierz Skiba
88060820ac wxToggleButton for wxUniv already implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:09:50 +00:00