Commit Graph

77 Commits

Author SHA1 Message Date
Vadim Zeitlin
a236aa2058 many wxItemContainer-related changes:
1. the main function for item insertion is now DoInsertItems() which allows
   for much more efficient addition of many new items at once
2. the items client data management is done entirely in wxItemContainer
   itself, the derived classes don't have to distinguish between void and
   object client data
3. many fixes for sorted controls, in particular implemented wxCB_SORT support
   in wxGTK combobox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 13:54:14 +00:00
Václav Slavík
b5dbe15d0b added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Stefan Csomor
bf9a1615ed switching from native rtti to wxrtti
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 15:06:38 +00:00
Robin Dunn
2bf8f4c0d5 Implement deep copy of wxBitmapRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:23:35 +00:00
Stefan Csomor
cd7d36c065 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:56:36 +00:00
Włodzimierz Skiba
1b88201ff5 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Paul Cornett
fc964c0d23 probable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:03:36 +00:00
Stefan Csomor
fe63cfad2b adding missing typedefs for 10.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:57:03 +00:00
Stefan Csomor
eb89f88a43 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:55:46 +00:00
Vadim Zeitlin
b7cacb43db add IsOk() to all classes having Ok() method (patch 1570985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Robin Dunn
e6fd62dd84 Override CreateItem so wxListBox can turn its notifications into events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 06:37:50 +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
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
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
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
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
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
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
Stefan Csomor
e779b60938 we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:17:19 +00:00
Paul Cornett
dd0d56f5c7 remove unneeded includes from mac/carbon/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:47:39 +00:00
Vadim Zeitlin
725566cab4 suppress gcc printf format warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:42:17 +00:00
Paul Cornett
8b64a7e24b correct access specifier for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 17:23:04 +00:00
Stefan Csomor
6cce68eaab listbox rewrite, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 07:53:02 +00:00
Vadim Zeitlin
17af82fb4c added wxStandardPaths::GetDocumentsDir() (patch 1214360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Stefan Csomor
ba5b8a68f7 listbox cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 06:42:32 +00:00
Stefan Csomor
b1fd3badf5 applied patch 1465549
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 18:56:13 +00:00
Julian Smart
ecf418ad77 Correct test for WORDS_BIGENDIAN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:32:00 +00:00
Julian Smart
54ce9ebbd6 Reduced deprecation warning frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 13:01:19 +00:00
Stefan Csomor
fbb7ee81b4 convenience methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 18:09:04 +00:00
Stefan Csomor
7358f9073d intel pict fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 18:29:14 +00:00
Stefan Csomor
c06bbbff22 additional types for carbon events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 17:02:51 +00:00
Stefan Csomor
1628261e2b support for standard command IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:24:55 +00:00
Włodzimierz Skiba
fb5246bead Get/SetTitle only for wxTopLevelWindow (wxMac part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:37:19 +00:00
Stefan Csomor
18b94824f5 added CFRef holder templated class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-06 07:19:18 +00:00
Vadim Zeitlin
2c01d33555 don't use a floating point value as a boolean flag; gcc4 (correctly) complains when it's compared with 0; use different function for setting the current and given time in wxMacCarbonEvent instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 12:53:24 +00:00
Vadim Zeitlin
fbfb8bcc3f added missing consts and pass objects by const reference instead of by value (patch 1205869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Stefan Csomor
fea3713c03 adding Robert Lang's native CG-Bezier patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-14 11:49:31 +00:00
Stefan Csomor
a6140a4c17 adding core services and increase Universal Header min req
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-24 07:53:56 +00:00
Stefan Csomor
9234615181 unifying redraw and scrolling calls between compositing and non-compositing modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 05:42:49 +00:00
Stefan Csomor
30e77b5c9f have CGImage Support in all OSX builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 05:31:37 +00:00
Stefan Csomor
285b5ce090 cleanup, adding common methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 11:41:01 +00:00
Ryan Norton
9075301655 fix compilation - Stefan see my last commit bundle :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:02:20 +00:00
Stefan Csomor
9b89f11ad8 reintroducing non-composited functionality due to DataBrowser Bugs under 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 08:54:16 +00:00
Stefan Csomor
89a66f111b forwarding position changed events to peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 14:06:15 +00:00
Stefan Csomor
b905d6cc08 adding a peer pointing back to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 15:46:03 +00:00
Stefan Csomor
6d2c830a3c moving native format generation into bitmap ref data because of the owner semantics (we don't know when to release a PicHandle otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 13:42:35 +00:00
Stefan Csomor
ddb08e02c4 drawing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 05:50:48 +00:00
Stefan Csomor
71cc158eaa adding metafile and clipboard support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 05:59:04 +00:00
Stefan Csomor
20b6985553 Mac Core Graphics Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 11:34:05 +00:00