Commit Graph

37449 Commits

Author SHA1 Message Date
Robin Dunn
8c6686ef7b Add DLL export macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:09:47 +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
c319bc4734 include wx/bitmap.h as we use wxBitmap here now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:51:19 +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
b4bdf722ab added collpane sampel files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:25:43 +00:00
Vadim Zeitlin
7fdc89cb2b no changes, just removed commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:23:41 +00:00
Vadim Zeitlin
09e6c9287a rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:17:18 +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
Mattia Barbon
90d7286923 Nearly finished Italian translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:49:03 +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
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