Commit Graph

20197 Commits

Author SHA1 Message Date
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
Stefan Neis
53e8757b65 Added some bad hacks to make region processing work at least a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-03 01:20:15 +00:00
Mattia Barbon
7e91413a02 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:40:21 +00:00
Mattia Barbon
044bbeb0b7 Fix (correct) warning about potentially uninitialized variables.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:39:01 +00:00
Mattia Barbon
094112e92e Compilation fix for wxUSE_STL==1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:37:49 +00:00
Mattia Barbon
d366db969f Updated changes.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:36:13 +00:00
Mattia Barbon
dabf1d079b Updated not to use deprecated wxList methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:34:11 +00:00
Mattia Barbon
7057f62a37 Updated wxHashTable::Next documentation to use wxHashTable::Node*
for the return type (which currently is just a typedef for wxNode*).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:32:24 +00:00
Václav Slavík
49462b9b65 standardize configure flags in RPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-01 18:58:51 +00:00
Vadim Zeitlin
96fcf4d86c update from Tsolakos Stavros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-01 18:30:37 +00:00
Vadim Zeitlin
4cc6a9db04 compilation fix for VC++ statis MT build with wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-01 12:17:29 +00:00
Vadim Zeitlin
9c72ebec90 don't show hidden child frames when the parent is restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-01 09:28:44 +00:00
Václav Slavík
0dd6c07178 add upper-case extensions to fallbac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 19:51:03 +00:00
Václav Slavík
89d38f8c3a added resolution option to JPEG handler (patch #833234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 15:58:58 +00:00
Vadim Zeitlin
150018aebb warning about VC++ /ZI option and wxCOMPILE_TIME_ASSERT added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 15:17:59 +00:00
Václav Slavík
1a97976a45 don't use deprecated symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 15:16:25 +00:00
Vadim Zeitlin
dfcb9d7caf updated SendIdleEvent() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 14:27:56 +00:00
Vadim Zeitlin
1074721428 removed InitBase()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 14:11:41 +00:00
Vadim Zeitlin
06f6df7d46 removed InitBase()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 13:26:59 +00:00
Robin Dunn
39c0acb666 Patch #826420, and also adapted to new SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-31 01:12:25 +00:00
Vadim Zeitlin
727953356d removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 23:08:39 +00:00
Václav Slavík
8ccff7d211 #if around deprecated macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 22:26:29 +00:00
Vadim Zeitlin
5031200a24 added missing _T()s in wxLogTraces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 22:15:57 +00:00
Vadim Zeitlin
b45d3a5dd3 update from Vegh Janos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-29 22:59:37 +00:00
Vadim Zeitlin
cc322b2cd5 changed case of the cursor names to be consistent with wx.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-29 22:44:44 +00:00