Commit Graph

9330 Commits

Author SHA1 Message Date
Stefan Csomor
c2b9ae5f7f enabling alpha on msw colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:29:45 +00:00
Vadim Zeitlin
386f7c47ef include wx/defs.h to get wxSTRINGIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:34:41 +00:00
Robert Roebling
71520754fc Changed char to wxChar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:29:52 +00:00
Robert Roebling
2562c82329 Applied ref-couting patch.
Completely reorganized code (more readable to me).
  Minor other changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:20:14 +00:00
Kevin Ollivier
67650ea0b9 Fixed sorting and commiting support for native virtual wxListCtrl, although leaving it off for now since initial creation of the list items takes a fair amount of time when the item amount is significantly large (as in the listctrl demo).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 03:58:30 +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
Włodzimierz Skiba
acb53ea542 Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 17:31:57 +00:00
Stefan Csomor
505810425a graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 15:49:39 +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
74be7431f3 moved wxSTRINGIZE to defs.h and made it work with macro argument, so that it can be used elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:37:31 +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
Julian Smart
fe5aa22c17 Fixed bugs in, and added operators and copy constructors to, style
sheet classes.
Now merges base, paragraph and content styles dynamically on
display or layout so that we can distinguish between them. This
means appling a paragraph style that has character formatting
doesn't wipe out the original content formatting. The old-style
static method can be enabled by setting wxRICHTEXT_USE_DYNAMIC_STYLES
to 0 in richtextbuffer.h.
The default style is initially empty, so that adding text
reflects the base and paragraph styles. Setting the default style
doesn't merge with the previous setting, but BeginStyle does.
Adding new paragraphs is now sensitive to the previous paragraph's
style and also whether its style has a next-paragraph style indication.
Added wxRichTextCtrl::ApplyStyleSheet which reapplies styles to
paragraphs with named styles.
Added style application command to sample to demonstrate how
styles can be changed and reapplied without affecting content
character formatting.
Fixed some range bugs in UI feedback and clipboard copying and pasting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 08:53:23 +00:00
Vadim Zeitlin
87f83ac867 The Lesser wxMask Refactoring: merged wxMGL and wxDFB version, added wxMaskBase which could/should be used by other ports later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:02:39 +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
Vadim Zeitlin
91885f468a no real changes, just replaced a long preprocessor expression occuring in 2 places with a simple wxUSE_BITMAP_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 17:11:02 +00:00
Vadim Zeitlin
aa017eabe2 define wxUSE_BOOKCTRL when wxUSE_NOTE/LIST/CHOICEBOOK are 0; also define it as as 1 if wxUSE_TREEBOOK==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 13:48:55 +00:00
Jouk Jansen
a0f3a0211a Committing in .
setup.h_vms : synching with setup.h.in
 gtk1/gauge.h : gtk1 has no native wxGauge::Pulse so it has to inherit it from
                wxGaugeBase (just like i.e. wxMOTIF)

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/gtk1/gauge.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 09:09:06 +00:00
Stefan Csomor
87cc1cc772 adding wxArrayDouble for later use in graphics context APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 08:00:16 +00:00
Stefan Csomor
fb63a24232 adopting correct implementation virtualization for Do/GradientFillConcentric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 07:53:10 +00:00
Vadim Zeitlin
e0e6ac8acc allow specifying the size of wxDCTemp and do specify it for the one used with wxEraseEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 23:51:29 +00:00
Robert Roebling
cbc9145c04 Added wxDataViewBitmapCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:17:00 +00:00
Robert Roebling
2f62094615 Added wxVariant's =, == and != operators for wxObject*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 21:08:23 +00:00
Robert Roebling
63574b81fa Make GetWxObjectPtr() const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 20:16:24 +00:00
Włodzimierz Skiba
74221ac15b Corrections after The Great wxRegion Refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 12:20:32 +00:00
Robert Roebling
53a3a6dc63 [ 1541434 ] wxListView::IsSelected should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 09:20:50 +00:00
Robin Dunn
f600738e8f Add WXDLLEXPORT to wxRegionWithCombine declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 00:27:53 +00:00
Robert Roebling
4627af27d4 Implement most of AppendRow(), PrependRow(), InsertRow(),
DeleteRow() for GTK+ version and sorted model.
  Added tests for these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 21:11:14 +00:00
Robin Dunn
b19f2e4e19 Forward declare wxMacListControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 18:59:59 +00:00
Vadim Zeitlin
7b514b3b43 make wxMacItem::m_colId of type DataBrowserPropertyID instead of short to avoid warnings whenever comparing it with values of type DataBrowserPropertyID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 17:35:41 +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
d5dc103fd4 added wxUSE_VARIANT guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:55:25 +00:00
Vadim Zeitlin
012967ef1b rename OnResize() to OnSize() to avoid conflict with base class OnResize(void) virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:40:37 +00:00
Vadim Zeitlin
8a16d7370e The Great wxRegion Refactoring:
1. added wxRegionBase class and derive all wxRegions from it
2. also added wxRegionWithCombine for the ports providing Combine() method
   (MSW, OS2 and Mac) to reduce code duplication further
3. made sure region comparison works the same way in all ports (except those
   not implementing it) and added IsEqual() method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:47:23 +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
Václav Slavík
7e2baeb413 don't allocate backbuffer for dummy surfaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 08:01:36 +00:00
Vadim Zeitlin
8d37334f0e move wxBitmapComboBox dependency check to wx/chkconf.h where it belongs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:18:23 +00:00
Vadim Zeitlin
ca5c6ac3f4 Added wxUSE_VARIANT and the related checks, also added wxUSE_OLE_AUTOMATION
to guard wxAutomationObject code which depends on wxVariant


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 13:12:56 +00:00
Robert Roebling
07aaa1a4b8 [ 1537065 ] wxImage: Higher quality scaling/sampling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 12:47:16 +00:00
Julian Smart
3306aec124 Added DoLoadFile, DoSaveFile to wxTextCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:40:33 +00:00
Vadim Zeitlin
2335974794 added wxSize::IncBy() and DecBy() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:08:51 +00:00
Robert Roebling
57b5c44a4f Fixed [ 1561693 ] wxGIFDecoder creates incorrect wxPalette
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:54:12 +00:00
Robert Roebling
df816ad92f Updated wxPallete information.
Added GetColourCount() implementation to Carbon (I wonder
    why it doesnt just use the generic implementation).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 10:27:12 +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
Václav Slavík
69deca265e added comment clarifying the meaning of DoMoveWindow's x and y arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 17:25:46 +00:00
Robert Roebling
5cfbc8d0e5 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 10:01:05 +00:00
Robert Roebling
d72f87f60b Implememt GetColoursCount() in the generic wxPalette.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:54:11 +00:00
Robert Roebling
5633b968f5 [ 1557935 ] wxPalette::GetColoursCount implementation
I commited the version which MSDN claims to be
     available since Windows 95. No idea why MFC
     doesn't use it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:35:09 +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