Commit Graph

19271 Commits

Author SHA1 Message Date
David Elliott
75e4856bba * Use a subclass of NSView for the dummy view which overrides hitTest: to
return nil.  That tells Cocoa never to send it any mouse events.
* Set the autoresizingMask of the hidden view on the dummy view
* Added some code to paint green over the dummy view.  It makes debugging
  some things easier.  Change the #undef WXCOCOA_FILL_DUMMY_VIEW to enable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 14:45:48 +00:00
Václav Slavík
96c1699d51 (blind) OS/2 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 13:56:20 +00:00
David Elliott
cc6f960f49 Normal wxWindow::Close() behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 13:37:46 +00:00
Stefan Neis
4c15b7aff2 Added some missing brackets required by autoconf on OS2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 10:29:08 +00:00
Václav Slavík
fa8e95cbdb new makefiles update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 10:02:17 +00:00
Václav Slavík
fad5a51ff8 how to build new RPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 09:50:17 +00:00
Václav Slavík
ee100c4d36 removed a typo(?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 09:39:41 +00:00
Václav Slavík
a4d72b9486 wxMotif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 09:20:28 +00:00
Václav Slavík
dd4b14de7e more Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 09:01:57 +00:00
Václav Slavík
54385bdb3f Unicode compilation fixes for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 08:39:47 +00:00
Václav Slavík
c6441a0d74 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 08:13:08 +00:00
Václav Slavík
79608eef23 regenerated with ac-2.57
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 08:12:06 +00:00
Václav Slavík
93b512a0b8 there's no reason why wxrc should link against xrc library, it doesn't need it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 08:10:55 +00:00
Mattia Barbon
760d3c7cd3 Fixes for wxHashTable when wxUSE_STL=1:
wxHashTable must work like an hash_multimap, not an hash_map.
wxHashTable::Delete is supposed to actually delete entries
more tests in console sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 21:17:04 +00:00
Stefan Csomor
8b7ac60523 switching to wxEmptyString to satisfy linker after wxxVariant constructor change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 19:45:52 +00:00
Stefan Csomor
12a5e73be6 changing wxxVariant signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 19:44:15 +00:00
Julian Smart
d56cc7b1bc Correcting typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 19:27:52 +00:00
Václav Slavík
a5b8e8bf18 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 18:02:43 +00:00
Václav Slavík
99045723c5 <wx-lib>expat</wx-lib> is nonsense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 17:57:40 +00:00
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
Václav Slavík
4b1f63604b OS/2 doesn't use lib prefix for libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 16:58:02 +00:00
Stefan Csomor
a06bb527dd RTTI extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 16:48:06 +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
9409aa35b8 Applied patch [ 778716 ] Fix resolve in smapi.cpp for UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 15:51:04 +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
Chris Elliott
7945bfb41d CBuilder & IDE details Not appropriate for new makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 15:16:42 +00:00
Chris Elliott
aa43a59b91 CBuilder project creation files Not appropriate for new makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 15:15:47 +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
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