Włodzimierz Skiba
f41cf3716e
BookCtrl event handler added to default book layer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:33:52 +00:00
Robin Dunn
f43426c1b9
Bakefile changes for building the graphics context modules, and
...
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Robin Dunn
e1f8ec2909
Give the grid events a Clone method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:52:50 +00:00
Robin Dunn
2f799ae8d2
DLL build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:51:05 +00:00
Robert Roebling
fc211fe5ce
More selection work in GTK+ version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Stefan Csomor
dc8883366b
adding alpha to gtk colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:45:33 +00:00
Robert Roebling
baa9ebc473
Renamed wxDataViewCell to wxDataViewRenderer since the
...
class just renders the cell, it doesn't represent one.
Maybe wxDataViewCellRenderer would be best...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Vadim Zeitlin
c6dfeb4192
include wxmsw27_gl (#if wxUSE_GLCANVAS) too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:18:26 +00:00
Vadim Zeitlin
4291c3c825
added if wxUSE_XRC/AUI/RICHTEXT around appropriate libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:16:28 +00:00
Vadim Zeitlin
dd47af27e1
fixes for compilation with wxUSE_XXX==0 and some other minor fixes (patch 1569904)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:53:40 +00:00
Vadim Zeitlin
d9b0ee1eca
fix wxFilesystem compilation if wxUSE_FFILE is 0 but wxUSE_FILE is 1; disable wxFileSystem if both wxUSE_(F)FILE are 0 (modified patch 1569960)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:38:58 +00:00
Paul Cornett
df9fac6d21
header cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:28:36 +00:00
Robert Roebling
eb7f97f8d6
Added event skeletons, defines, event ids..
...
Implemented wxEVT_DATAVIEW_ROW_SELECTED.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 13:23:31 +00:00
Robert Roebling
6ff7eee7ea
Added selection API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:39:08 +00:00
Robert Roebling
0a71f9e92f
Replaces size_t with unsigned int in wxDataViewCtrl API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Vadim Zeitlin
a1f48575d1
added wxUSE_ACTIVEX which depends on wxUSE_VARIANT and which wxUSE_MEDIACTRL depends on (closes 1569606)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 22:37:07 +00:00
Paul Cornett
a97154c0c3
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 18:04:02 +00:00
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
Włodzimierz Skiba
b3298d1d26
GCC warning fix. Minor cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 11:18:35 +00:00
Vadim Zeitlin
39a485512a
put expdecl in the correct place in DECLARE/IMPLEMENT_VARIANT_OBJECT_EXPORTED
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 09:00:12 +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
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
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
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
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
Vadim Zeitlin
cdd8d745c4
move wxSTRINGIZE and other preprocessor helpers to wx/cpp.h to fix version.rc compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:55:06 +00:00
Stefan Csomor
9821258b3a
missing Normalize implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 13:30:56 +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
Vadim Zeitlin
386f7c47ef
include wx/defs.h to get wxSTRINGIZE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 11:34:41 +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
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
Václav Slavík
13f6c4701e
undef wxUSE_THEME_XXX before redefining them to 1 if wxUSE_ALL_THEMES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 18:36:53 +00:00
Włodzimierz Skiba
acb53ea542
Tinderbox build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 17:31:57 +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
ee92941afc
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@41507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:43:59 +00:00
Václav Slavík
74be7431f3
moved wxSTRINGIZE to defs.h and made it work with macro argument, so that it can be used elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:37:31 +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
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
87f83ac867
The Lesser wxMask Refactoring: merged wxMGL and wxDFB version, added wxMaskBase which could/should be used by other ports later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:02:39 +00:00
Vadim Zeitlin
4353a8df6e
add compilation options to allow compiling in just the selected wxUniv themes and not all of them (which is still the default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 22:55:28 +00:00
Vadim Zeitlin
91885f468a
no real changes, just replaced a long preprocessor expression occuring in 2 places with a simple wxUSE_BITMAP_BASE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 17:11:02 +00:00
Vadim Zeitlin
aa017eabe2
define wxUSE_BOOKCTRL when wxUSE_NOTE/LIST/CHOICEBOOK are 0; also define it as as 1 if wxUSE_TREEBOOK==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 13:48:55 +00:00