Commit Graph

9382 Commits

Author SHA1 Message Date
Vadim Zeitlin
cdd8d745c4 move wxSTRINGIZE and other preprocessor helpers to wx/cpp.h to fix version.rc compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:55:06 +00:00
Stefan Csomor
9821258b3a missing Normalize implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:30:56 +00:00
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
Robert Roebling
ce9685190e [ 1560860 ] wxComboCtrl EVT_TEXT filtering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:04:25 +00:00
Stefan Csomor
e34fb6eae3 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:46:23 +00:00
Stefan Csomor
53bc386387 allow access to wxWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:25:23 +00:00
Stefan Csomor
a85ff267a8 extending graphics context encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:19:05 +00:00
Stefan Csomor
4bef5a72a4 extending graphics context encapsulation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 14:10:51 +00:00
Václav Slavík
4ff28c37c8 implemented SetFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 06:55:08 +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
Stefan Csomor
3bf033e421 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 06:27:58 +00:00
Vadim Zeitlin
639e001d87 removed operator>>(istream&, wxString&) -- it's better to not have it at all than have an empty function which compiles but doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:59:17 +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
c2c4d939f3 add Inflate(wxSize) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:20:10 +00:00
Vadim Zeitlin
fb61f58a73 define wxCONTROL_SIZEGRIP as another possible interpretation of wxCONTROL_SPECIAL bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 17:15:52 +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
Stefan Csomor
3ef4e126a2 undoing my duplicate efforts to solve the same problem ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:37:25 +00:00
Stefan Csomor
e362c2b921 type corrections, adding support for listctrl editable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 15:27:20 +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
Robert Roebling
1e8dba5e29 Made MSW wxSpinCtrl emit UPDATE event when validating
the value in the text field upon kill focus.
 Documented this behaviour.
 This is in line with the GTK+ control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 14:15:14 +00:00
Vadim Zeitlin
1a27de8838 corrected ifdef condition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 13:15:58 +00:00
Kevin Ollivier
0d2d29b16a Improved handling of column widths, removed need for hidden column for sorting, and put in a stub for editing support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 22:09:41 +00:00
Robert Roebling
129c8cf352 [ 1557284 ] wxGenericComboControl -> wxGenericComboCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:29:45 +00:00
Robert Roebling
ce22ac4592 1552971 ] Add flag for wxODComboBox::OnDrawItem to indicate selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:16:50 +00:00
Julian Smart
3966a9f4f8 Better compatibility between wxRichTextCtrl and wxTextCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 17:06:54 +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
Václav Slavík
4dc9a81d7e fixes to wxWindowDC flipping+clipping when painting on hidden windows or windows not being painted at the moment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 14:14:21 +00:00
Julian Smart
96c9f0f677 Corrections to take into account that range in the API has an end position
that is 1 more than the last affected position


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 13:47:32 +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
Robert Roebling
61961a3cdf Give wxGrid its own string name for easier debugging.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 10:28:23 +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
Vadim Zeitlin
9cd7a3f700 use native wxImageList for wxUniv, it's a low level class and so it doesn't make sense to always usegeneric version (also fixes wxUniv build broken by recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 23:06:35 +00:00
Robin Dunn
2614da437c Kevin's prefered way to do the last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:41:08 +00:00
Robin Dunn
ddb2cbee44 Use wxListCtrlNameStr for the generic control too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 20:39:41 +00:00
Robin Dunn
72bc14da9d Add a couple missing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:14:02 +00:00
Robin Dunn
bd6412b6d0 Don't unconditionally include the generic headers, fixes build
problems on Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:13:11 +00:00
Robert Roebling
bcb614b328 More RTL work. Now transform m_updateRegion and
do nothing special in IsExposed() since some
   code may use m_updateRegion directly. Keep
   untransformed version around for use with
   GTK clipping in the DC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 14:29:16 +00:00
Václav Slavík
5942996c94 basic blitting implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 11:20:58 +00:00
Kevin Ollivier
8a3e173a02 Remove duplication in wxImageList defines and always default to using the native wxImageList when available, even for wxGenericListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 04:41:09 +00:00
Robert Roebling
5b2acc3a4f [ 1550698 ] Bottom aligned toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:51:08 +00:00
Robert Roebling
b104d1f017 [ 1557326 ] Remove redundant code from wxComboCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:03:15 +00:00
Robert Roebling
7d90da2b4c Applied [ 1555974 ] small wxURL improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 10:59:18 +00:00
Kevin Ollivier
e2bc1d6981 Initial commit of native OS X list ctrl support. Compile tested on Win, Mac, FC4/GTK2. Tested samples on Win and OS X. Also, support for co-existance of native and generic list ctrl on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 01:20:08 +00:00
Vadim Zeitlin
f790ec82e7 added wxRect::GetTopRight/BottomLeft() for consistency with the existing GetTopLeft/BottomRight()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:36:30 +00:00
Michael Wetherell
ef0aeb729d Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 08:01:17 +00:00
Vadim Zeitlin
a24db82d68 added CheckOS/ToolkitVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 00:38:36 +00:00
Paul Cornett
c8f8427191 wrap print headers at top level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-15 16:45:48 +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
Stefan Csomor
2cbd98abc2 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 19:37:19 +00:00