Paul Cornett
e409b62aaf
listctrl header cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 17:38:30 +00:00
Paul Cornett
f2e1afc988
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 17:35:16 +00:00
Robin Dunn
3d0a1631ed
Don't cache the best size until we get a non-zero value back from the
...
activeX control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 16:18:20 +00:00
Stefan Csomor
fe31db8170
workaround for GDIPlus conversion errors, adding wxMask support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 13:52:48 +00:00
Julian Smart
1c07e924cd
Use wxIsalnum to test for word delimiters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 12:47:31 +00:00
Julian Smart
e6474d62a8
Compilo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 12:38:47 +00:00
Włodzimierz Skiba
ce1f7f02c4
Fixed crash caused by A=B?C:D used for returning wxObject derived type.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 12:11:19 +00:00
Vadim Zeitlin
f5ee98b65c
fix VC warning about incorrect dll linkage of wxDataViewSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 09:10:41 +00:00
Włodzimierz Skiba
9189b72752
Don't test size_t for positive only values (warning fix).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:49:32 +00:00
Włodzimierz Skiba
d4f6dbf62a
wxVariant support needs wx/icon.h earlier.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:15:15 +00:00
Paul Cornett
4c44eb66f3
put grid string in generic/grid.cpp, not common/datacmn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:12:33 +00:00
Włodzimierz Skiba
bae328c1ff
wxVariant support for icon and bitmap should work regardless wxBitmapBase.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:58:53 +00:00
Włodzimierz Skiba
3d5f724f8e
Tinderbox build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:19:17 +00:00
Włodzimierz Skiba
07502d7351
Warning fixes after char->wxChar in wxVariant.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 07:09:20 +00:00
Paul Cornett
4e675101a7
use unsigned for display count
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:38:05 +00:00
Robert Roebling
008b5a66f7
Removed some irritating flags.
...
Implmented the remaining ones under GTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 21:09:56 +00:00
Vadim Zeitlin
c4ad618c2f
regenerated after wx/cpp.h addition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 20:46:32 +00:00
Julian Smart
0ca07313fb
Added rich text buffer clipboard support.
...
Added double-left-click word selection support.
Now saves only the active attributes to XML.
Eliminated wxRichTextFragment class to allow wxRichTextBuffer
to be used where wxRichTextFragment was used.
Fixed AddParagraph virtual function hiding warning.
Miscellaneous small wxRichTextCtrl bug fixes and cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 14:46:03 +00:00
Robert Roebling
2586d4a121
Several wxBitmapDataCell changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:21:19 +00:00
Robert Roebling
38f82bf695
Missed these in the char -> wxChar change.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:01:04 +00:00
Robert Roebling
6f5d78250c
Move wxVariant support for GDI classes to their
...
files (and thus away from wxBase).
Add export declaration field for variant macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 20:45:15 +00:00
Václav Slavík
e48a305514
clean DFB event buffer on shutdown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 19:22:40 +00:00
Vadim Zeitlin
746146e0e3
offset the text correctly inside the item rect in DrawItem(), it was off by 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 18:32:33 +00:00
Vadim Zeitlin
b19d4eb9bf
draw solid focus rectangle in mono theme and don't do it at all for selected items (this required adding flags parameter to DrawFocusRect())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 18:30:00 +00:00
Stefan Csomor
a798c64c4f
invert clockwise flag correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 16:34:38 +00:00
Robert Roebling
3f90a3994d
Added DECLARE_VARIANT_OBJECT macros for easy conversion
...
from and to wxVariant using the shift left operator.
Use the for GDI classes and wxImage.
Document it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 15:37:52 +00:00
Václav Slavík
e17cd59f72
fixed another typo in pen/brush style validation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:44:52 +00:00
Václav Slavík
335c3c4a3b
fixed typos in pen/brush style validation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:35:12 +00:00
Stefan Csomor
c2b9ae5f7f
enabling alpha on msw colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:29:45 +00:00
Stefan Csomor
6fea499ca8
gdiplus implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:06:09 +00:00
Stefan Csomor
d94228a221
adding missing implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:04:52 +00:00
Vadim Zeitlin
764b624e32
don't redefine HAVE_BROKEN_SWPRINTF_DECL/HAVE_SWPRINTF if they're already defined as it happens when using configure under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:38:48 +00:00
Robert Roebling
60acae80d0
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:33:54 +00:00
Robert Roebling
71520754fc
Changed char to wxChar.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:29:52 +00:00
Robert Roebling
2562c82329
Applied ref-couting patch.
...
Completely reorganized code (more readable to me).
Minor other changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:20:14 +00:00
Václav Slavík
21e3246c42
don't assert in wxDC::Blit() calls if the source rect is outside of source DC (wxCaret is prone to this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 10:00:57 +00:00
Václav Slavík
399754a683
fixed incorrect computation of window's visible area: window's position was added once too much
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 09:50:39 +00:00
Kevin Ollivier
f42e073cda
Fix editing support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 04:25:03 +00:00
Kevin Ollivier
67650ea0b9
Fixed sorting and commiting support for native virtual wxListCtrl, although leaving it off for now since initial creation of the list items takes a fair amount of time when the item amount is significantly large (as in the listctrl demo).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 03:58:30 +00:00
Jamie Gadd
b728a21269
Re-enable WM_PRINTCLIENT handling code as it is needed to correctly paint nested notebooks (closes bug #1544282 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 16:36:51 +00:00
Stefan Csomor
505810425a
graphics context implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 15:49:39 +00:00
Václav Slavík
e76372220e
simplified #ifs around the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:51:10 +00:00
Václav Slavík
4f2097b6ef
fixed IMPLEMENT_APP to work even if compiled with --with-themes and win32 or gtk themes are not compiled in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:49:36 +00:00
Włodzimierz Skiba
da8cebb2f9
Build fix for !PCH builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:26:27 +00:00
Václav Slavík
f012b5341c
use smaller statusbar margins in mono theme
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 11:47:02 +00:00
Václav Slavík
283c797c5c
fixed wxStatusBar size calculations so that the text is not clipped
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 11:45:26 +00:00
Włodzimierz Skiba
ab00f409f4
Build fix for !PCH builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 09:58:15 +00:00
Julian Smart
fe5aa22c17
Fixed bugs in, and added operators and copy constructors to, style
...
sheet classes.
Now merges base, paragraph and content styles dynamically on
display or layout so that we can distinguish between them. This
means appling a paragraph style that has character formatting
doesn't wipe out the original content formatting. The old-style
static method can be enabled by setting wxRICHTEXT_USE_DYNAMIC_STYLES
to 0 in richtextbuffer.h.
The default style is initially empty, so that adding text
reflects the base and paragraph styles. Setting the default style
doesn't merge with the previous setting, but BeginStyle does.
Adding new paragraphs is now sensitive to the previous paragraph's
style and also whether its style has a next-paragraph style indication.
Added wxRichTextCtrl::ApplyStyleSheet which reapplies styles to
paragraphs with named styles.
Added style application command to sample to demonstrate how
styles can be changed and reapplied without affecting content
character formatting.
Fixed some range bugs in UI feedback and clipboard copying and pasting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 08:53:23 +00:00
Vadim Zeitlin
a43c3ed057
suppress gcc warning about DWET_XXX enumeration values not handled in switch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:09:42 +00:00
Vadim Zeitlin
0055a7a437
fix unused variable warning when wxUSE_PALETTE==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:09:20 +00:00