Ron Lee
0e080be64b
Added (and documented) GetTraceMasks so userspace can probe the currently
...
allowed masks. IMO its omission is a bug and it's non-threatening to
the freeze, so..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 09:35:13 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Vadim Zeitlin
8b94d99978
fixed warning about printf format specifications <-> argument mismatches in wxLogLastError
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 16:27:29 +00:00
Gilles Depeyrot
7357f98198
added attribute printf checks to printf like functions (when using gcc)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 21:38:43 +00:00
Robin Dunn
64bea2bf57
Added a couple missing WXDLLEXPORTs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:49:07 +00:00
Vadim Zeitlin
c11d62a6e2
added (and documented) wxSafeShowMessage, use it in wxLogFatalError instead of wxMessageBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:59:42 +00:00
Gilles Depeyrot
be52b34172
added DECLARE_NO_COPY_CLASS where appropriate since wxObject should not
...
provide implicit copy constructor or assignement (will be corrected)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 13:30:26 +00:00
Vadim Zeitlin
8b30a4e4d6
fixed memory leak in wxLogChain
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:14:49 +00:00
Ron Lee
04662def27
Added SetLogBuffer method.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 20:01:38 +00:00
Gilles Depeyrot
1d63fd6bce
renamed wxLogXXX functions with va_list argument to wxVLogXXX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 15:30:39 +00:00
Gilles Depeyrot
ea44a6310e
added wxLog functions with a variable argument list pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 07:10:34 +00:00
Vadim Zeitlin
3f562374f1
added __TDATE__ and __TTIME__ and use them instead of __DATE__ and __TIME__ for Unicode-friendliness
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:05:37 +00:00
Vadim Zeitlin
8ca28fb797
fix for wxBase compilation (misplaced #if wxUSE_GUI)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:51:57 +00:00
Vadim Zeitlin
93d4c1d03b
fixed VC++ warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 00:08:53 +00:00
Vadim Zeitlin
03147cd08e
added wxLogChain and wxLogPassThrough classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 09:43:40 +00:00
Vadim Zeitlin
fd7718b28c
made wxLog::Set/GetVerbose() static back again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 17:33:53 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
dd107c50be
applied patch for compilation with gcc 3.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:51:53 +00:00
Vadim Zeitlin
36bd690299
added wxLog::ClearTraceMasks()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:11:34 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
5f170f33fd
1. some patches from Janos Vegh to docview template detection
...
2. fixed reentrancy bug in wxGetTranslation/wxLogError resulting in infinite
number of messageboxes
3. wxMenuItem::GetLabelFromText("&Foo") now returns "Foo", not "&Foo" in GTK
as well
4. test for update region being NULL in wxPaintDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 15:48:03 +00:00
Vadim Zeitlin
2ed3265e18
added wxLog::Suspend/Resume and wxYield() uses them now so that it won't flush
...
the messages any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:00:29 +00:00
Vadim Zeitlin
4b7f216556
1. fixed (to test) the bug with bitmaps without masks in wxImageList
...
2. reorganized wxImageList a bit, created a new wxInvertMask() function
3. an incredibly ugly fix (?) for "unsatisfied constraints" warnings
4. added wxIcon and wxBitmap ctors from XPM
5. XPM handler now creates bitmaps with mask
6. added wxPrinterDC::BitBlt() and DrawBitmap(), cleared the horrible mess in
the wxDC methods with the same names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:38:51 +00:00
Vadim Zeitlin
f1df09276c
1. wxWizard supports setting images for each page, sample updated to show it
...
2. wxLogGui now uses a special dialog instead of a wxMsgBox
3. wxComboBox doesn't limit the text to its size under MSW
4. removed windows.h from dummy.cpp because I think it's unneeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:26:25 +00:00
Ove Kaaven
08298395b2
Those wxTRACE_* string constants appears to need wxT()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:53:10 +00:00
Karsten Ballüder
223d09f6b5
replaced T() makro with wxT() due to namespace probs, _T() exists, too
...
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Vadim Zeitlin
bbfa03228a
1. wxLog::FlushActive() added
...
2. threads can be used in console mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:12:57 +00:00
Vadim Zeitlin
e90c1d2a19
many changes; major ones:
...
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Vadim Zeitlin
dd85fc6b89
started separating GUI parts of wxLog from the rest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 16:10:03 +00:00
Vadim Zeitlin
d2e1ef1928
1. wxFFile::Close() buglet fixed
...
2. wxLogTextCtrl doesn't use streams any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-15 15:45:50 +00:00
Robert Roebling
d1af991f49
A few compile things.
...
Changed resizing of multi-line text ctrl.
Augmented beta version to 8.
Distribution things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-11 15:56:57 +00:00
Robert Roebling
3883022093
Work on streams of all sorts. More to come.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-27 10:39:38 +00:00
Julian Smart
e90babdf85
Added progdlgg.cpp to makefiles; fixed true/false in treectrl.h; made IsFree
...
consistent (const omission)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-02 14:08:08 +00:00
Vadim Zeitlin
546db2a8f8
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 22:46:59 +00:00
Vadim Zeitlin
88ac883a0d
new makefiles (part I)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:32:12 +00:00
Vadim Zeitlin
42e69d6b43
1. wxMSW seems to work (please test and send your bug reports!)
...
2. accelerators in the menus a la GTK (actually slightly better) implemented
3. wxSplitter now uses events (and so the code which was broken by recent changes
works again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 00:53:27 +00:00
Ove Kaaven
9e3d3318dc
Uses Unicode strings. Now we've got a __TFILE__ macro, too (I think?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:17:06 +00:00
Vadim Zeitlin
c30aaf75f0
last fixes to fixes (MSW compilation works now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 21:18:49 +00:00
Brian Macy
7e81174d0b
Added time.h so it would compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 21:08:15 +00:00
Vadim Zeitlin
d6b9496a96
header changes for the fixes commited previously
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 20:49:05 +00:00
Vadim Zeitlin
3f4a0c5be3
_MSC_VER => __VISUALC__ change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 16:48:12 +00:00
Julian Smart
4bf78aae34
Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work;
...
changed #ifdef -> #if for wxUSE_STD_IOSTREAM; #ifdefed thread usage in app.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-04 21:51:15 +00:00
Robert Roebling
f5abe9111b
Proofed that iostreams break threads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-03 16:54:26 +00:00
Julian Smart
184b5d99a5
Changes to WXDLLEXPORT keyword position for VC++ 6.0; changed
...
wxTrace to wxDebugLog in memory.cpp and also app.cpp (please check this works
on wxGTK!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-22 22:32:53 +00:00
Julian Smart
4b5f3fe655
Motif and other mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-26 17:10:25 +00:00
Vadim Zeitlin
c085e33398
minor changes a bit everywhere + a small wxLog change (Enable()/IsEnabled()
...
added) + wxTimer member vars are made protected again (but a friend decl
added for the callback)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-14 23:53:24 +00:00
Vadim Zeitlin
03f38c58fd
1. wxTimer::Start() returns bool in wxGTK too (other minor corrections
...
to this class, such as "const" addition, Notify() is = 0 now...)
2. wxGTK::wxTextCtrl::Delete renamed to Clear for consistency
3. wx/wx_prec.h now includes wx/setup.h even if !wxUSE_PRECOMP because
otherwise (recently added) tests "#if wxUSE_IOSTREAMH" donb't work.
4. Other compilation fixes for wxGTK (now it compiles again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-12 13:09:15 +00:00
Julian Smart
fbc535ff08
Changes related to stream includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-12 07:46:15 +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
Vadim Zeitlin
c9dac6640f
ok, now it _does_ compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-07 15:38:51 +00:00