Commit Graph

25414 Commits

Author SHA1 Message Date
David Elliott
950432e407 Allow the wxMenu to be owned by the NSMenu so that it can be returned
from methods which Cocoa calls when a menu is to be popped up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 03:06:50 +00:00
David Elliott
3312496dcc Allow the dealloc message to be caught
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 02:55:15 +00:00
David Elliott
d04995b3a6 Use wxObjcAutoRefFromAlloc for sm_cocoaTarget.
Move some processing code from wxMenuItemAction to CocoaItemSelected.
Add Cocoa_validateMenuItem and use it instead of calling IsEnabled directly.
Do not set the target or action for wxMenuItem that open submenus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 01:39:35 +00:00
Robin Dunn
28d1454aff Adapt to new file naming scheme, new Installer structures, and other
build tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 01:13:02 +00:00
Robin Dunn
7093495299 Restructured for new style RPMs, etc. Can build all the RPMs from a
single .spec file, by using --define parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 01:02:22 +00:00
Robin Dunn
6736ec0807 be cmd.exe compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:56:22 +00:00
Robin Dunn
502827c88f Don't make the metadata xml file anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:55:39 +00:00
Robin Dunn
ae13f29275 * Don't reset LC_NUMERIC if on Python 2.4
* Always save the tstate


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:54:53 +00:00
Robin Dunn
a38c690323 wxRect --> wx.Rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:51:57 +00:00
Robin Dunn
41e8a69cdb workarounds for old versions of distutils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:47:56 +00:00
Robin Dunn
f189a52be4 put back the code to add the 3rd digit in the extraPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:46:11 +00:00
Vadim Zeitlin
67c20e133e use wxFileSize_t instead of wxFileOffset or off_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:34:21 +00:00
Vadim Zeitlin
bd3cea7d2c fixed wxFileSize_t definition under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:23:32 +00:00
Vadim Zeitlin
02aef13c07 made Tell/Seek/Length() return wxFileSize_t as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:22:27 +00:00
Vadim Zeitlin
93e0db9a80 added wxFileSize_t, changed types of wxFile methods/parameters once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:01:00 +00:00
Vadim Zeitlin
a752b8c4e0 always let GTK process focus_out events itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 23:46:08 +00:00
Vadim Zeitlin
f5c74fddf0 call Skip() under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 22:31:52 +00:00
Vadim Zeitlin
a13438c535 replaced deprecated GetNoHistoryFiles() function with GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 22:27:57 +00:00
Włodzimierz Skiba
0a8c46e1bd Do not waste time for USE_ODBC=0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 19:15:38 +00:00
Włodzimierz Skiba
6002d043b5 Bug #1001474. Text!=Password.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 18:09:33 +00:00
Włodzimierz Skiba
ad81647631 Warning fix for wxDateTime_t <-> MSW data exchange.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:42:33 +00:00
Włodzimierz Skiba
7663d0d4bf Fix to wrong order of parameters. Used wxStringBase constructor has parameters in reversed order in comparison to wxString (iirc due to stl::string compatibility).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:36:04 +00:00
Włodzimierz Skiba
326a37f148 Fix to the crash in all MSW/OpenWatcom apps using toolbars. wxString() in A?B:C is not a good idea.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:27:33 +00:00
Włodzimierz Skiba
e7274ba212 Fix to bug #1046289. dtor of wxMetaTagParser must be executed earlier than dtor of 'charset'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:19:04 +00:00
Włodzimierz Skiba
54e3a7c110 Do not waste time with OpenGL turned off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:09:43 +00:00
Włodzimierz Skiba
f46a065c3b Free DMC does not distribute OpenGL support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 17:05:29 +00:00
Ryan Norton
ee2af3c885 readd files to restore cocoa compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 14:34:31 +00:00
Ryan Norton
af17760d08 Reverted and fixed really broken overcommit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 14:07:27 +00:00
Václav Slavík
a30f955ffd fixes to building wxBase on Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 12:49:42 +00:00
Julian Smart
d8c91d699f Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 10:32:33 +00:00
Julian Smart
027aa6fa77 Doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 10:29:58 +00:00
Julian Smart
608754c4a3 Added SetScrollLinesX, SetScrollLinesY so apps can work around scrollbar
appearance problems by setting the scroll increment to e.g. 1
(Scrollbar problems caused by rounding errors - see comments in grid.cpp).
Also removed obsolete functions from reference, rearranged alphabetically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 10:28:20 +00:00
Julian Smart
387d96cc8f Commented out SetFont(wxNullFont) which causes an assertion on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 10:16:24 +00:00
Václav Slavík
b29c9f3b07 added wxTB_HORZ_LAYOUT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 09:29:02 +00:00
David Elliott
ccdc365485 Removed empty wxCocoa wxFileDialog implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 03:39:47 +00:00
David Elliott
5de1602ce1 Reverted broken test to determine wxHAS_TASK_BAR_ICON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 03:05:41 +00:00
David Elliott
ec7c50a5ed Removed empty wxCocoa taskbar files and broken files.bkl commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 03:01:44 +00:00
Vadim Zeitlin
806e2f154a give an #error if wxUSE_GLCANVAS == 0 instead of building empty samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 21:19:38 +00:00
Julian Smart
cc0c05cd9f gtk_frame_focus_out_callback can be called with g_activeFrame
null; so test for it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 20:47:12 +00:00
Ryan Norton
7c57ddc300 fix syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 17:24:35 +00:00
Ryan Norton
0ea62c2105 fix syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 17:22:40 +00:00
Ryan Norton
cabf7af237 small doc cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 17:10:51 +00:00
Robin Dunn
58c132bbfc line segment fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 15:14:59 +00:00
Robin Dunn
303aff5ed8 dc.DrawLines fixed [1046055]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 15:14:10 +00:00
Włodzimierz Skiba
d9e9fb523f Semicolon fixes according to Vadim's note about being danger (OW,BCC,MinGW,DMC tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 14:11:35 +00:00
Włodzimierz Skiba
5e233068dc Darwin fixes (OW,BCC,MinGW,DMC tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 14:09:48 +00:00
Włodzimierz Skiba
6fb99eb3b7 Semicolon fixes according to Vadim's note about being danger (OW,BCC,MinGW,DMC tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 14:04:19 +00:00
Włodzimierz Skiba
383f6abdbf Fix to reflect wxUNIVERSAL conditions from header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 09:24:09 +00:00
Ryan Norton
49dcf8bfb8 crush compiler warnings and handle out of memory errors slightly better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 02:54:32 +00:00
Vadim Zeitlin
42f25dcfc7 check that item pointer is non-NULL in WM_DRAW/MEASUREITEM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 21:08:54 +00:00