Commit Graph

36010 Commits

Author SHA1 Message Date
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
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
f31a4cb237 graphics context implementation test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 15:53: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
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
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
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
81c330c6f0 fixed confusing double messages about getservbyname_r() test result, made the checking message consistent with gethostbyname_r() one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 00:03:27 +00:00
Vadim Zeitlin
97d01c138c removed non existent wx/dfb/popupwin.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:48:25 +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
Vadim Zeitlin
ac61a0a15b 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@41496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:06:42 +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
Václav Slavík
8e3e26d375 don't hardcode the theme, it prevents WXTHEME env.var. from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 15:26:56 +00:00
Vadim Zeitlin
7de1afbfd2 DIKI_ALTGR was removed in DFB 0.9.25
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 14:02:52 +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
Vadim Zeitlin
8ddb1b8a88 handle DIKI_ALT_GR in the switch even if we don't have any matching key code, just to avoid gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 13:43:19 +00:00
Vadim Zeitlin
12acbc9bf7 only use PS printing in wxUniv (the test was accidentally broken by last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:47:12 +00:00
Vadim Zeitlin
e66eb2dfae fixed Contains() to pass the unit test (didn't work for empty strings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:38:51 +00:00
Vadim Zeitlin
c4f35063ce added wxString::Contains() unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:37:40 +00:00
Vadim Zeitlin
ed626c8b55 VC7.1 warning fix about passing temporary as (non-const for this compiler) parameter of auto_ptr::operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:31:27 +00:00
Jouk Jansen
a0f3a0211a Committing in .
setup.h_vms : synching with setup.h.in
 gtk1/gauge.h : gtk1 has no native wxGauge::Pulse so it has to inherit it from
                wxGaugeBase (just like i.e. wxMOTIF)

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/gtk1/gauge.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 09:09:06 +00:00
Stefan Csomor
87cc1cc772 adding wxArrayDouble for later use in graphics context APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 08:00:16 +00:00
Stefan Csomor
fb63a24232 adopting correct implementation virtualization for Do/GradientFillConcentric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 07:53:10 +00:00
Vadim Zeitlin
562f54a7ba added Malay translations (Mahrazi Mohd Kamal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 00:37:07 +00:00
Vadim Zeitlin
6f928cf2d9 update from Priyank Bolia
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 00:30:24 +00:00
Włodzimierz Skiba
bbcc2d1b1c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 13:51:04 +00:00
Włodzimierz Skiba
93b9de865c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 11:57:12 +00:00
Włodzimierz Skiba
81e4cb8bdf WinCE build fix: access to protected member.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 11:53:50 +00:00
Robin Dunn
a5f9094e25 Add missing "public" so wxGridCellRenderer methods will have wrappers
generated for them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-27 01:41:43 +00:00
Vadim Zeitlin
e0e6ac8acc allow specifying the size of wxDCTemp and do specify it for the one used with wxEraseEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 23:51:29 +00:00
Robert Roebling
57d0f66a02 Added test bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:18:08 +00:00
Robert Roebling
cbc9145c04 Added wxDataViewBitmapCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:17:00 +00:00
Robert Roebling
2f62094615 Added wxVariant's =, == and != operators for wxObject*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 21:08:23 +00:00
Robert Roebling
cfd5930dcd GetWxObjectPtr() returns wxObject*, not void*.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 20:17:40 +00:00
Robert Roebling
63574b81fa Make GetWxObjectPtr() const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 20:16:24 +00:00
Robin Dunn
f09df8b2ea If a TLW's default item is not an immediate child then it can be left
with a dangling pointer when the child is deleted, so check for it in
the child's dtor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 19:52:32 +00:00
Robin Dunn
61e07b943c Add missing "public" so wxGridCellRenderer methods will have wrappers
generated for them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 19:50:44 +00:00
Julian Smart
64c47f48c3 Converts DOS line endings to Unix if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 19:18:46 +00:00
Robin Dunn
4123a7a9b8 Workaround some platform differences
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 17:26:23 +00:00
Stefan Csomor
fe8712b53e removing the old style code cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 14:51:04 +00:00
Václav Slavík
4eb124f5bd fix client area computations and borders rendering if the scrollbars are not inside the border rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 13:58:54 +00:00