Commit Graph

20371 Commits

Author SHA1 Message Date
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
David Elliott
a381cfaa2d Don't pass notifications to wxMenuBarManager. It will be getting its own.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 20:04:24 +00:00
David Elliott
96c36a9310 Don't call wxMenuBarManager::CocoaInternalIdle(). It is about to be removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 20:02:32 +00:00
David Elliott
360be3c012 Add virtual wxMenuBar* GetAppMenuBar();
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 19:53:31 +00:00
Vadim Zeitlin
6d78bbe637 fixed vertical scrollbar handling (broken by some relatively recent but unknown precisely change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 19:41:46 +00:00
Vadim Zeitlin
07bf769ead update list ctrl size after recreating it (when the mode changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 19:28:24 +00:00
David Elliott
3e84f98ffa wxMenuBarManager::InstallMenuBarForWindow no longer looks for a menubar
attached to the parent of a window without one.  Instead, it is now up to
the GetAppMenuBar() function to do so.  The new implementation in
wxTopLevelWindow does just that.  The wxFrame implementation now calls
the base class version if it does not have a menubar.  Also, it is now
invalid to call the function with a NULL window (it is internal anyway).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 19:25:06 +00:00
Robin Dunn
77c5e9230e Tweaked the layout sample a bit for wxGridBagSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:53:45 +00:00
David Elliott
9fa453eca5 Include mondrian.xpm for _all_ platforms except wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:36:49 +00:00
David Elliott
6ceba1749e Wrap ToolBar stuff with #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:33:09 +00:00
David Elliott
ee2f6a9353 Wrap some toolbar code in #if wxUSE_TOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:22:27 +00:00
David Elliott
7424a6375b Changed Command to ProcessCommand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:14:39 +00:00
David Elliott
aa6f64c7d8 Replaced all occurences of id with winid for Objective-C++ compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 18:09:48 +00:00
Julian Smart
46c81560de Removed some old doc targets
Fixed doc typos
No longer convert OS/2 files to lower case


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 15:21:40 +00:00
Robin Dunn
20b35a6916 Added wxGridBagSizer, a grid sizer where item positions can be
specified and row/col spanning is allowed.

Updated docs, the layout sample, files.bkl, and updated makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-06 01:31:44 +00:00
Václav Slavík
5d1000e7f1 generate build.cfg file on Windows, with information about settings used to build the library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-05 23:33:24 +00:00
Václav Slavík
b231f9594e fixed wrong format names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-05 22:53:36 +00:00
Dimitri Schoolwerth
fb4d5ecdc5 Fixed bug introduced by previous commit (Swapped if/else order).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-05 16:10:32 +00:00
Dimitri Schoolwerth
66026c5c18 Ignore Borland build directory; Ignore 3 .lib files generated by DigitalMars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-05 15:46:58 +00:00
David Elliott
372208c2e6 Use a lowercase 'q' for the Quit menu item's keyEquivalent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-04 20:00:37 +00:00
David Elliott
6e09ff550a Removed call to InitBase() from wxWindowCocoa::Init()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-04 19:45:59 +00:00
Dimitri Schoolwerth
52410d542e Removed usage of deprecated methods (patch #827023); Slight code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-04 13:16:32 +00:00
Dimitri Schoolwerth
3ac41bc10c Ignore expat*.lib files and vc_lib directory which are created during build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-04 12:21:26 +00:00
Dimitri Schoolwerth
e41e579f40 wxWindowsPrinter::Print ignored the "All pages" option, instead it was using the (invalid) from-to range (patch #835254); Slight code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-04 09:22:28 +00:00