Robin Dunn
55ae28331f
Range check the index in GetString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 00:18:24 +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
Ryan Norton
179e085f05
wxUSE_XXX related fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:43:47 +00:00
Vadim Zeitlin
c6179a847d
1. added SetSelection() to wxItemContainer and removed its declarations
...
from derived classes
2. made wxItemContainer::Select() non virtual: it simply calls SetSelection()
3. renamed wxListBox::SetSelection(n, select) to DoSetSelection() for all
ports and defined non virtual SetSelection() overloads in the base class
to avoid virtual functions hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 17:08:27 +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
Stefan Csomor
77eddfb7f5
fixing NULL warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 16:02:39 +00:00
Stefan Csomor
3d1a4878f3
pragma and prec-header patch applied
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 21:05:47 +00:00
Kevin Hock
687706f5e7
Use event modifiers and accessors rather than m_ variables directly, which are now protected rather than public with 2.4 compatibility disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:08:15 +00:00
Stefan Csomor
393b27add0
onsize event not needed anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 06:04:59 +00:00
Ryan Norton
0b9cd93cad
fix unsigned/signed warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 08:30:04 +00:00
Stefan Csomor
13220cca72
Faster Deselect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 19:07:22 +00:00
Stefan Csomor
fe3dc50545
Listbox fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 12:50:51 +00:00
Vadim Zeitlin
6c6ea7bed1
remove the selection when SetSelection(-1) is called instead of asserting (as documented)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 01:03:02 +00:00
Stefan Csomor
684e0b31ef
__WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:45:21 +00:00
Ryan Norton
45285a6238
they should be ints, not size_ts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 03:25:46 +00:00
Stefan Csomor
8e0f22c082
insert was not correctly implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 16:24:17 +00:00
Robin Dunn
b6a20a20d0
Give wxListBox a GetClassDefaultAttributes so wxCalendarCtrl (and
...
others) can use the right set of attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 04:07:32 +00:00
Stefan Csomor
5ca0d8122a
further separating implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 16:19:18 +00:00
Robin Dunn
9f88452895
* Implemented BestSize cache
...
* Added calls to InvalidateBestSize where things affecting BestSize
are modified. There are probably several other places where this
still needs to be done...
* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
into the MinSize, (if any) and return the result.
* SetBestFittingSize will now only set the MinSize to the value that
was passed to it, without merging in the BestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Stefan Csomor
21fd55291b
introduction of m_peer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 07:28:59 +00:00
Stefan Csomor
be1aa07f8a
if one clicks first on line 3 and then on line 1, the selection event is correct, but GetSelection on the listbox lags on selection event behind, therefore switch to PostEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 04:34:49 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Stefan Csomor
36ba5f7cb0
corrected preproc condition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 18:21:13 +00:00
Stefan Csomor
5ecae0b748
bracketing non OSX code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:50:54 +00:00
Stefan Csomor
a9fc5eec8b
scrolling to selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 12:41:45 +00:00
Robin Dunn
d3b5db4b25
SetInitialBestSize changes for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 04:31:12 +00:00
Julian Smart
469d8d5dbb
Casting fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 14:11:44 +00:00
Stefan Csomor
143d08f8f4
all databrowser implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:23:37 +00:00
Stefan Csomor
d85611ba84
mouse handling changed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:19:35 +00:00
Dimitri Schoolwerth
5ce9b17600
removed HasMultipleSelection() because base class implements it now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 20:33:04 +00:00
Stefan Csomor
5e6f42cdf9
Assert for incorrect style, added Deselection for single selection lists
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:43:41 +00:00
Stefan Csomor
83ce56341b
databrowser notification trigger events now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:57:49 +00:00
Julian Smart
9bd2d050ef
Compile fixes for 10.2 headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:26:18 +00:00
Stefan Csomor
c2697b8719
attempt to work around SDK specific problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 19:04:41 +00:00
Stefan Csomor
facd676487
new control based view architecture
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 09:44:31 +00:00
Stefan Csomor
21956470c7
safe destruction, even if redraws might be triggered
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 10:47:57 +00:00
Stefan Csomor
09322209d8
adjusted LB_EXTENDED and LB_MULTIPLE to wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 07:52:17 +00:00
Robin Dunn
864db5de61
Fixed a compliation error, event args should not be const.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 23:40:59 +00:00
Stefan Csomor
a9412f8f03
font encoding support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 06:23:07 +00:00
Mattia Barbon
584ad2a32f
Added some missing STL-like wxArray/wxArrayString constructors.
...
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Vadim Zeitlin
fcb35beb94
compilation fixes after making wxFontRefData private (added wxFont::GetMacXXX())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 23:10:35 +00:00
Stefan Csomor
939fba6c17
removal of pc-mac charset conversion for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Stefan Csomor
b657d5dbee
removing scroll flags before instantiation the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:38:03 +00:00
Vadim Zeitlin
b45ed7a273
use wxWindowBase::Create() instead of duplicating its code in MacPreControlCreate()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:57:34 +00:00
Stefan Csomor
4b26b60fac
MacHandleControlClick extended by mouseStillDown state for supporting things like THUMBRELEASE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:58:38 +00:00
Gilles Depeyrot
06ea1f023e
removed unused variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:13:29 +00:00
Julian Smart
4455332266
Test for result of searching for wxID_CANCEL button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:56:09 +00:00
Stefan Csomor
2c1a331259
unicode fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 17:30:20 +00:00
Stefan Csomor
427ff66291
wxMac Unicode support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:33:32 +00:00