Commit Graph

20244 Commits

Author SHA1 Message Date
David Elliott
9de2e75ad0 wxCocoa: Use the new native MDI implementation instead of generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 16:05:24 +00:00
David Elliott
f99422e9e9 Added implementation of MDI using top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 16:03:08 +00:00
David Elliott
3905012063 Added a mechanism allowing a toplevel window to delay its deactivation
event.  This will come in handy for MDI among other things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 15:13:55 +00:00
David Elliott
9f13cca8f6 Very lame fix for windows with -1 for a component of position or size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 14:33:30 +00:00
David Elliott
46cdffaf79 Fix file header and remove unused include "wx/cocoa/mbarman.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 14:28:53 +00:00
David Elliott
243f5c2d91 Renamed UpdateWindowMenuBar to UpdateMenuBar and removed unused parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-13 14:23:07 +00:00
Robin Dunn
d14a1e2856 Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-12 21:34:20 +00:00
Václav Slavík
eb6a4098a0 Always set background colour prior to any HTML rendering (this fixes assert in GTK2 build because BgColor of wxHtmlRenderingState was unset=invalid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-11 13:19:57 +00:00
Václav Slavík
e77fbecf59 part of DS' change _was_ corrent, restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-11 12:35:24 +00:00
Dimitri Schoolwerth
335d757931 Really fixed Borland release build warning (without sabotaging code this time).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 17:32:04 +00:00
Václav Slavík
b5d464b982 previous DS' change was broken, reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:49:46 +00:00
Václav Slavík
50b24bf9dd added test for CDATA handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:49:08 +00:00
Dimitri Schoolwerth
8703bc01c2 Added wxUnusedVar for Borland and fixed 2 release mode warnings for Borland (patch #835707); Slight code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 15:17:46 +00:00
Václav Slavík
cd32c91a3e bakefile cleanup: use consistent way of setting lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 13:46:12 +00:00
Václav Slavík
576702191b fixed msvc6prj - missing oleacc library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 12:47:46 +00:00
Václav Slavík
5532b1459c added bakefile's new tag <objects-depend>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 12:46:41 +00:00
Julian Smart
ff31aff926 Removed MGL_ROOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-10 10:08:49 +00:00
Mattia Barbon
4cbb46c912 Fix after last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 21:43:34 +00:00
Mattia Barbon
8552e6f031 Warning fixes and deprecated method elimination from ABX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 21:40:34 +00:00
Václav Slavík
6937991694 addedd support for <pre width=...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 13:59:50 +00:00
Václav Slavík
4d312c222e fixed wxConvLocal to work with C locale (and probably some others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 12:27:42 +00:00
Václav Slavík
a58d4f4d49 prevent deadlock in wxCSConv::DoCreate if it fails for wxConvLocal -- ugly but works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-09 12:09:13 +00:00
Dimitri Schoolwerth
0e2710a6b9 Fixed MSVC warnings from Win32 Unicode Release build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 19:40:29 +00:00
Stefan Neis
20c8441047 Allow minimal acceptable row height/column width to be set to 0 for
hiding rows/columns.
Only return true from CanEnableCellControl if a valid cell is selected
        (fixing Bug #837656).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:58:04 +00:00
Stefan Neis
737928c244 Avoid referencing WinInitialize/Finalize for non-PM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:52:53 +00:00
Mattia Barbon
461932ae60 wxXRC STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:48:47 +00:00
Mattia Barbon
671d21303f Compilation fix for !WXWN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:45:01 +00:00
Vadim Zeitlin
93a543aa72 add -lXpm to the GUI libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 15:40:56 +00:00
Vadim Zeitlin
72858fcf67 added comments to the makefile; added WX_CONFIG var to be able to use a different wx-config easily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 15:16:38 +00:00
Vadim Zeitlin
89fe663f93 1. fixed --with-libxpm switch handling, added it to the summary
2. show toolkit name in lower case in the summary
3. changed defaults for all external libraries to "sys", didn't we
   agree to do this some long, long time ago?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 15:06:15 +00:00
Vadim Zeitlin
aa961a511e restored double square brackets for now, my last fix was wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 14:10:03 +00:00
Vadim Zeitlin
01b18927f5 fix for previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 13:09:10 +00:00
Vadim Zeitlin
c8818622b7 use [A-Z] instead of [[A-Z]] in tr (replaces patch 838397)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 12:43:22 +00:00
Vadim Zeitlin
cd318cd31b removed assert which became incorrect after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 12:28:48 +00:00
Václav Slavík
e884cfe27d build_cfg_file is phony target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 10:31:36 +00:00
Robin Dunn
3ff632ce66 Fixed an accidental name clash, and added back a wxCHECK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 20:52:35 +00:00
Robin Dunn
6c1ad2a8e6 A little narrower initial layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 19:33:25 +00:00
Robin Dunn
6217b9aa7e Set m_rows, m_cols so GetRows/GetCols in the base class work. Added
GetCellSize method.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 17:45:10 +00:00
Vadim Zeitlin
2825b3f502 fix for infinite loop in wxFileConfig when reading from input stream fails (patch 837134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 11:42:23 +00:00
Vadim Zeitlin
36ebb50aa3 fixed bug with looking beyond the end of string in ConvertStringToArgs() (patch 828609)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 11:34:39 +00:00
Stefan Csomor
ffcd519515 after rearrangement to-Page got lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 10:23:13 +00:00
Robin Dunn
ea0d8ca6e8 Forgot to change the pos and span names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 08:30:58 +00:00
Robin Dunn
0d077b41ee Refactored wxSizerXmlHandler and added support for wxGridBagSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 08:27:41 +00:00
Robin Dunn
d2eaa86b9e Fixed warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 08:07:42 +00:00
Robin Dunn
1b52f7aba0 Added default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 07:05:39 +00:00
Robin Dunn
1621c234d1 Calling sizerItem->SetWindow shoudl set the minsize too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-07 07:04:55 +00:00
Václav Slavík
b22179c0b9 moved build.cfg to setup.h directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 23:52:01 +00:00
Václav Slavík
16840c7f55 moved build.cfg to setup.h directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 23:44:26 +00:00
David Elliott
8ded703ddc Add wxCocoaNSWindow* parameter to GetAppMenuBar so implementations can
return an alternate menubar based on the window which needs it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 20:37:16 +00:00
David Elliott
f1d04a42d5 * Removed CocoaInternalIdle()
* Removed methods that were called by wxTopLevelWindow notification handlers
* Removed now useless m_needMenuBar
* Added an Objective-C notification observer class
* Added methods to receive the notifications
* InstallMenuBarForWindow now takes a wxCocoaNSWindow
* Do not keep track of key/main window
* Keep track of window for which menu bar was installed (m_windowCurrent)
* SetMenuBar() will now install the main menu immediately


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 20:12:11 +00:00