Commit Graph

20485 Commits

Author SHA1 Message Date
Vadim Zeitlin
64dd1c4697 compilation fix after wxMemoryDCBase changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:14:50 +00:00
Vadim Zeitlin
76690d5e7d compilation fix after wxBitmap::operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:13:40 +00:00
Vadim Zeitlin
783d8bdf57 don't assign NULLs to bools and floats, this is confusing (and also the usual: deTABified; corrected double to int cast)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:22:42 +00:00
Vadim Zeitlin
8a438f46b5 more fixes to double to int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:19:10 +00:00
Vadim Zeitlin
fae47b81e8 gcc signed/unsigned comparison fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:16:37 +00:00
Vadim Zeitlin
6c0aace267 hack to fix warnings about wxMAC_USE_CORE_GRAPHICS_BLEND_MODES not being defined -- but should it be used in this common file at all?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:16:17 +00:00
Vadim Zeitlin
f0985cf4ea removed unneeded ifdef from last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:03:08 +00:00
Julian Smart
76fa9e023c Compile fix for Universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:58:28 +00:00
Vadim Zeitlin
f536319dee compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:58:02 +00:00
Vadim Zeitlin
ebdb3bc7e0 compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:51:28 +00:00
Vadim Zeitlin
0e4f79360f Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:43:25 +00:00
Vadim Zeitlin
c16db850cd compilation fixes after adding wxMemoryDCBase::Init(): renamed wxDC::Init() in wxDFB to DFBInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:42:34 +00:00
Vadim Zeitlin
476a3029a8 commented out if(1) which resulted in annoying bcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:24:37 +00:00
Vadim Zeitlin
d34ad9ea89 a better compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:23:22 +00:00
Robert Roebling
14f4cead9d Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:12:39 +00:00
Vadim Zeitlin
d6dc5c6fdd compilation fix after operator==() removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:11:26 +00:00
Vadim Zeitlin
4de63828af compilation fix after IsRefTo -> IsSameAs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:06:21 +00:00
Vadim Zeitlin
a3ab1c1801 renamed IsRefTo() to IsSameAs() (do complain if this is not more clear) and
changed its signature to take a const reference instead of a pointer which
simplifies the code and makes it safer as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:03:53 +00:00
Vadim Zeitlin
e4ef49c7a7 don't need to check if we set the same cursor before setting it: SetCursor() already checks for this anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:53:52 +00:00
Vadim Zeitlin
88df9199da use wxUSE_COLLPANE around usage of wxCollapsiblePane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:48:53 +00:00
Vadim Zeitlin
4c1e8a6952 gcc signed/unsigned comparison warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:47:47 +00:00
Vadim Zeitlin
e651143ca8 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:45:42 +00:00
Vadim Zeitlin
514401354c handle PANGO_WEIGHT_SEMIBOLD font weight (avoids gcc warnings and generally makes sense)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:45:10 +00:00
Robert Roebling
913e3ee729 Blindly fixed (tried to) wxSlider on Mac after
SetSizeHints() change.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:33:03 +00:00
Robin Dunn
833cce0628 More compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:08:59 +00:00
Robin Dunn
2e57368359 Some compile fixes.
It sure would be nice if big complicated patches could be tested (or
at least compiled) on all the core platforms before being checked in,
especially in last-minute crunch times.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:56:25 +00:00
Vadim Zeitlin
5a70d3f578 remove just added wxCoordRound() (see patch 1586499)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:34:25 +00:00
Vadim Zeitlin
912c39325b Various wxCollapsiblePane enhancements (re-patch 1577412):
1. wxUSE_COLLPANE added
2. XRC handler added
3. flicker fixes for the generic version
4. sizing fixes for GTK+ version
5. RTL fixes for the generic version (via wxBoxSizer)
6. better appearance under Mac for the generic version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:08:17 +00:00
Benjamin Williams
a4c8fc2374 aui notebook sizing calculations streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:07:52 +00:00
Vadim Zeitlin
3fff396675 replaced wxCint() with wxRound() (which is exactly the same) in Rotate(); small code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:03:33 +00:00
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
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
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
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