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
Michael Wetherell
5f77e766a3
Make m_typeflag an int.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:31:26 +00:00
Julian Smart
8871035d85
Digital Mars doesn't like the identifiers being declared later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:01:06 +00:00
Vadim Zeitlin
9eb11d19b1
escape special SQL chars in where clauses (patch 1204728)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:49:37 +00:00
Chris Elliott
f9e5b1c786
fix borland header difference
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:44:32 +00:00
Vadim Zeitlin
894057d1dd
don't override GetMinWidth/Height() which are non-virtual any more, override GetMinSize() instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:39:31 +00:00
Vadim Zeitlin
b43503410c
return the results of GetMin/MaxSize() from GetMin/MaxWidth/Height(); fix warnings about unused parameters in DoSetSizeHints()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:38:23 +00:00
Paul Cornett
29b7b6caad
fix for Borland 5.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:36:43 +00:00
Václav Slavík
a1c3cdc4a2
add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:26:03 +00:00
Vadim Zeitlin
d8af1bf97d
CW8.3+ has ssize_t (patch 1492413)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:17:29 +00:00
Robert Roebling
9a1498b6ea
Let wxMiniFrame have the same default flags under wxGTK
...
as under wxMSW, notably no close box by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:15:26 +00:00
Michael Wetherell
916af76f40
Make wxBackingFile internal, and remove wxZipFSHander, add a typedef to
...
wxArchiveFSHandler for compatibilty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:06:45 +00:00
Stefan Csomor
b2d123f142
subrect blit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:43:25 +00:00
Stefan Neis
7b44d740f5
Add method declaration needed for wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:19:58 +00:00
Robert Roebling
9379c0d752
Make wxWindow::SetSizeHints() do nothing.
...
Make wxTLW::SetSizeHints() set the various m_minWidth etc. fields.
Override SetSizeHints() in wxGTK to call the relevant gtk funcion
only there and not in every resize.
Make GetMinWidth() etc. non-virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:17:00 +00:00
Vadim Zeitlin
7a9763046b
added wxTB_RIGHT style for right-aligned toolbars (slightly modified patch 1567469)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:12:52 +00:00
Vadim Zeitlin
3af706cc31
added TGA handler (somewhat modified patch 1393912)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:58:25 +00:00
Robert Roebling
dd761d262a
Forgot one wxCoordRound
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:09:42 +00:00
Robert Roebling
d4628b41c9
wxRound
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:08:50 +00:00
Robert Roebling
5f3c1f2e29
wxCoordRound() -> wxRound()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 18:07:27 +00:00
Stefan Neis
21d3d3424b
Corrected includes for wxGTK under OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:59:19 +00:00
Robert Roebling
0e1ea39668
wxCoordRound -> wxRound.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:55:09 +00:00
Robert Roebling
2ac9bfa9b0
Use wxRound instead of wxCoordRound
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:50:39 +00:00
Julian Smart
781609f290
Applied patch [ 1583316 ] set media source for printing
...
by d2walter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:29:40 +00:00
Julian Smart
6445acc783
Applied patch 1586499: wxCoordRound function
...
Centralises rounding and adds nearest-value rounding to
prntbase.cpp.
by Robert J. Lang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:01:34 +00:00