Commit Graph

19240 Commits

Author SHA1 Message Date
David Elliott
761bdfaaa9 Override CocoaSetEnabled() to do nothing. Although static lines are
controls in the wxWindows sense, they are not in the Cocoa sense.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 14:47:24 +00:00
David Elliott
adb4816c3e Added machinery to Enable/Disable windows. When a window is disabled, it
disables all of its children.  Every window maintains a bool indicating
whether it should be enabled (i.e. Enable() was called on it directly).
When a window is reenabled, it reenables children, but only if they are
actually supposed to be enabled. Override CocoaSetEnabled() in subclasses
to actually enable/disable a Cocoa control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 14:45:54 +00:00
Julian Smart
5751dd32c7 Fix to remove CW/Mac warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 12:37:36 +00:00
Stefan Csomor
2202608853 unicode fixes, enabling notebook images again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 10:00:56 +00:00
Julian Smart
3029e588e0 Use _NO_THEMES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 08:41:17 +00:00
David Elliott
4a3dcf1de1 Wrap NSTableView in an NSScrollView and disable the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 04:27:12 +00:00
David Elliott
8ea5801e9e Use bounds rect instead of frame rect when positioning subviews
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 04:10:47 +00:00
David Elliott
c5bd91912f Use setAutoresizingMask: NSViewMinYMargin to keep subviews in the same
position relative to the wxWindows coordinate system


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 04:08:27 +00:00
Vadim Zeitlin
b45ed7a273 use wxWindowBase::Create() instead of duplicating its code in MacPreControlCreate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:57:34 +00:00
Vadim Zeitlin
40fa47e0d3 added missing Create() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:56:57 +00:00
Vadim Zeitlin
1b9a0df679 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:56:42 +00:00
Vadim Zeitlin
3ffb81a423 return immediately if the XPM is bad instead of spitting out thousands of error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:55:17 +00:00
Vadim Zeitlin
17f8d2a701 commented out annoying wxLogDebug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:54:19 +00:00
Vadim Zeitlin
2943b2c6af deleted unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:49:48 +00:00
David Elliott
c22469c6b7 SetInitialFrameRect: use frameRect.size.height to calculate frameRect.origin.y
Fixes bug where size.y!=frameRect.size.height (e.g. it is -1)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 19:21:32 +00:00
David Elliott
b915b80565 DoMoveWindow: setNeedsDisplay:YES for the superview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 19:15:53 +00:00
Václav Slavík
d5fc095cf5 OS/2 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 18:32:53 +00:00
David Elliott
d0a5e34a08 * Implement GetValue() and SetValue().
* Send event when clicked.
* Implement radio button grouping.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 18:27:48 +00:00
David Elliott
a0c6a355b7 Implement GetValue() and SetValue() and send an event when clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 18:21:46 +00:00
Julian Smart
9fff6f7fd8 Fixed wxX11 compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 18:19:25 +00:00
Stefan Csomor
6a89f9ee42 RTTI simplifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:59:18 +00:00
Stefan Csomor
1978421a6d rtti api mods added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:57:02 +00:00
Stefan Csomor
404f1d80d8 scope added for keyboard handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:56:07 +00:00
Stefan Csomor
208fd16ca7 refactoring getters and setters to avoid signature madness, typeinfo is carrying string conversion info now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:53:09 +00:00
Mattia Barbon
3f2c383971 Correctly export events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:30:45 +00:00
David Elliott
03fc8e9795 wxCocoa: Added NSMutableArray and NSTableColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 02:19:12 +00:00
David Elliott
9f5fd07701 wxCocoa: added NSTableView.(mm|h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 02:16:53 +00:00
David Elliott
bcaadf7eae some more wxListBox support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 02:14:53 +00:00
David Elliott
2e024d8690 Added NSTableView support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 02:12:42 +00:00
Stefan Neis
d1bab56647 Completely reworked OS/2 thread implementation.
Moved wxConditionInternal from src/msw/thread.cpp to include/wx/thrimpl.cpp
        to give OS/2 the possibility to reuse the code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 23:32:00 +00:00
David Elliott
e08efb8dd9 Handle setting of client size for all types of windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 23:23:26 +00:00
Stefan Csomor
b7aec135d7 several patches and extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 21:15:39 +00:00
Stefan Csomor
43cfe46c31 added WXK_COMMAND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 21:14:28 +00:00
Mattia Barbon
469349b5c8 Check for NULL base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 19:53:51 +00:00
Stefan Csomor
768dc88a34 textcontrol handling change for mac (execute event in mid stream)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 19:47:00 +00:00
Stefan Csomor
1ea39a0399 textcontrol handling change for mac (execute event in mid stream)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 19:41:16 +00:00
Julian Smart
d2699196d3 Must call DoMoveWindow in Create() or buttons may not be
moved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 16:31:18 +00:00
Stefan Csomor
99f677aef3 unicode wxMac CW fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 16:25:37 +00:00
Stefan Neis
82499c49e4 Added OS/2 to the list of platforms known to AC_BAKEFILE_SHARED_LD.
(Although it should not be needed since I always build static libs on OS/2?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 15:29:00 +00:00
Julian Smart
4f10962bc0 Peter Lenhard's WinCE DoDraw[Elliptic]Arc additions: the WinCE-specific
calling code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 15:14:38 +00:00
Václav Slavík
d424f5ae6d more visible banner after installation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 15:07:58 +00:00
Václav Slavík
f815011ffb Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 15:00:46 +00:00
Václav Slavík
6f568182ff Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 14:55:33 +00:00
Stefan Neis
e223b0999f Added some special code to make generated configure script OS/2 compatible
no matter what platform it is generated on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 14:53:27 +00:00
Julian Smart
c26275faab Removed redundant DSPs
Fixed default size of splitter in splittree sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 13:55:44 +00:00
Václav Slavík
da0379249b removed --enable-compat20
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 13:14:44 +00:00
Václav Slavík
a3bf7524f3 removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Václav Slavík
4a93ea29b5 netutils code is MSW-only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:48:18 +00:00
Stefan Csomor
f73bc315aa unicode wxMac CW fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:00:28 +00:00
Václav Slavík
40b46a4945 don't test for Flex and Yacc, we don't use them anymore (contrib/deprecated uses pregenerated versions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 11:35:44 +00:00