Commit Graph

145 Commits

Author SHA1 Message Date
Bryan Petty
81be630d24 Backport of r66796 (Properly account for floated panes while restoring maximized pane.) - closes #11385
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-28 02:35:21 +00:00
Bryan Petty
82ac3bfbfb Backport of r62669 to 2.8 branch. Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-16 21:57:20 +00:00
Benjamin Williams
9d68bed54b undock/float toolbar if it's dragged right or south of client area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 09:11:19 +00:00
Benjamin Williams
021480f610 missing header fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:26:14 +00:00
Benjamin Williams
cf872b96c7 don't allow docks to be resized such that panes overlap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 16:07:02 +00:00
Benjamin Williams
b6dfd1ee34 don't draw resize sash if it's dragged outside of managed frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 13:18:30 +00:00
Benjamin Williams
0217731f91 pane sizes within a dock are not allowed to exceed the dock's entire current pixel size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 12:47:18 +00:00
Bryan Petty
ff51d5a8cd Blind fix for crash when undocking AUI toolbars (#10371 and #10516).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-23 18:28:05 +00:00
Benjamin Williams
59ad790cd7 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 22:47:27 +00:00
Benjamin Williams
125eedc1f0 maximize pane should ignore floating windows (#4066)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 22:42:10 +00:00
Bryan Petty
60ce2c0f83 Initialize m_action_window to NULL in wxAuiManager ctor (fixes #10383).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 18:56:41 +00:00
Julian Smart
04355fb016 Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxMac/CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 14:51:49 +00:00
Julian Smart
e8792bc2cf Don't use client DC yet for size feedback on Mac/CG or you'll get a smear. Better to have no feedback.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 09:24:50 +00:00
Julian Smart
26c1972f27 Workaround for _SetDstBlits32BGRA crash when compiling and running
on Leopard (happens in complex app but not in AUI sample)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 17:36:29 +00:00
Vadim Zeitlin
e50f48d518 use wx_static_cast() instead of static_cast<> on an off chance that some compiler still doesn't have the latter; fix svn properties for the new file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 16:19:16 +00:00
Benjamin Williams
5875590747 added wxAuiToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 06:31:01 +00:00
Benjamin Williams
c57f3188ff fix segfault when Update() is called inbetween mouse-up and mouse-down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 09:46:32 +00:00
Benjamin Williams
49d9fc10e4 added a number of NULL ptr asserts (#4145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 21:04:03 +00:00
Benjamin Williams
c8dfe1e82b fix for ticket #4505, Floatable(false) wasn't working in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:35:08 +00:00
Benjamin Williams
dbdb570aef prevent memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 16:51:43 +00:00
Benjamin Williams
326ed6e95e maximize bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 13:55:30 +00:00
Julian Smart
91ee4921fc Fix from wxAUI forum (http://www.kirix.com/forums/viewtopic.php?f=16&t=564) for display problem on Vista
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 12:06:11 +00:00
Robert Roebling
d1bd2fd468 Use custom GTK+ code for hint window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 10:18:02 +00:00
Benjamin Williams
5507f0848f don't renumber dock rows to remove gaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 17:02:16 +00:00
Benjamin Williams
fbe979db94 aui dock renumbering fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 14:02:44 +00:00
Benjamin Williams
1bf86c4b18 check if pane still exists before closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 16:33:05 +00:00
Benjamin Williams
8bc47fe436 added DockFixed() pane option; doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:23:48 +00:00
Benjamin Williams
1149bfedc9 in LoadPerspective, if pane wasn't found, just skip it instead of bailing out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 07:22:11 +00:00
Julian Smart
f89920b9b5 Fixed dangling pointer bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 09:02:42 +00:00
Benjamin Williams
85aabfa200 better child focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 16:02:22 +00:00
Julian Smart
07c22012ff Removed restriction that multiple centre panes can't be resized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 09:28:36 +00:00
Julian Smart
c8bfd8314d Applied patch [ 1736135 ] AUI: Clicking caption ignored on centered panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:15:20 +00:00
Julian Smart
19ea446249 Applied patch [ 1678412 ] handling non-existent panes and uninitialized sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 09:18:32 +00:00
Julian Smart
97008f4b93 Fixed [ 1645203 ] Problem with resizing floating panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 08:35:08 +00:00
Julian Smart
bc4dba6b4c Gave toolbars some extra height, Without which DoGetBestSize can report a size that's
smaller than the actual window, causing windows to overlap slightly
in some circumstances, leading to missing borders. Removed a hack in AUI to
adjust for wrongly reported size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:09:03 +00:00
Benjamin Williams
b3d886a215 fix for bug #1686328
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 16:38:03 +00:00
Benjamin Williams
4c2a8b753d applied patch 1737156 to wxAuiManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:53:13 +00:00
Benjamin Williams
21a35b7088 in wxAUI, set the hint transparency before showing the hint window, as this prevents a flicker of the solid hint window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:34:25 +00:00
Robert Roebling
58080ea3e8 [ 1712381 ] CRASH: closing floating panel on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 07:55:39 +00:00
Robin Dunn
bc8f0f9d07 Disable the for loop in ~wxAuiManager to avoid possibly accessing
memory via bad pointers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 17:23:34 +00:00
Vadim Zeitlin
89add395bb fix warning about signed/unsigned comparison; use STL-compatible methods; deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:19:50 +00:00
Robert Roebling
503af0875f Backport from HEAD: Fix memory leak in wxAUI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:55:36 +00:00
Benjamin Williams
a633c45776 fixed bug when a fixed pane is resized inside a fixed dock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:54:25 +00:00
Vadim Zeitlin
f928b1ab18 fix hint rect position for RTL (patch 1618719 from Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:16:28 +00:00
Benjamin Williams
1dc6ec2c65 prep flags, code indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 18:24:15 +00:00
Benjamin Williams
8d0634abcf removed some members from wxAuiPaneInfo which should not be on the class interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 20:22:27 +00:00
Vadim Zeitlin
a6b7a521a4 fixed typos in last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:30:43 +00:00
Robin Dunn
bc07ab17bf reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:44:52 +00:00
Robin Dunn
79bcf6f487 helpers and typemaps for new GraphicsContext methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:42:49 +00:00
Benjamin Williams
dc4334d7b0 readded window ptr check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 09:02:13 +00:00