Vadim Zeitlin
d408730ce4
ensure that wxToolBar has one of wxTB_TOP/LEFT/RIGHT/BOTTOM styles set, otherwise the latest toolbar positioning code breaks down
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:09:08 +00:00
Vadim Zeitlin
7aa920b5a5
blind compilation fixes for OS/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:02:36 +00:00
Benjamin Williams
08c068a4eb
aui notebook real-time dragging implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:59:36 +00:00
Benjamin Williams
2fadbbfd12
aui notebook pages can be moved around
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:16:39 +00:00
Robin Dunn
170acdc90e
GetBestFittingSize --> GetEffectiveMinSize
...
SetBestFittingSize --> SetInitialSize
SetBestSize --> SetInitialSize
SetInitialBestSize --> SetInitialSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Vadim Zeitlin
1e0e7f7d0e
define wxTC_MULTILINE explicitly as wxNB_MULTILINE is not necessarily defined where it is used (e.g. msw/tabctrl.cpp); change the value of wxTC_OWNERDRAW to avoid conflict with wxTC_MULTILINE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:47:16 +00:00
Benjamin Williams
26da5e4f5a
aui: allow m_frame to be null in wxFrameManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:02:56 +00:00
Vadim Zeitlin
dd21c82639
make wxBitmap *really* ref counted in X11; some cleanup of bitmap code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 01:24:10 +00:00
Vadim Zeitlin
5c9d9745fe
partly successful (i.e. previously it didn't work at all and spewed Pango warnings and now it just doesn't work) attempts to fix drawing text on wxMemoryDC in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 00:59:06 +00:00
Vadim Zeitlin
0797d64777
forcefully disable wxUSE_STD_STRING and wxUSE_STL for Digital Mars and Open Watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:09:39 +00:00
Vadim Zeitlin
ba518e2cb9
added wxUSE_COLLPANE (why is this file not generated, again?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:44:18 +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
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
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
Robin Dunn
34424e1e7f
another compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:27:35 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Julian Smart
a387938f80
Applied patch [ 1586964 ] Getting the PID of the process executed by wxProcess::Open()
...
by Lauri Nurmi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 09:03:18 +00:00
Stefan Neis
4a4bf7eefb
Compilation fix for old GCC versions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 08:07:51 +00:00
Julian Smart
82972e922e
Don't use wstring for MinGW versions that don't support it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 07:04:07 +00:00
Kevin Hock
286f4413dd
Non pre-comp compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 04:36:44 +00:00
Stefan Neis
9d8f813841
Renamed m_clientData member variable to avoid clash with variable with same
...
name in wxEvtHandler which wxSimpleHtmlListBox derives from.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:57:13 +00:00
Vadim Zeitlin
2e96098220
Borland needs dummy return in wxSEH_HANDLE as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:42:16 +00:00
Vadim Zeitlin
80475016d1
set wxUSE_STD_STRING to 1 by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:16:08 +00:00
Stefan Neis
be4da8f031
Fixed typo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:57:25 +00:00
Julian Smart
664f15dc8e
Digital Mars needs CCS_RIGHT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:46:32 +00:00