Commit Graph

3393 Commits

Author SHA1 Message Date
Gilles Depeyrot
d71c423e19 don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
with FindOrCreateXXX() are managed by the lists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:48:29 +00:00
Vadim Zeitlin
ade35f11fe 1. added wxFileName::CreateTempFileName() and implemented it properly (using
mkstemp() when available)
2. wxTempFile::Open() and wxGetTempFileName() now use CreateTempFileName()
   avoiding code duplication
3. updated the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:18:11 +00:00
Vadim Zeitlin
1d21855083 added wxStringBuffer helper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:16:16 +00:00
Ron Lee
681641370c Added wxFile::write_excl and use it from wxTempFile to securely open the
temporary file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:51:24 +00:00
Ron Lee
4f716609c9 fix wxUINT64_SWAP macro to use wxULongLong now that it exists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:13:45 +00:00
Vadim Zeitlin
0ba9f867fa fixed compilation warning about signed/unsigned comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:53:55 +00:00
Julian Smart
13ff9344d6 Attempted to fix splittree problem by not pushing event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:26:27 +00:00
Ron Lee
8e38fd1fb0 Added 2 extra macros to handle all the flavours of wxInt64 :(
Did a quick and dirty cut'n'paste to implement wxULongLong and provide
wxUint64 on platforms without a suitable native type.
Noted it's existance and inappropriate methods in the wxLongLong docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:43:08 +00:00
Vadim Zeitlin
2b7e44a28c added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:28:04 +00:00
Vadim Zeitlin
f38bcae5bf fixed compilation after wxTipWindow base class change, added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:18:24 +00:00
Vadim Zeitlin
6f91bc3333 1. GetCwd() now has the volume argument, Normalize() works correctly for the
paths without full path but with the volume
2. fixed old SplitPath() version without volume to behave in a backwards
   compatible way
3. added more docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:16:19 +00:00
Vadim Zeitlin
52dbd056d2 more fixes for volume names handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 02:28:51 +00:00
Vadim Zeitlin
39cc7a0bae added wxWS_EX_TRANSIENT, added code for handling it and fixed wxLogGeneric
to avoid crashes related to creating the log dialog as child of a window which
is destroyed before it is


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:40:12 +00:00
Vadim Zeitlin
ff69a290d6 wxFILE_SEP_PATH_VMS must be '.', not '/'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:38:06 +00:00
Robin Dunn
8962e1d938 wxTipWindow is now a wxPopupTransientWindow instead of a wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:02:27 +00:00
Vadim Zeitlin
04c943b139 added volume support and support for UNC paths under Windows, improved Mac and VMS support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:55:13 +00:00
Robin Dunn
4161723f46 Fixed some warnings in wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 05:07:43 +00:00
Robin Dunn
ddf2da08b5 Another blind attempt to fix AltGr issues in wxSTC, and a context menu
fix for wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 02:16:27 +00:00
Julian Smart
e8d5008c2e Small change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:33:44 +00:00
Julian Smart
c67d6888d4 Fixing wxMicroWindows compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:22:16 +00:00
Mattia Barbon
fbdb357ea2 Fixes for Cygwin compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 20:44:22 +00:00
Václav Slavík
37b83ca639 second halt of Chris' wxImage ICO patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:14:09 +00:00
Václav Slavík
4f41713093 added two-step creation of wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:13:53 +00:00
Vadim Zeitlin
1d8c3e58b8 oops, forgot to commit the header for the notebook fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 14:43:26 +00:00
Robin Dunn
c5fe0dcced Added IsVertical to wxMac's wxScrollBar. (It doesn't derive
from wxScrollbarBase)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 05:44:36 +00:00
Vadim Zeitlin
eda40bfc08 superposition of text styles in wxTextCtrl now works as expected (and as documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 14:50:50 +00:00
Vadim Zeitlin
33b7a5491f removed unneeded include from the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 14:38:02 +00:00
Ron Lee
41b0a1139d added wx(U)int64, then added it to wxDataStream so contrib should
(hopefully) now build on alpha, ia64, s/390 without the kludge
from 2.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 03:53:32 +00:00
Vadim Zeitlin
31f6de22b0 added wxCmdLineParser::ConvertStringToArgs(), wxApp::ConertToStandardCommandArgs() now uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 21:36:28 +00:00
Vadim Zeitlin
a8141d3f28 changed wxYES_NO to be equal to wxYES | wxNO freeing another style bit which allows to avoid conflicts between wxYES and wxTE_MULTILINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 18:18:45 +00:00
Vadim Zeitlin
65c12361f3 fixed wxTE_LINESCROLL definition to not conflict with wxTE_PROCESS_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 18:11:47 +00:00
Gilles Depeyrot
c4ea29714d removed trailing ; after DECLARE_NO_COPY_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:08:40 +00:00
Gilles Depeyrot
8beeef5f05 use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 12:58:57 +00:00
Robin Dunn
5fa4613c81 Added ability for wxSTC's scrollbars to be supplieed externally, such
as those that are created in wxDynamicSashWindows,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 08:53:33 +00:00
Vadim Zeitlin
d2d14464a5 wxUniv compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:23:19 +00:00
Vadim Zeitlin
1816a07003 added GetHpalette[Of] macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:21:19 +00:00
Vadim Zeitlin
d63819e045 compilation fix for wxUSE_TEXTBUFFER=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:20:56 +00:00
Václav Slavík
857dab7dcd wxToolBar support in wxUniv/wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:59:34 +00:00
Václav Slavík
a509f6bcdd better behaviour of wxMGL's wxTimer w.r.t. memory allocations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:56:02 +00:00
Mattia Barbon
279b1aea9d Must honour wxUSE_TOOLTIPS in tooltip.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:55:43 +00:00
Julian Smart
d96083979d Include windows.h before sql headers, if compiling with VC++. Otherwise, for files
that don't use wxprec.h (non-sample/demo files), windows.h may not have been included,
and sqltypes.h will fail to compile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 12:58:09 +00:00
Stefan Csomor
419f362d6a carbon compat routine define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:23:45 +00:00
Stefan Csomor
92e50d0521 added virtual DoSetSize method in order to allow for MacOSX Listbox bug workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:10:18 +00:00
Václav Slavík
2b84e565c6 applied Greg's refinment of hist treectrl patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:39:04 +00:00
Jouk Jansen
3c62105945 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/filefn.h
 	wxWindows/include/wx/filename.h
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/filename.cpp

 Updates for OpenVMS,
    -Updated copmpile support for new files/features
    -First version of OpenVMS file support (wxPATH_VMS).
       (will need a lot of testing on OpenVMS systems)

----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:45:25 +00:00
Vadim Zeitlin
2ec0173d44 added comment for OnScroll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:40:11 +00:00
Julian Smart
4ed56ed897 Fixed Plot compilation, aliased OnScroll to HandleOnScroll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:27:56 +00:00
Julian Smart
41286fd1de Added event Clone functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 12:37:00 +00:00
George Tasker
5bdad317aa "char *" changed to "wxChar *" in several places
"Documentation needed" comments removed as the function(s) are now documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 00:42:10 +00:00
George Tasker
1dee6b3992 MS Access support fix
Standardized the parameter names for "colNo" in all places
A few more unicode adjustments (but Unicode is still not supported by these classes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 00:39:21 +00:00