Commit Graph

14473 Commits

Author SHA1 Message Date
Mattia Barbon
54c7aaca23 Check for NULL before dereferencing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:14:19 +00:00
Mattia Barbon
277f2e527e Added DoSetSize and DoMoveWindow to generic wxStaticLine.
Now it works with sizers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:13:33 +00:00
Mattia Barbon
b5a7cdc076 Rename wxGenericImageList to wxImageList in generic wxListCtrl, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:12:21 +00:00
Mattia Barbon
37c997b489 Changed wxMotif's wxWindow::Create so it does not call DoSetSize anymore;
now calling wxWindow::SetSize should call wxWindow::DoMoveWindow.
As a result composite controls should work with Motif, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 20:10:37 +00:00
Václav Slavík
1e8724e634 added a section on when to delete global objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:47 +00:00
Václav Slavík
1233cee549 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:42 +00:00
Václav Slavík
f9363b96c4 1. clarified relation between XRC .xrs files and ZIPs
2. some minor additions to XRC docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 18:14:36 +00:00
Ron Lee
b40e227882 minus one show stopper typo and a couple of warnings on mingw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-27 05:15:39 +00:00
Václav Slavík
a02376c832 added wxADJUST_MINSIZE to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 22:09:04 +00:00
Václav Slavík
7672597c3e fix for memory leak in XRC-generated CXX resources code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 22:08:59 +00:00
Julian Smart
2cbc7f485f Don't fail to register remaining window classes if
one fails to register
Set window proc for non-control windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 16:13:02 +00:00
Stefan Csomor
11b3bc3a94 changed library include to use relative paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 07:13:53 +00:00
Stefan Csomor
1abad9c3ad added msgout.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 06:52:53 +00:00
Robin Dunn
9c2abc2c9a Show how to prevent deselection of specific items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 01:51:50 +00:00
Robin Dunn
5c4c285a9e Don't show a dialog upon import when Numeric isn't installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 01:51:29 +00:00
Gilles Depeyrot
fa4c1d1d41 prefix include file for Project Builder project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 21:47:25 +00:00
Mattia Barbon
4464ec9e90 Applied patch from Ian Brown to make menus look better in wxMotif (#586347)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 20:29:55 +00:00
Vadim Zeitlin
ebeb769638 corrected Enable() docs to correspond to the real method signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 17:07:05 +00:00
Jouk Jansen
474cd91658 Committing in .
changed one parameter in the definition of wxBitmap from long to int.
 (just as it is in wxGTK). This solves a compilation problem on OpenVMS.

 Modified Files:
 	wxWindows/include/wx/motif/bitmap.h
 	wxWindows/src/motif/bitmap.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:29:47 +00:00
Jouk Jansen
ef0ed19e9d Committing in .
Updated OpenVMS compile support:
   setip.h_vms : added definition of wxExplicit
   descrip.mms : added msgout.cpp
   utilsunx.cpp : supressed unreacheable code warning in one routine by
                  OpenVMS only #pragma's.

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/unix/utilsunx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 13:18:52 +00:00
Stefan Csomor
29b30405aa removed virtual modifier from Command handlers, added readonly and color information to textctrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 09:58:49 +00:00
Mattia Barbon
9918d4d5c1 Updated Makefiles for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 09:08:12 +00:00
Stefan Csomor
f8d5f1e2b4 removed virtual modifier from Command handlers, added readonly and color information to textctrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 08:42:04 +00:00
Robin Dunn
64c06a5085 changes to match recent CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 01:28:56 +00:00
Robin Dunn
cc164686f3 Added wxUSE_RICHEDIT to match usage in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 01:27:57 +00:00
Mattia Barbon
dc0e23b8fb Updated Makefiles for all but Motif; there is either a lock or a CVS problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-24 19:46:48 +00:00
Mattia Barbon
74698d3a22 Added wxMessageOutput as per the discussion on wx-dev.
Added wxApp::DoInit to initialize the global wxMessageOutput instance.
Changed wxCommandLineParser to use wxMessageOutput.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-24 19:29:53 +00:00
Vadim Zeitlin
53d838be50 IsSingleLine() is now in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:40 +00:00
Vadim Zeitlin
018f2884d8 added operator++/-- for wxAutoULong (SF patch from Igor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 21:59:06 +00:00
Robert Roebling
d44c23ceb6 Changed wxGTK's notion of SetSize() to never allow setting
the width and height to -1 even if the wxALLOW_MINUS_ONE
flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 20:51:42 +00:00
Julian Smart
2c519e86c2 Added wxMotif comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:32:52 +00:00
Julian Smart
96c3039d9a Applied patch [ 585436 ] motif toolbar control alignment fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:31:31 +00:00
Julian Smart
7227cefd3b Applied patch [ 585322 ] motif border style fix for statictext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:28:58 +00:00
Julian Smart
edc1cd8baf Applied patch [ 584885 ] better colour handling in motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:25:08 +00:00
Julian Smart
94a6f0f8d6 Possibly cured the assertion message dialog paint problem,
by explicitly calling OnInternalIdle if it's a message dialog
within an assertion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 16:27:14 +00:00
Vadim Zeitlin
fa2540e305 fix to not show ampersands in the static box title (needed after the previous change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 14:09:32 +00:00
Vadim Zeitlin
ba0abe3c71 added test for toggling the main toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 14:08:39 +00:00
David Webster
31833fd72f Weekly catch up and slider fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:07:09 +00:00
David Webster
b1f9d7bf62 OS/2 tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:06:36 +00:00
Julian Smart
b31989e208 Added wxListCtrl to derive from wxGenericListCtrl,
ditto for wxImageList


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 23:03:03 +00:00
David Webster
d62144c98d FALSE not false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 14:46:41 +00:00
Vadim Zeitlin
3d7fa4e684 made wxDllLoader more backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 14:42:38 +00:00
Julian Smart
f44b23b6f7 Changed main ftp address to ftp://biolpc22.york.ac.uk/pub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 13:37:07 +00:00
Julian Smart
3cd94a0d11 Applied patch [ 583922 ] Make generic/wxListCtrl avail. in WIN32
Generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
renamed to wxGenericImageList, so they can be used on wxMSW
(Rene Rivera).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 08:51:49 +00:00
David Webster
70a2c6562f Dialogs and slider updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:29:07 +00:00
David Webster
f1ecc5db54 OS/2 Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:28:12 +00:00
David Webster
10769d8c47 Lots of updates for color dialog and sliders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:27:36 +00:00
Václav Slavík
a99acbb00a Unicodification of wxDataStreams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 22:29:08 +00:00
Julian Smart
55f9eba3b2 Returned value from operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 21:45:40 +00:00
Vadim Zeitlin
73028c4b8c fixed small memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:44:11 +00:00