Paul Cornett
5ff14574fc
some app.h cleanup: minimize includes, use static cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 17:29:19 +00:00
Robert Roebling
32205ebbce
Added native GTK+ sash drawing to wxAUI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-02 11:50:48 +00:00
Robert Roebling
12125a1eff
Corrected off-by-1 error in dock test.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 20:07:14 +00:00
Robert Roebling
26d18378e5
The docking logic in the top and right docking areas
...
was reversed. There is still an off-by-1 error that
makes the toolbar jump in the bottom dock, not in
the top dock.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 19:58:56 +00:00
Robert Roebling
97d483e41a
Correct calculation of sticky toolbar.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:45:12 +00:00
Robert Roebling
c3008402f7
Made toolbars sticky, i.e. you need to drag them
...
several (and not just one) pixels away from the
docking area to make them undock/float. This
removes some more toolbar jumping.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:19:39 +00:00
Robert Roebling
d1f5ad175c
Removed one of the jumping toolbar artefacts.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 10:10:16 +00:00
Włodzimierz Skiba
b4ea182b39
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:33:43 +00:00
Robert Roebling
f8a1394935
Comment out direction aware code for now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 18:22:03 +00:00
Robert Roebling
322c5ec4c0
Added direction sensitive docking.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 11:17:13 +00:00
Robert Roebling
0ae3bace9b
Skip double size events.
...
Skip movements of floating pane when moving fast.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:47:50 +00:00
Robert Roebling
e65fbef69d
Set size of hint window before showing it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:37:15 +00:00
Robert Roebling
8d361e8353
Commited Bryan Petty's blind fix patch.
...
Added event.Skip() to size event handler
in frame manager and removed the wrong
work around for this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 12:30:07 +00:00
Chris Elliott
9259ed345d
Borland compiler does not like a variable called except
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 18:00:30 +00:00
Stefan Csomor
e8c502aff3
making sure the hint window does not have a (white) titlebar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 06:26:40 +00:00
Benjamin Williams
26178b5d2a
wrapped up Show() calls to prevent gtk bug from manifesting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 06:54:49 +00:00
Benjamin Williams
f88d171659
workaround for bug #1531361
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 19:57:35 +00:00
Alex Bligh
1320116514
wxAUI: fixed pane saving design thinko
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 13:16:41 +00:00
Alex Bligh
75c8d68f1d
wxAUI: Support serialization of individual PaneInfo structures
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:46 +00:00
Alex Bligh
f89f6b74f2
wxAUI: remove spurious semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:45:18 +00:00
Włodzimierz Skiba
c08ee0349d
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 07:46:05 +00:00
Alex Bligh
815eadf3d0
wxAUI: wrap calls to SetTransparent/CanSetTransparent so file can easily be used with 2.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 14:03:37 +00:00
Alex Bligh
5826659c99
wxAUI: Don't fade venetian blind effect by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 11:39:13 +00:00
Alex Bligh
7a5b04a65e
Add support for transparent hint windows under GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 17:30:28 +00:00
Alex Bligh
f2c78bada4
wxAUI: Do not leak a wxFrame if transparency is not supported
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 16:41:14 +00:00
Alex Bligh
8b001346df
Fix redraw problems with hint rectangle when there is no transparency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 13:58:53 +00:00
Włodzimierz Skiba
db84713101
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 15:52:28 +00:00
Robin Dunn
07880314d4
Translucency --> Transparent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:30:08 +00:00
Benjamin Williams
16541a4ef4
frame should call skip on child focus event to give owner a chance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 19:23:54 +00:00
Benjamin Williams
2f68106fa0
prevent some obscure wxAUI crashes after DetachPane() is used (crashes only happen in rare cases)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 12:32:51 +00:00
Benjamin Williams
0603bb285c
added another AddPane() call which allows the caller to add a new window at a certain point; Hint functions are now public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 10:59:16 +00:00
Robin Dunn
50f3c41d61
Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
...
implementations (so far) for wxMSW and wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 03:28:23 +00:00
Benjamin Williams
483c90c20c
hint window pane should always be shown so that hints will be drawn for even currently hidden panes being dragged around
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 13:56:22 +00:00
Alex Bligh
0d02dd54a0
Virtualize ProcessDockResult so people can override it to prevent docking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:03:54 +00:00
Benjamin Williams
461125ea4d
renamed wxFrameManager::GetFrame() and SetFrame() to GetManagedWindow() and SetManagedWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 07:18:19 +00:00
Benjamin Williams
673727f39c
wxFrameManager::Render() now fires a new event, called wxEVT_AUI_RENDER, which allows all main window drawing operations to be overridden to provide custom drawing behavior
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:24:25 +00:00
Benjamin Williams
a189504e7f
wxAUI's wxFrameManager::SetFrame() now takes a wxWindow ptr instead of a wxFrame ptr, in preparation for future work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 13:50:49 +00:00
Benjamin Williams
dec588bd6e
reverted an earlier patch that was causing problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 18:50:18 +00:00
Robin Dunn
af672b5ae8
Add wxRTTI info for the event class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 02:19:03 +00:00
Robin Dunn
0b2bbd174f
Need to skipp the first half of ShowHint if the platform doesn't
...
have transparency support yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 05:58:48 +00:00
Włodzimierz Skiba
a1b3b60832
Tinderbox warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 10:47:29 +00:00
Robin Dunn
2713fedc46
Oops, I misremembered the name of wxUnusedVar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:01:29 +00:00
Robin Dunn
81cc4eb227
Enable transparent hints and dragging on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:48:19 +00:00
Alex Bligh
5c62cb6c7d
wxAUI: maintain minimum size of panes across dock/undock.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 23:09:33 +00:00
Benjamin Williams
e092fb2e67
fixed wrong comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:39:04 +00:00
Benjamin Williams
5875464394
added EVT_AUI_PANECLOSE and updated sample accordingly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:38:02 +00:00
Alex Bligh
cf08f19a72
wxAUI: Send a cancel event to the window within a frame which is closed, so it knows it is being destroyed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:52:22 +00:00
Vadim Zeitlin
8f9643924b
release build unused variable warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 16:43:25 +00:00
Alex Bligh
e5ab82d310
wxAUI: Made fixed size floating panes work
...
wxAUI: Added IMPLEMENT_CLASS etc. for wxFloatingPane for a later patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 15:26:33 +00:00
Włodzimierz Skiba
99ae6124dd
WinCE build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 10:33:06 +00:00