Commit Graph

37237 Commits

Author SHA1 Message Date
Vadim Zeitlin
fea35690f1 Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Vadim Zeitlin
d2a93a2af3 mention comparison operators changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:36:16 +00:00
Vadim Zeitlin
4e124582c4 no changes, just wrap long lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:30:53 +00:00
Vadim Zeitlin
55ccdb93e4 COW cleanup patch (1583966):
1. perform deep comparison for the classes for which it makes sense in the
   ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
   not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Vadim Zeitlin
8d1517cef2 use explicit virtual keyword with overridden virtual methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:14:13 +00:00
Robert Roebling
caea989732 Replaced SetSizeHints -> SetMinSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:13:20 +00:00
Vadim Zeitlin
dddf9e14ed compilation fix for wxUSE_UNICODE_MSLU && !WXWIN_COMPATIBILITY_2_6 (bug 1587408)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:11:31 +00:00
Robert Roebling
cecf69f30d Replaced SetSizeHints() with SetMinSize().
Fixed what must by typo be the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:09:59 +00:00
Benjamin Williams
25d7497c18 aui notebook button enabling/disabling implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:58:53 +00:00
Robert Roebling
694f411c85 It's too late.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:52:50 +00:00
Robert Roebling
3071f2ccfa Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:52:09 +00:00
Robert Roebling
75791a9beb Small fix again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:47:35 +00:00
Włodzimierz Skiba
122f3c5dc0 Simplest fix received from OW community (Peter C. Chapin).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:40:50 +00:00
Robert Roebling
cbc82a22cc Removed GetAdjustedBestSize().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:20:33 +00:00
Robert Roebling
a6809fb2ad removed hack that used SetSizeHints() for some strange reason.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:18:26 +00:00
Julian Smart
6a81734334 Copy constructor warning elimination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:15:31 +00:00
Włodzimierz Skiba
061fe33fda Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:08:21 +00:00
Robert Roebling
39bc12ff4b Correct wxPickerBase size calculation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:07:37 +00:00
Włodzimierz Skiba
92df97b87b wxWinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:06:44 +00:00
Paul Cornett
176d982410 don't try to add emission hook if GtkWidget type is not loaded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 18:00:50 +00:00
Julian Smart
36f01cc781 Added page break specification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:52:14 +00:00
Julian Smart
ea160b2e92 Reuse wxCaret object
Add page break specification
Optimize drawing after character input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:51:38 +00:00
Vadim Zeitlin
391bf008a7 handle XOpenDisplay() failure in GetSM(); reformatted the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:07:27 +00:00
Włodzimierz Skiba
83c5d35ff3 Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:05:42 +00:00
Michael Wetherell
ea92316229 Some watcom warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 17:03:56 +00:00
Benjamin Williams
4953f8cf3b wxaui notebook tabs can scroll; notebook themability improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:34:05 +00:00
Vadim Zeitlin
0f11c23345 generate wxEVT_COMMAND_TEXT_COPY event in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:18:45 +00:00
Włodzimierz Skiba
af3c3334cb Updated to recently added files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:14:38 +00:00
Vadim Zeitlin
c63312c472 GetCurrentSelection() was documented but not present in all ports (just MSW and GTK); moved it to the base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:04:27 +00:00
Vadim Zeitlin
4614c8e528 include wx/msw/private.h before wx/msw/uxtheme.h for consistency with other headers (it's not needed, strictly speaking, as uxtheme.h now includes it itself anyhow, but it's more clear like this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:41:58 +00:00
Vadim Zeitlin
e6efee0079 need to include wx/msw/private.h to get GetHwnd() which is used here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:37:42 +00:00
Robert Roebling
a3dae7b72c Mark GetMinSize() as virtual and explain why.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:02:34 +00:00
Robert Roebling
cb1bf05260 [ 1587248 ] Segfault w/o Session Manager (e.g. KDE/GNOME ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 14:46:17 +00:00
Włodzimierz Skiba
4b3d5ef316 Updated to recently added files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 14:33:24 +00:00
Robert Roebling
daac16bba0 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:57:18 +00:00
Włodzimierz Skiba
5a81b60e83 Match EscapeSqlChars() interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:29:46 +00:00
Robert Roebling
cda5834e9d Moved overridden SetMinSize() to base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:25:00 +00:00
Robert Roebling
a1b05a60e1 Make SetMinSize() and SetMaxSize() virtual so they
can be overridden in wxTLW to set WM hints.
  Actually did that for wxGTK, nothing required for
    wxMSW, no idea about wxMac.
  Documented this in tlw.tex.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:18:35 +00:00
Włodzimierz Skiba
e0137813dc Keep buildable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:45:02 +00:00
Václav Slavík
561955046e moved wxScrollBar geometry methods out of wxRenderer, they are common for all themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:33:25 +00:00
Václav Slavík
6236b8b477 renamed wxControlWithArrows::HitTest() to HitTestArrow() to avoid conflict with wxWindow::HitTest()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:24:13 +00:00
Michael Wetherell
a7f958f2d8 Moved to include/wx/private/fileback.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 12:16:21 +00:00
Włodzimierz Skiba
ce7208d49d Minor header cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:56:12 +00:00
Robert Roebling
17ede0b11d [ 1587059 ] wxLaunchDefaultBrowser fix for KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:46:44 +00:00
Václav Slavík
f10ccf9e6b don't use deprecated wxSTRING_MAXLEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:41:38 +00:00
Vadim Zeitlin
89fd8148ce define wxLongLong_t as long long if it is supported, only fall back to long otherwise as we want to be able to pass wxLongLong_t to the standard C99 functions working with long long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:29:56 +00:00
Václav Slavík
1b1b531857 compilation fix for !wxUSE_MIMETYPE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:25:36 +00:00
Vadim Zeitlin
ead067dedf slightly reduce the number of #ifndef __WATCOMC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:20:11 +00:00
Włodzimierz Skiba
bca6a3a555 Temporary ugly trick to make release for OpenWatcom possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:08:48 +00:00
Václav Slavík
497cb543c0 render scrollbar's thumb as stippled bar to distinguish it from controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 10:19:21 +00:00