Mattia Barbon
30d2b71da3
wxMotif warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 15:10:16 +00:00
Vadim Zeitlin
712f40ca5e
corrected CHECK in InsertPage()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 13:27:41 +00:00
Vadim Zeitlin
8d34bf5cc9
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:54:31 +00:00
Mattia Barbon
789d0a3dd9
wxGTK compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:44:52 +00:00
Mattia Barbon
64b090c72a
Compilation fixes for wxMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:38:26 +00:00
Stefan Csomor
786a2425fb
extended RTTI support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:37:30 +00:00
Stefan Csomor
b0a877ec93
support for RTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:33:51 +00:00
Stefan Csomor
c90b8250d9
added support for leaving out <embedded objects> that are created during their parent's creation and should not be streamed out separately. Support for empty element tags when reading in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:32:09 +00:00
Stefan Csomor
c1d6d0f9e8
added wxDateTime to the streamable custom types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:30:19 +00:00
Vadim Zeitlin
15aad3b938
created wxBookCtrl which will be tje base class for wxNotebook and wxListbook; moved almost all of wxNotebookBase code into it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 22:57:07 +00:00
Stefan Neis
bd3b171d3f
Split src/os2/utils.cpp in two to support non-monolithic builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 18:53:31 +00:00
David Elliott
bd8e6e3742
The default state for the first radio button in a group should be selected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 17:44:37 +00:00
Stefan Neis
283ed244ad
Compilation fixes for gcc-3.2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 17:02:09 +00:00
Mattia Barbon
8ae94823a3
Keep order of nodes when wxHashMap is resized; this ensures
...
that wxHashTable has the same behaviour when wxUSE_STL=1 as
when wxUSE_STL=0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 16:59:17 +00:00
David Elliott
6f2ec3c3de
Fix autoresizingMask when scrolling is used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 16:02:31 +00:00
Václav Slavík
28a34fc7d0
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 15:13:09 +00:00
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
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
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
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
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