Commit Graph

8457 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
7447bdd7b7 fix client to screen (and vice versa) conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 00:49:24 +00:00
Vadim Zeitlin
38b2e0de18 blind compilation fix for 64 bit systems after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 00:26:33 +00:00
Vadim Zeitlin
a3a4105df6 it is not possible to show/hide the window from the UpdateUI event handler; refactored the code by moving control-specific parts into the derived classes (patch 1338350)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 16:32:50 +00:00
Włodzimierz Skiba
bc8793f4d2 wxUSE_UXTHEME=0 (WinCE) build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:06:54 +00:00
Vadim Zeitlin
3ff260ae2c typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:40:18 +00:00
Michael Wetherell
8d7eaf9140 Warning fixes for VC5 (Igor Korot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +00:00
Kevin Hock
29c731cae9 Add missing include for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 03:43:53 +00:00
Kevin Hock
36287f1a97 Add missing include for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 03:11:37 +00:00
Vadim Zeitlin
213ad8e72c added linear and concentric gradient fill functions (modified/fixed patch from Ryan Norton)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 01:57:31 +00:00
Kevin Hock
33d925b0d9 Add SetLocal method; overload Connect to accept a local address and move common Connect code into DoConnect; DoConnect handles wxSOCKET_REUSEADDR flag and setting local address [ Heavily modified and expanded patch 1415505 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 23:39:25 +00:00
Vadim Zeitlin
a4d2944e64 added assignment operators from int for disambiguation of expressions such as ll=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 17:30:26 +00:00
Vadim Zeitlin
bb60e16c8f removed stray #endif added in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 17:17:08 +00:00
Vadim Zeitlin
33f81fc7d0 use wxClockMillis_t to fix wxUSE_LONGLONG=0 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:56:40 +00:00
Vadim Zeitlin
216a72f3b9 added support for 64 bit ints in wx stream classes (patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:51:34 +00:00
Vadim Zeitlin
87152bb53d wxUSE_DATETIME==0 compilation fix (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:40:10 +00:00
Vadim Zeitlin
608f8a111b provide wxGetLocalTimeMillis() (returning double) even if wxUSE_LONGLONG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:38:28 +00:00
Vadim Zeitlin
7ba7c4e62f use wxDiskspaceSize_t which is long and not wxLongLong if wxUSE_LONGLONG==0 (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:21:14 +00:00
Vadim Zeitlin
5ac31f6f8d wxODBC depends on wxDateTime (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:44:21 +00:00
Vadim Zeitlin
5d36ad180e wxArchive depends on wxDateTime (part of patch 1203970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:42:01 +00:00
Mart Raudsepp
939197fe47 Do not reintroduce #pragma interface/implementation for html/helpdlg and mediactrl. These pragmas are an abomination
from hell.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 04:53:56 +00:00
David Surovell
e28985499b fixed wx_media linkage/export problems - from RN patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 00:30:20 +00:00
Vadim Zeitlin
b0d969e854 clarified wxUSE_STD_IOSTREAM and wxUSE_STREAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 00:12:06 +00:00
Vadim Zeitlin
557002cf81 Ryan's cumulative wxActiveX and media control patch (1427775)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:37:40 +00:00
Vadim Zeitlin
8628b7d413 GTK1 fixes after wxObject-derived classes copy ctors/assignment operators simplifications (patch 1428863)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 15:41:06 +00:00
Vadim Zeitlin
1f464296de fixed centering of top level windows on secondary displays (replaces patch 1267173)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:02:06 +00:00
Vadim Zeitlin
1bfb73b877 added wxRect::CentreIn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:01:19 +00:00
Vadim Zeitlin
c86fd3a793 undeprecated wxSizerItem::IsShown() undoing last change to wx/sizer.h: turns out we do need this logic in a few places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:25:22 +00:00