Commit Graph

965 Commits

Author SHA1 Message Date
Robert Roebling
31fb32e137 Implemended column header mouse clicks.
Ascending/descending sorting.
  Setting the little arrow indicator for ascending
    and desceding sorting.
  Generic stubs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 09:50:45 +00:00
Robert Roebling
47cef10f28 Added sort order and alignement for column headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:35:23 +00:00
Robert Roebling
07a84e7bbb Add support for bitmaps in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00
Robin Dunn
e1f8ec2909 Give the grid events a Clone method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:52:50 +00:00
Robert Roebling
fc211fe5ce More selection work in GTK+ version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Robert Roebling
baa9ebc473 Renamed wxDataViewCell to wxDataViewRenderer since the
class just renders the cell, it doesn't represent one.
    Maybe wxDataViewCellRenderer would be best...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Paul Cornett
df9fac6d21 header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:28:36 +00:00
Robert Roebling
6ff7eee7ea Added selection API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:39:08 +00:00
Robert Roebling
0a71f9e92f Replaces size_t with unsigned int in wxDataViewCtrl API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Paul Cornett
e409b62aaf listctrl header cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 17:38:30 +00:00
Paul Cornett
4c44eb66f3 put grid string in generic/grid.cpp, not common/datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:12:33 +00:00
Robert Roebling
008b5a66f7 Removed some irritating flags.
Implmented the remaining ones under GTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 21:09:56 +00:00
Robert Roebling
2586d4a121 Several wxBitmapDataCell changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:21:19 +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
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
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
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
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
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
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
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
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
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
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
Paul Cornett
ebb1c57f8e remove redundant declarations of wxFrameNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:36:18 +00:00
Włodzimierz Skiba
245243ec13 it needs wxUSE_* guard to not break smartphone build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 19:10:31 +00:00
Vadim Zeitlin
aea95b1c3a removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 02:00:24 +00:00
Robert Roebling
fe8635a7e7 Applied wxGauge:Pulse() patch.
[ 1551409 ] Support for indeterminate mode gauges


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:36:54 +00:00
Paul Cornett
53b6d7a298 Always use wxFULL_REPAINT_ON_RESIZE for generic status bar.
Remove undocumented generic status bar ctor/Create.
Bring status bar ctor/Create into sync with docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 17:36:22 +00:00
Vadim Zeitlin
d3c7fc996a mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Václav Slavík
7f5426f09c added alpha support to generic wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 11:14:29 +00:00
Vadim Zeitlin
b445b6a76e better key handling for MSW and GTK (patch 1526666)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:35:02 +00:00
Václav Slavík
be2001fedd moved duplicated wxRegionContain definitions to wx/region.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 14:26:55 +00:00
Julian Smart
a02f7807ce Need include so user code can access book control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 12:43:38 +00:00
Václav Slavík
3da12c22f2 moved mgl/colour.{cpp,h} to generic so that it can be reused by other ports without native colour representation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 11:16:30 +00:00
Václav Slavík
71451a6d16 moved wxIcon implementation for ports where it's identical to wxBitmap to generic/icon.{cpp,h} so that the same code is not duplicated several times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 17:59:30 +00:00
Włodzimierz Skiba
e8427971f6 [ 1528248 ] Fix to the width of the wxGenericColourButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:53 +00:00
Vadim Zeitlin
3d3f3e3749 allow customization of individual grid lines appearance (patch 1496015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Vadim Zeitlin
3e6e514739 do nothing in Refresh() if the control is frozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:18:34 +00:00
Vadim Zeitlin
27f8357f3c call DoDirtyProcessing() from OnIdle() instead of using wxYield() (patch 1518119)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:12:23 +00:00
Vadim Zeitlin
b9eb3d9de6 added wxID_ANY default value for the id parameter of Create() for consistency with the ctor (request 1481791)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:44:46 +00:00
Václav Slavík
af6ad98461 fixed crashes in wxFile/DirPickerCtrl::GetPath() due to incorrect casting in multiple inheritance hierarchy and incorrect casting to wxFilePickerWidget in wxFileDirPickerCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:13:04 +00:00
Robin Dunn
1a51c85ff3 ExpandAll and ExpandAllChildren are in wxTreeCtrlBase now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 20:55:39 +00:00
Julian Smart
6334d90353 Added wxPROPSHEET_TREEBOOK option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 08:01:54 +00:00
Włodzimierz Skiba
b5c4d59ef4 Fix for dir dialog in dir picker appearing without title and border under universal builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:38:50 +00:00
Vadim Zeitlin
be0e5d699f made wxTree/ListCtrl::HitTest() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 12:00:57 +00:00
Włodzimierz Skiba
3304646d06 Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 09:51:39 +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