Commit Graph

764 Commits

Author SHA1 Message Date
Vadim Zeitlin
e4b19d9b20 USE_xxx => wxUSE_xxx: all samples compile except memcheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 15:28:18 +00:00
Vadim Zeitlin
126eb09b0f USE_ => wxUSE_
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 15:00:00 +00:00
Vadim Zeitlin
27fc802d5c 2nd part of USE_xxx to wxUSE_xxx change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 14:53:45 +00:00
Vadim Zeitlin
47d67540a0 USE_xxx constants renamed to wxUSE_xxx. This is an incompatible change, you
must recompile everything after upgrading!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 13:28:52 +00:00
Denis Pershin
d069d02e1e const added to GetBitmap it was my fault.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-25 04:03:41 +00:00
Vadim Zeitlin
f51f94ea2e restored "#ifdef __WXMSW__" around SetFont(wxNullFont) - this leads to SIGSEGV
under wxGTK!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-24 17:19:11 +00:00
Julian Smart
76626af21b Fixed delete operator for VC++ 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-24 15:49:16 +00:00
Julian Smart
d0dc2fe891 Added some Web pointers relevant to wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-24 15:43:10 +00:00
Julian Smart
e97f20a0f2 wxMotif: wxWindow/Client/PaintDC starting to work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-23 13:56:00 +00:00
Julian Smart
16c1f7f345 Some more Motif work; included utils.h in fileconf.cpp (for wxGetHomeDir or something)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-22 21:15:56 +00:00
Vadim Zeitlin
dcf40a56e7 wxListBox::FindString(): it's not an error if the string is not found, so
don't give assert failures in this case.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-22 14:40:18 +00:00
Karsten Ballüder
ecadfc3f5a check for empty data pointer in Len() and Empty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-21 20:13:41 +00:00
Vadim Zeitlin
1c4a764c98 1) minor modifications in fileconf.cpp
2) new MSW function (private.h): wxGetWindowText() which works with wxString
   instead of (horror) fixed size buffers. All calls to ::GetWindowText()
   should be replaced with this!
3) remains of casts to float in different wxControl classes removed,
   (EDIT|BUTTON)_HEIGHT_FROM_CHAR_HEIGHT macros introduced (could be
   made inline functions as well...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 21:13:46 +00:00
Vadim Zeitlin
803bf1c581 somehow log target wasn't being created automatically anymore. Restored.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 21:05:19 +00:00
Julian Smart
dfc5454127 More Motif stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 20:59:30 +00:00
Karsten Ballüder
b112d15289 Now dot_special argument in wxMatchWild() is honoured. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 19:44:41 +00:00
Karsten Ballüder
a4876ea44c see mail to list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 19:34:30 +00:00
Guilhem Lavaux
e79848acfe * Fixed a bug in notebook.tex
* Added a basic documentation on wxSocket (currently wxSocketBase, wxSocketClient, wxSocketServer, wxSocketHandler, wxURL)
  There are still things to write and I hope I didn't have a too bad english ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 15:45:12 +00:00
Julian Smart
e096774dd1 Commented out those wretched crt debug thingies yet again. It doesn't compile for
me and presumably other people who use the makefiles, sorry.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 07:44:24 +00:00
Julian Smart
02e8b2f9fb More Motif stuff, minor stubs correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 07:35:20 +00:00
Vadim Zeitlin
a5e0e655cb ConvertToStandardCommandArgs() was ugly, buggy and leaked memory (not bad
for 10 lines of code). Now it's only ugly...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-19 21:01:01 +00:00
Karsten Ballüder
dfcb1ae09d changed wxMatchWild() 3rd parameter not used under Unix - what is it good for?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-19 15:13:02 +00:00
Julian Smart
23d1d521c8 menuitem.h is now per port, since some ports (e.g. Motif!) need extra members etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-18 21:36:20 +00:00
Vadim Zeitlin
3093cef829 wxBaseArray::Shrink() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-18 21:35:44 +00:00
Julian Smart
50414e24a7 Some more wxMotif stuff: menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-18 21:33:46 +00:00
Julian Smart
2319d2b09a Fixed some .tex problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-18 10:20:32 +00:00
Julian Smart
9b6dbb0974 Added Motif files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-18 10:19:10 +00:00
Julian Smart
4bb6408c26 Motif files added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-18 10:14:43 +00:00
Vadim Zeitlin
c9d22ba77c log.tex uncommented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 20:57:55 +00:00
Vadim Zeitlin
5f3cd8a22a wxLog and wxConfig docs update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 20:57:08 +00:00
Guilhem Lavaux
9da0d96f87 * fixed a wrong line.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 17:32:38 +00:00
Guilhem Lavaux
856d2e527d * Added wxSerial DLL support for Borland 32
* zstream.h doesn't anymore include zlib.h
* updated static data
* made wxClassInfo::GetFirst() static
* added user/password support in the URL parser
* fixed bugs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 17:30:13 +00:00
Julian Smart
46ccb5107f Dnd constant name changes because names like Copy can be #defined by other
apps. Various other changes to stubs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 16:57:01 +00:00
Vadim Zeitlin
9fdf3c3877 VZ: I have reformatted it to correspond to our style conventions (tab stop =
4, no hard tabs, no function(void), ...) and added a couple of comments to
make it (hopefully!) more understandable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 15:18:33 +00:00
Vadim Zeitlin
054889057e corrected a bug in ConcatSelf() induced by the latest change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 14:43:21 +00:00
Vadim Zeitlin
3c024cc22f fixed 64but bug with g_strEmpty initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 14:31:17 +00:00
Julian Smart
589f0e3e60 Simplified app initialisation in wxMSW and wxStubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-17 09:58:52 +00:00
Julian Smart
7f555861b7 Made wxStubs compile on Unix.
Improvements to doc/view on MDI, including multiple menus for wxFileHistory.
Added wxDirExists to wxMSW; moved wxMatchWild to filefn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-16 21:52:23 +00:00
Julian Smart
f93ce4dadc Misc OGL changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-16 21:44:17 +00:00
Vadim Zeitlin
335a8b43e9 wxPenRefData copy ctor was somehow not declared in the class definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-15 22:08:17 +00:00
Julian Smart
86411736c3 Updated debug flags in makefile for DLL compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-14 17:38:10 +00:00
Julian Smart
fbcb41664b DLL-related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-14 16:37:24 +00:00
Robert Roebling
8fdca65cf2 Removed warnings
Added GetCount() to wxList and wxDaynArray


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 22:11:40 +00:00
Robert Roebling
84efdbf195 Next try at removing the dancing sliders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 20:38:55 +00:00
Julian Smart
cfb88c5569 Added sashtest GTK makefiles (crashing bug to be solved); added typetest sample
with simple wxVariant test; changed wxICON macro and used it in minimal.cpp
to avoid #ifdefing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 17:33:59 +00:00
Julian Smart
8cb50e4b46 Added variant.h/cpp; changed variable names in object.h; added some functions
to wxStringList; added wxTrue and wxFalse to supress some warnings; some bugs fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 17:31:48 +00:00
Julian Smart
341287bf49 Added variant.h/cpp; changed variable names in object.h; added some
functions to wxStringList; some bugs fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 17:29:57 +00:00
Robert Roebling
cb43b372fb Changed instal path for setup.h
changed socket stream inheritance to virtual
  removed a few more warnings from the samples
  corrected thread habdling in configure.in
  removed dancing sliders from scrollbars
  corrected notebook send event bug and added it
   the controls sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-12 17:18:12 +00:00
Robert Roebling
e55ad60e19 Updates to memcheck
Corrected and beautified memory (output)
  Fixed a few memory leaks
  Fixed resizing in in wxRadioBox
  Added many wxFAIL and wxASSERT
  Corrected other wxFAIL (removed from ..::Ok())
  Added wxBrush::Set..() functions
  Added CopyOnWrite support in GDI objects (Unshare)
  Disabled all occurences of WXDEBUG_NEW
  made clean, recompiled with mem_chcking on


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-11 09:05:26 +00:00
Robin Dunn
384b4373c7 Added #include to get FIONBIO on Solaris 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-11 01:28:41 +00:00