Stefan Csomor
b91dd98ff1
make sure we add the correct wx-border pixels to native controls when calculating best size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 14:14:11 +00:00
Julian Smart
2325bae316
Removed non-ANSI characters, even if the result is gibberish German
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 08:15:38 +00:00
Stefan Csomor
f7a5176212
guard against an m_peer being NULL which is the case for a wxMenuBar, and here tools with introspection from python crash on OS X because they display all attributes in inheritance ...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 16:45:55 +00:00
Julian Smart
9723d04855
Cut down on unnecessary update events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:11:48 +00:00
Julian Smart
cb6a7b264e
Set the object for the context menu event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 15:28:39 +00:00
Stefan Csomor
51156271b7
focus fixes for 10.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-21 10:51:20 +00:00
Stefan Csomor
aee427f150
attempt to fix part of the focus problem under 10.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:36:29 +00:00
Stefan Csomor
aba999a319
if we don't have a valid background color, paint a white grow box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 14:21:15 +00:00
Stefan Csomor
6c2324fa9c
factoring common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 10:28:11 +00:00
Kevin Ollivier
a45091ed51
Fix GetLabel and GetLabelText to be consistent with other platforms.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 01:59:45 +00:00
Stefan Csomor
53b6774787
correct scrollbars with empty grow-box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:14:52 +00:00
Julian Smart
3a5b0aa5e0
wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
...
as opposed to wxBORDER_NONE which may or may not show a border, depending on control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 14:15:27 +00:00
Julian Smart
5587fc5751
Compile fix for non-CG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:07:32 +00:00
Julian Smart
97e7beedd4
Test to avoid crashes in some circumstances
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 16:48:32 +00:00
Stefan Csomor
6287620649
making sure we never have a grow box overlapping a scrollbar [1758336]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:11:41 +00:00
Stefan Csomor
188b7013e8
implementing wxALWAYS_SHOW_SB from 1744665
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 17:08:28 +00:00
Julian Smart
8cb244cc1c
Finally fixed control scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 15:08:13 +00:00
Stefan Csomor
af81408a3e
fixes for popupwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 22:55:58 +00:00
Stefan Csomor
ba281f497a
fixing 1736334
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 16:36:28 +00:00
Stefan Csomor
d86e89f3f9
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:20:40 +00:00
Stefan Csomor
67a5196678
switching to pasteboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 06:24:50 +00:00
Stefan Csomor
77bd276696
switching to pasteboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 06:05:46 +00:00
Stefan Csomor
c9c94a99ff
trying optimal scrolling solution perf-wise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 14:01:12 +00:00
Vadim Zeitlin
a46324a7fb
don't access the window after it had been deleted by the focus event handler (patch 1693063) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 11:41:15 +00:00
Vadim Zeitlin
5d7e2c51f4
don't send incorrect char events when entering Unicode characters (patch 1640443) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:07:09 +00:00
Vadim Zeitlin
0b8055d224
added more wxUSE_TREE/LISTCTRL tests to fix compilation when they're set to 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 15:04:19 +00:00
Chris Elliott
c1cef60b50
fix part of proposal at http://news.gmane.org/find-root.php?message_id=%3c45A2343E.40203%40gmx.de%3e
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 13:40:59 +00:00
Kevin Ollivier
ed9a7a63b8
Generic list and tree ctrl should not use the focused selection color when the top level window is not active.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 01:15:20 +00:00
Stefan Csomor
e9a4bf7ddc
fix to always have a proper activation for DataBrowser controls (stay in bkgnd otherwise) bug 1621547
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-28 16:08:38 +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
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
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
Stefan Csomor
1e81241f3a
moving the offsets into dcclient.cpp so that native event handlers can be called through
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 17:22:00 +00:00
Stefan Csomor
b28a9af9d5
offseting the graphics context correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 16:41:18 +00:00
Robin Dunn
fd39f7a893
Add impl for IsFrozen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:50:03 +00:00
Stefan Csomor
4f74e0d132
cleanup for 10.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:55:55 +00:00
Paul Cornett
d0dec99212
fix width/height typo in DoSetClientSize, remove unused stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:12:00 +00:00
Stefan Csomor
26af4dbd0a
switching colors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 17:42:35 +00:00
Vadim Zeitlin
8444b6cb6b
removed unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 01:20:37 +00:00
Stefan Csomor
a9b456ff08
removing non-compositing code, adding individual transparency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:39:23 +00:00
Vadim Zeitlin
32cd189dfc
use GetLabelText() instead of wxStripMenuCodes() to avoid stripping the part of the string after TAB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:47:39 +00:00
Vadim Zeitlin
6c20e8f816
move default button handling code from wxControlContainer to wxTLW (patch 1524441)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:31:13 +00:00
Włodzimierz Skiba
25466131ac
Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Włodzimierz Skiba
3304646d06
Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 09:51:39 +00:00
Włodzimierz Skiba
ed2fbeb835
Include wx/sizer.h and wx/layout.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 06:57:39 +00:00
Włodzimierz Skiba
4e3e485bc8
Include wx/toolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:46:13 +00:00
Włodzimierz Skiba
fec9cc08e7
Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 07:23:19 +00:00
Włodzimierz Skiba
876cd6f7e3
Include wx/statbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:27:51 +00:00
Stefan Csomor
42cc0b316e
changing scrollbars (hiding/showing) triggers a size event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 05:38:46 +00:00
Włodzimierz Skiba
851dee09b5
Include wx/scrolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 13:43:18 +00:00