Commit Graph

122 Commits

Author SHA1 Message Date
Robert Roebling
1afad0ac74 Reapply wxWeakRef patch again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:17:56 +00:00
Vadim Zeitlin
81bed90ee4 only define wxAuiFloatingFrameBaseClass as wxMiniFrame if wxUSE_MINIFRAME==1 (and do it under all platforms, why not?) (replaces part of patch 1892654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:29:54 +00:00
Vadim Zeitlin
8949ba7d74 reverted r51340: don't use wxWeakRef in the library code as long as not all supported compilers (notably all versions of Borland C++) can compile it; reapply r51340 once wxWeakRef is supported everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:47:50 +00:00
Vadim Zeitlin
c058cafa56 don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 13:21:39 +00:00
Bryan Petty
704e631016 Reverted wxAuiFloatingFrame dtor crash fix (r51324) in favor of wxWeakRef implementation, thanks Robert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 07:53:03 +00:00
Bryan Petty
601398b9b1 Fixed a rare wxAuiFloatingFrame dtor crash on MSW using a registration mechanism in wxAuiManager.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:20:18 +00:00
Paul Cornett
b2e10daccc make DoSetSizeHints protected, remove parameter defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 06:12:56 +00:00
Julian Smart
dc797d8e1b More border rationalisation. GetDefaultBorder is now mostly defined in base class files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 12:10:34 +00:00
Robin Dunn
5f22a3a953 Move the %disownarg directive to the .i file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:06:46 +00:00
Benjamin Williams
c89e16e423 added DockFixed() pane option; doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:27:03 +00:00
Robin Dunn
4309ed1748 fix events and eventTypes for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:02:25 +00:00
Julian Smart
858a3a7a45 Applied [ 1708971 ] Make a virtual function to enable/disable docking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:04:48 +00:00
Julian Smart
134198f1b7 Applied patch [ 1747059 ] wxAUIDefaultTabArt wxAUI_NB_BOTTOM
Langhammer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:51:47 +00:00
Julian Smart
5bf3f27fc9 Avoid clash with control container event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:34:45 +00:00
Julian Smart
c7bfb76a2c A number of focus handling improvements:
Left clicking on a window only focuses the window if not processed.
wxControlContainer::SetFocus moved to wxControlContainerBase so that a container now focuses the first child even on wxGTK.
wxAuiBook is now a container, need for correct navigation on wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:54:31 +00:00
Julian Smart
a0c2e4a050 Added AdvanceSelection, ShowWindowMenu and keyboard handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:12:45 +00:00
Václav Slavík
b5dbe15d0b added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Paul Cornett
cedd7b22f4 indentation cleanup, unused variables, constant expressions, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:36 +00:00
Julian Smart
98d9f577ea Replaced tabs with spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 07:49:23 +00:00
Benjamin Williams
d16619f8d0 in wxAuiNotebook, prevent unwanted page selection changes during tab drags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 15:39:22 +00:00
Benjamin Williams
69f5e42053 added middle-click close to wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 17:38:29 +00:00
Julian Smart
fc17828ab2 Added font setting and ability to determine AUI notebook height for a given page height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Václav Slavík
47b378bd88 removed extra semicolons (patch #1700459; fixes compilation with gcc's -pedantic flag)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Vadim Zeitlin
849c353a39 added SetSelectionToPage/Window() to simplify code and fix more problems with passing possibly negative indices to SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:48:43 +00:00
Vadim Zeitlin
a56a1234a5 removed wxABI_TESTS, they're irrelvant in 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:40:59 +00:00
Robin Dunn
0eaf8cd16c Add GetAuiManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 08:53:33 +00:00
Paul Cornett
ffdbfc4a76 remove inline from declaration of functions which are not inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 19:49:10 +00:00
Benjamin Williams
d606b6e977 added wxAuiNotebook::Split(); hooked up wxAuiMDIParentFrame::Tile() to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 15:25:59 +00:00
Julian Smart
c3e016e45e Added wxAuiNotebook::GetPageText, GetPageBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 14:55:05 +00:00
Benjamin Williams
793d436530 wxAuiNotebook minor tab art interface cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 17:05:43 +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
72d5e8d917 better comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:18:35 +00:00
Robin Dunn
9f41bf0eb0 reentrance methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:16:33 +00:00
Benjamin Williams
cf37c9a90d allow programmatic access to start pane dragging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 18:10:18 +00:00
Benjamin Williams
4dc79cfb52 added wxAuiManager::GetManager() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:07:01 +00:00
Benjamin Williams
254a342953 renamed wxAUI_ART to wxAUI_DOCKART
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 11:28:17 +00:00
Benjamin Williams
0a5bb138a7 added missing button state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 20:45:17 +00:00
Benjamin Williams
ca0d44071c tab ctrl height api fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 07:03:51 +00:00
Benjamin Williams
9fbb7d80f8 tab sizing and split sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 20:32:40 +00:00
Benjamin Williams
ce15b45fef factored out CalculateHintRect() from DrawHintRect(); hint fix in auibook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:17:11 +00:00
Benjamin Williams
e7e324bed8 ability to create tab mdi children without activating page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 08:11:01 +00:00
Benjamin Williams
003cf4efd2 minor tab theme touch-ups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:14:31 +00:00
Benjamin Williams
c5e2ca7c52 wxAuiMDI* now more accurately respects normal mdi event sequence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 22:06:40 +00:00
Robin Dunn
1cb311851d Correct names of some event binders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 17:58:27 +00:00
Benjamin Williams
1750e8e256 mild gradients for the glossy theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 06:49:53 +00:00
Benjamin Williams
7564225f8b missing header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:16:40 +00:00
Benjamin Williams
e0dc13d470 wxAuiMDI* patches through images to wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 19:07:52 +00:00