Commit Graph

9312 Commits

Author SHA1 Message Date
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