Commit Graph

8484 Commits

Author SHA1 Message Date
Julian Smart
6b775e666c On WinCE, generic font dialog didn't work because the point size wxChoice
menu went off the display. Now a wxSpinCtrl is used. Also fixed the preview
window in PDA mode (was invisible).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:57:30 +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
04e044c4d6 Use GTK+ function to obtain GdkWindow for wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 09:55:07 +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
4eccd3a10f Further sorting work using the sorting data model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 10:49:06 +00:00
Robert Roebling
8f850e2831 Moved code around preparing the sorted model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 15:04:25 +00:00
Julian Smart
7d4f65e393 Added context menu support under PocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 13:37:23 +00:00
Robert Roebling
8981608c69 Added wxDataViewSortedListModel, which doesn't work
yet, but you get the idea..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 10:47:28 +00:00
Kevin Hock
30bbf68d3a Make SetLocal actually work instead of crashing immediately; due to required longevity of the item to make it from SetLocal to Connect, we need to use a specifc address type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 02:04:29 +00:00
Kevin Hock
fb3234e549 Make MacSetMetalAppearance private so that the extra style flags can't get out of sync with the OS X-level metal flags by calling MacSetMetalAppearance directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 01:33:54 +00:00
Robert Roebling
5d605a6995 MVC works now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 14:18:24 +00:00
Robert Roebling
b5d777c78e Added generic MVC hookup code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 13:09:41 +00:00
Robert Roebling
33c0d0ed75 Make wxTransientPopupWindow ignore button down events
which have been sent before or at the same time as
    the control creation time so that these evens don't
    make the control disappear again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:16:28 +00:00
Stefan Neis
9e87870780 Added handling of dashes (patch #1438894).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 16:53:11 +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
c644b82e76 Missing wxPen (dashes) members.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 10:45:38 +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
Włodzimierz Skiba
1272e71b8a Revitalise SIP support in all toplevel wince windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 23:11:26 +00:00
Mart Raudsepp
fc2e1beec2 Revert the strict aliasing "fix". As per Michael Wetherell it isn't correct as we aren't able to make a runtime
guarantee for the cast to be correct


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 14:51:59 +00:00
Robert Roebling
1a36756471 Add scrollbars, fix crash, leak less memory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 14:07:06 +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
Jamie Gadd
b7e5ba8f2d Fixes for WinCE build caused by my last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-25 03:36:45 +00:00
Vadim Zeitlin
70ad0e06f0 need to include wx/treectrl.h to use CLASSINFO(wxTextCtrl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 23:40:01 +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
Julian Smart
f7273ce09a Fixed interpretation of selection and added selection/check notification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 16:00:42 +00:00
Vadim Zeitlin
26e8da413c implemented EditLabel() with custom text controls and GetEditControl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 15:32:29 +00:00
Jamie Gadd
3c96418b71 Make wx{List,Tree}Ctrl resize their standard font if the user changes the system font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 14:19:12 +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
74ab0bfbb7 New implementation for printing circles and epllipses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 09:36:35 +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
Robert Roebling
6090c7d328 Return variant type of a cell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 03:09:27 +00:00
Robert Roebling
7b4fde8255 Route data from wxDataViewModel in a wxVariant
through wxDataViewCell::SetValue() to the
   GtkCellRendererText.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 03:04:15 +00:00
Robert Roebling
6842a71a5b added wxDataViewCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-23 02:04:46 +00:00
Robert Roebling
fa28826dd3 Added wxDataViewColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 00:19:04 +00:00
Mart Raudsepp
7ef2db2570 Revert inclusion of wx/dateevt.h for now, as it breaks linkage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 22:14:31 +00:00
Robert Roebling
6e2e590f2a Add notifier class.
Only use listmodel for now, treemodel later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 20:52:05 +00:00
Robert Roebling
260b9be703 More compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 19:55:58 +00:00
Robert Roebling
64ffb88849 Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 18:12:44 +00:00
Robert Roebling
239eaa4154 wxDataViewCtrl WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 17:35:19 +00:00
Mart Raudsepp
6ebf3215ff wxGTK2: Declare GTK_DISABLE_DEPRECATED in defs.h. I will be monitoring the tinderbox, and think on how to rearrange
the declarations and inclusions related to this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 21:34:42 +00:00
Mart Raudsepp
1efb5db896 Make everything compile with GTK_DISABLE_DEPRECATED declared.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 21:28:53 +00:00
Julian Smart
e934052eb0 Include dateevt.h from datectrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 09:14:45 +00:00
Vadim Zeitlin
2d0bea2c37 fix MT-unsafe accesses to wxConditionInternal::m_numWaiters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-19 14:38:20 +00:00
Mart Raudsepp
b0c43acc87 wxGTK2: gtk_signal_disconnect_by_func isn't used anywhere anymore. Nuke prototype from gtk/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 23:44:40 +00:00
Robert Roebling
d77836e48c Applied wxVScrolledWindow patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:59:39 +00:00
Mart Raudsepp
9a71e770e1 Cast to void* before casting to Node** to make the compiler do no strict-aliasing assumptions, and suppress a warning
if -fstrict-aliasing (enabled with -O2, -O3 and -Os unless forced off as is planned for the time being) is used.
See http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/70262 for details.
Also return NULL instead of 0 in the same GetNodePtr, as the return type is a pointer, not integer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 09:21:37 +00:00
David Surovell
f2b8291a28 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 06:54:06 +00:00
David Surovell
0ce0b76b50 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 04:41:07 +00:00
Kevin Hock
8dc6614e60 Fix wxComboBox constructors after keyboard access commit, not all constructors were setting the parent container pointer. Added Init method and put all the constructors together in the header (rather than being split between h and cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 04:00:39 +00:00
Vadim Zeitlin
e6b1317b79 modified custom draw code to fully draw the items using a font with encoding different from the system one as the native list control ignores the font encoding; seems to finally work somehow but there is still horrible flicker as the items seem to be redrawn on every mouse move over them, no idea how to avoid this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 03:49:20 +00:00