Commit Graph

88 Commits

Author SHA1 Message Date
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
Julian Smart
e40298d54e Tidied space and tabs in wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:48:13 +00:00
Julian Smart
a31a5f8534 Tidied copyright and date for wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 21:54:04 +00:00
Stefan Csomor
f81127c568 added horizontal scrollbars to listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:42:33 +00:00
Gilles Depeyrot
eb22f2a6dc updated source to not use deprecated wxList methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 07:01:22 +00:00
Vadim Zeitlin
7baf4bdbb6 misc gcc compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:30:49 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Stefan Csomor
68a9d9d04f getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 18:10:08 +00:00
Robin Dunn
dc0ace7cdd Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 18:21:05 +00:00
Stefan Csomor
202848fe9e removed WXK_SPACE as duplicating the selection event, added theme text drawing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:35:44 +00:00
Stefan Csomor
9210422353 fixed selection handling and added default/cancel handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 14:17:28 +00:00
Gilles Depeyrot
4b651a4675 rename method to prevent collision with some BSD definitions of macro Free()
(detected compiling mahogany)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 16:25:18 +00:00