Commit Graph

12276 Commits

Author SHA1 Message Date
Julian Smart
f7a8c1299b Misc warning fixes by ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 14:32:07 +00:00
Chris Elliott
50165591a5 fix bugs when compiling with dmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 10:01:49 +00:00
Jouk Jansen
40f2773111 Committing in .
OpenVMS compile support updated

 Modified Files:
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 06:33:43 +00:00
Vadim Zeitlin
2a201ef802 fixed extraneous scrolling when scrollbars are added/removed (patch 788026; bug 746618)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 00:10:20 +00:00
Vadim Zeitlin
c4513b2389 continue setting scrollbars even if only width/height changes, not both of them (patch 788017)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 22:41:31 +00:00
Vadim Zeitlin
88a036cef3 check the week day for consistency in ParseFormat() (replaces patch 788052)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 22:39:31 +00:00
Vadim Zeitlin
1b47bebc98 fixed unused variable (replaces patch 788090)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 22:33:59 +00:00
Vadim Zeitlin
8e87d1c923 removed an unused variable (patch 788101)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 22:31:42 +00:00
Mattia Barbon
f96b10c283 Refactoring: no real changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:34:21 +00:00
Mattia Barbon
4410d619c5 wxMotif STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:28:56 +00:00
Robin Dunn
5d2e69e8c0 Clear --> ClearBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:05:39 +00:00
David Elliott
9ba1d264f7 Improve default size. If the control is auto-fit its size won't be less
than 70 pixels.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 20:39:19 +00:00
David Elliott
d77ea20c75 Create an NSPopUpButton and size it appropriately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 20:35:03 +00:00
David Elliott
8d656ea93c Make appropriate use of MakeDefaultNSRect and SetInitialFrameRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 20:28:35 +00:00
Robin Dunn
d3017584ba Add a little space so the wxHtmlCell doesn't overwrite the border of
the selection box


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 19:46:30 +00:00
Robin Dunn
3e13956a1f Switch to wxCHECK so the bad code isn't still executed if the assert
dialog is ignored.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 19:45:53 +00:00
Robin Dunn
e71fd398b8 Clear --> ClearBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 19:38:24 +00:00
David Elliott
d139c3a84b Added helper functions for setting initial window size:
* inline MakeDefaultNSRect makes an NSRect with position (10.0,10.0) and
  size based on the size passed to Create run through (Width|Height)Default
  This NSRect is to be used with the initWithFrame: initializer.
* SetInitialFrameRect is called after the window has been added to its parent
  and (if applicable) sized to fit.  If -1 is specified for a dimension then
  the fit/default size is kept.  If not, the window is sized to the specified
  size. It will be positioned in wxWindows coordinates (0,0==TL).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 19:37:45 +00:00
Stefan Csomor
ab6e491366 collection support for XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:59:46 +00:00
Václav Slavík
99d1772009 fixed compilation of xml.cpp: include ./expat/lib directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:56:26 +00:00
Vadim Zeitlin
49744b79ac compilation fix after Clear() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:52:46 +00:00
Vadim Zeitlin
596f1d1160 renamed wxWindow::Clear() to ClearBackground() for wxGTK as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:47:43 +00:00
Václav Slavík
e3ac6ee157 fixed wrong arguments to Draw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 15:48:45 +00:00
David Elliott
b93d8cc460 Don't send idle events while an assertion dialog is showing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 15:25:34 +00:00
Vadim Zeitlin
5da0803c15 renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 14:09:45 +00:00
Vadim Zeitlin
8b3a401696 set LVCFMT_IMAGE, this at least allows to show imageso n the right sidei n the first column too (and fixes bug 787781); corrected return value of InsertColumn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 09:58:52 +00:00
Jouk Jansen
f3858bf561 Committing in .
Updating/repairing OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/gtk/app.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 08:48:47 +00:00
Stefan Csomor
42800de660 panther fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 11:47:23 +00:00
David Elliott
4328a6ba2a Implement Raise()/Lower() using [NSVIew sortSubviewsUsingFunction:context:]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 04:30:50 +00:00
David Elliott
a82b814137 Laid groundwork for scrolling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 02:58:04 +00:00
Julian Smart
e28c2d151b wxCaretSuspender only shows the caret if it was visible previously
Improved caret handling in wxTextCtrl
Restored scrollbar painting in wxUniv


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 16:33:56 +00:00
David Elliott
25a4727e95 Added dummy resources for wxCocoa so bundles will build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 14:53:42 +00:00
Julian Smart
4fa818f673 Removed some experimental code I left in by accident
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 12:49:15 +00:00
Julian Smart
4b3163294c More fixes for !wxUSE_TIMER, !wxUSE_IMAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 12:47:16 +00:00
Julian Smart
7da6ab6e2e Cater for wxUSE_IMAGE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 10:59:07 +00:00
Julian Smart
cfb5756157 Cater for wxUSE_IMAGE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 10:46:35 +00:00
Stefan Csomor
2d51f067b9 added wxDynamicObject (kind of delegate, docs to come once this has calmed down)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 10:01:02 +00:00
Vadim Zeitlin
395470d965 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 01:22:51 +00:00
Vadim Zeitlin
51485b7601 fixed some warnings about unused variables values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 01:22:21 +00:00
Vadim Zeitlin
429ef4bcea really fixed '-' and '+' drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 01:15:12 +00:00
Vadim Zeitlin
be5b2f9f38 initialize the font fields properly when it corresponds to a native font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 01:14:34 +00:00
Vadim Zeitlin
0e7761fade trying to fix the generic tree appearance problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 00:38:32 +00:00
Václav Slavík
ef76cf4c65 __WXMAC__, not __MAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 18:19:11 +00:00
Vadim Zeitlin
659b3e8b81 compilation fix for !wxUSE_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 17:26:46 +00:00
Vadim Zeitlin
194142ed6f compilation fix for !USE_PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 17:25:36 +00:00
Vadim Zeitlin
4bad920dbf parameters must have names in C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 16:22:08 +00:00
Václav Slavík
14a39351b3 wxMac fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 15:58:19 +00:00
Vadim Zeitlin
04857cb707 added version checking to the renderers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 15:51:30 +00:00
Stefan Csomor
669b65b945 two fixes from Justin Bradford
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 14:20:03 +00:00
Stefan Neis
28a75c297c Added forgotten(?) wxMutexGuiEnter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 17:08:01 +00:00