Commit Graph

15354 Commits

Author SHA1 Message Date
Stefan Csomor
c44a270570 removing rtti special functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 17:28:34 +00:00
Václav Slavík
62b78322e1 wxStrdup(NULL) doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 17:27:04 +00:00
Stefan Csomor
f0a126fe7a switching back to normal accessors, workaround not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 16:44:01 +00:00
Stefan Csomor
b8d5be011d XTI extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 16:40:20 +00:00
Julian Smart
196be0f137 Warning fixes from ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 15:40:58 +00:00
David Elliott
2691697575 Use NSBox with the NSBoxSeparator box type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 14:51:08 +00:00
David Elliott
c5172ed1bf Override CocoaSetEnabled() to call -[NSControl setEnabled:]
Do NOT forget to override this in subclasses which use a Cocoa view
not derived from NSControl.  Crashes will result.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 14:49:28 +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
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
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
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
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
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
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
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
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
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
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
187cf772fa regenerated makefiles after fixing files.bkl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 11:17:34 +00:00
Václav Slavík
c80217d107 wxMutexGuiEnter/Leave didn't work because this file is compiled with wxUSE_GUI=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:59:13 +00:00
Václav Slavík
0e0d594d1a removed unused wxObject::Dump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:34:45 +00:00
Václav Slavík
6eabf58cec have TryValidator even if wxUSE_VALIDATORS=1, so that wxBase library can be used by GUI ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:33:25 +00:00
Václav Slavík
b880adecc4 build options signature is too long, use more lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:31:54 +00:00
Julian Smart
8a82c9ecc9 Moved wxToolBarSimple to deprecated library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:20:08 +00:00
Stefan Csomor
1d42ad9a21 unicode for mac fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 07:37:06 +00:00
Stefan Csomor
365796b153 unicode for mac fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 07:16:09 +00:00
Stefan Csomor
7d671c0818 unicode for mac fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 06:38:42 +00:00
Václav Slavík
b7c702867a removed unneeded #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 22:30:54 +00:00
Mattia Barbon
548bf4b717 MSVC 5 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 21:39:23 +00:00
Václav Slavík
6c04a87329 removed old bc++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 21:22:26 +00:00
Stefan Csomor
c32a538aba unicode for mac fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 16:46:24 +00:00
Stefan Csomor
5f3f0f1725 unicode for mac fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 16:46:23 +00:00
Stefan Csomor
69aa21acc9 corrected include for __WXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 16:37:01 +00:00