Commit Graph

3345 Commits

Author SHA1 Message Date
Włodzimierz Skiba
5f60a273bd PRIOR/NEXT build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 12:17:48 +00:00
Włodzimierz Skiba
3ad4e2df04 PRIOR/NEXT build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 10:27:44 +00:00
Włodzimierz Skiba
277956850e Fix after removal of PRIOR/NEXT in common headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:28:08 +00:00
Julian Smart
fec647a203 Build corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 08:22:29 +00:00
Vadim Zeitlin
aa61d35253 replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:05:23 +00:00
Julian Smart
b910a8add4 Fixes/makefiles for building data view control on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 21:28:24 +00:00
Włodzimierz Skiba
cca1624d2a Centering maximized wxTLWs on screen should do nothing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 13:00:06 +00:00
Robert Roebling
0fdc2321bc Implement basic MVC logic (change an item in one
view and all views update themselves) and made
   wxDataViewToggleCell react to mouse clicks as a
   test for that (generic code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:44:57 +00:00
Julian Smart
acd8510fd2 Don't centre the frame on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:35:56 +00:00
Włodzimierz Skiba
045bd076c5 Test both constuctors. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 18:07:19 +00:00
Stefan Csomor
06840f1796 gcc 4.0 for all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:53:47 +00:00
Vadim Zeitlin
a6c355d270 initialize wxZipFSHandler even when wxUSE_GIF=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 17:09:03 +00:00
Vadim Zeitlin
2dd52041d0 fixed crash introduced in rev. 187 for all non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 16:53:42 +00:00
Vadim Zeitlin
6c5d62917d added wxDisplay::GetClientArea() (currently implemented for single display and MSW implementations only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 16:07:24 +00:00
Stefan Csomor
66936c3770 universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 07:10:24 +00:00
Vadim Zeitlin
22d679f369 compile some functionality even when wxUSE_DISPLAY == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:24:29 +00:00
Włodzimierz Skiba
e95c145cc8 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 07:49:43 +00:00
Włodzimierz Skiba
8228b8932a Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:44:45 +00:00
Włodzimierz Skiba
cfb6676306 Make wxListCtrl changes ported from 2.6 branch complete (fix for long list of errors at wxTinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:18:22 +00:00
Vadim Zeitlin
7891b4d450 don't send weird colours for different controls, this looks really bad under some platforms (such as Mac) and makes the text unreadable under the others; there is widgets sample now for testing whether the colour setting works interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:58:21 +00:00
Vadim Zeitlin
361484a8db create a non readonly combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:55:12 +00:00
Julian Smart
107ff6689a Added context menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:54:13 +00:00
Vadim Zeitlin
bc50a2ae95 log wxChoice events in the same format as wxComboBox ones to make it simpler to compare them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:16:35 +00:00
Vadim Zeitlin
9ae1959972 use the sizer to layout the main window/panel (this allows to give more size to the log window by resizing the main frame while before it was pretty difficult to see anything in it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 17:04:23 +00:00
Włodzimierz Skiba
a862f3cc19 Make wxTinderbox pass dialup sample for DOS cross-build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:34:31 +00:00
Vadim Zeitlin
ef22edc309 don't Connect() to wxEVT_RIGHT_DOWN twice (fixed problem introduced by last patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:37:20 +00:00
Robin Dunn
06db67bcb0 Applied Patch #1424869: Implement wxListCtrl::SetItemColumnImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:26:59 +00:00
Vadim Zeitlin
b4deaacba3 simplification: create listbox in only one place (patch 1447019)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 21:24:29 +00:00
Vadim Zeitlin
c00fed0ef4 added wxListBox::HitTest() from Ryan (patch 1446207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 12:48:52 +00:00
Vadim Zeitlin
c5dd5a3dac test EVT_TEXT_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:15:20 +00:00
Włodzimierz Skiba
e0b15ca795 Don't link with media lib with USE_MEDIA==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 15:15:59 +00:00
Włodzimierz Skiba
03575f9bd3 Don't link with media lib with USE_MEDIA==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 15:01:59 +00:00
Mart Raudsepp
7e48f6d964 Remove the GetItemHeight sample from samples/checklst as it exists only on wxGTK and wxMSW. Improved patch #1443694
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:37:29 +00:00
Włodzimierz Skiba
684883e3e3 Present generic dialog on WinCE. Show using/avoiding Ok-button WinCE policy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:50:45 +00:00
Vadim Zeitlin
c1318d3fa2 don't use grey background for the control, it makes selection almost completely invisible in the default Mac colour scheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:26:14 +00:00
Robert Roebling
3f3af7e7f8 Change wxVariant GetValue() to GetValue( wxVariant & ).
More cool sorting code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 10:46:01 +00:00
Robert Roebling
4a46cbe8c6 Applied Ryan's native wxListBox and wxCheckListBox patch
in slightly modified form..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 21:51:42 +00:00
Robert Roebling
abd6692ca8 Added stubs for variaous tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 22:27:09 +00:00
Robert Roebling
241cb04bd8 Don't delete model in views destructor as several
views can have the same model and memory doesn't
    like getting freed several times.
  Sorting actually works. Not yet editing the sorted
    data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 21:41:13 +00:00
Julian Smart
92f07cf89e Proposed syntax for telling WinCE whether a context menu is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 14:18:45 +00:00
Julian Smart
42b16af462 WinCE can't copy with title in menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 13:26:55 +00:00
Robert Roebling
7ea3a0de1e Most things about wxDataViewDateCell work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:34:50 +00:00
Robert Roebling
a78d8dd08a Move wxDataViewCtrl to Adv (hope this has worked..).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 19:26:19 +00:00
Robert Roebling
4d496ecbc4 Some restructuring, beginning of wxDataViewDateCell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 15:48:42 +00:00
Włodzimierz Skiba
1914bb8e12 WinCE friendly wxCheckListBox sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 02:04:58 +00:00
Robert Roebling
553f7d8f56 Makes custom cell activatable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 01:51:28 +00:00
Robert Roebling
ad63bf413b Added wxDataViewProgressCell with native code
for GTK 2.6 and fallbacks otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 13:13:05 +00:00
Robert Roebling
e152afc3d4 Added wxDataViewCustomCell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:19:55 +00:00
Robert Roebling
605c2c4ac6 added wxDataViewToggleCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 13:19:23 +00:00
Robert Roebling
a7f61f762d wxDataViewCtrl now with editable text and multiple
views for the same data model (in the sample).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 13:34:15 +00:00