Michael Wetherell
a7b62a3f5a
Revert check on wxABI_VERSION since it doesn't work for all compilers
...
VS: ----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 19:10:10 +00:00
Michael Wetherell
67d124f620
Add wxABI_VERSION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 00:58:28 +00:00
Václav Slavík
96d38c7e0d
rolled back exceptions handling patch, it relied on incorrect assumption about vtables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 09:56:18 +00:00
Václav Slavík
924b84ab94
changed exceptions handling to work under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 08:20:50 +00:00
Vadim Zeitlin
1c7b2f0199
use wxLogBuffer to ensure that we don't lose error messages during initialization; only switch to wxLogGui when it's really safe to use it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 23:36:53 +00:00
Vadim Zeitlin
7b1c346952
removed duplicate wx/msw/debughlp.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 09:14:06 +00:00
Julian Smart
424d08955c
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 07:53:49 +00:00
Robin Dunn
388186f7e1
Compile fix for when wxUSE_STACKWALKER == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 02:38:07 +00:00
Robin Dunn
6d6a27b234
Fixed compile error on non-MSW platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 02:31:22 +00:00
Vadim Zeitlin
4a92d4bc8d
don't try to show stack trace in assert msg box unless it's available (replaces patch 1212925, fixes bug 1212147)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 22:38:40 +00:00
Ryan Norton
7fdfc5b3a2
cleanup for wxUSE_THREADS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 17:09:25 +00:00
Julian Smart
de4de64f1c
Added wxUSE_THREADS guards
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 16:32:34 +00:00
Ryan Norton
f54043c214
fix 10.2 shared builds from crashing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 18:39:07 +00:00
Vadim Zeitlin
a625f45442
show 20 lines of stack in assert, this should still hold on any reasonable screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 23:25:10 +00:00
Julian Smart
2c9b313119
Frames to skip now honoured for Unix stackwalking
...
Limited depth to 10 for assert dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 16:26:49 +00:00
David Elliott
f0756afed9
Allow compilation with MW CRT on OS X. Unlike BSD CRT, MW CRT does not
...
define SIGTRAP so we have to use the Mac OS Debugger() function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:27:15 +00:00
Vadim Zeitlin
6c8f8d923a
show call stack in the assert dialog box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 16:14:19 +00:00
Włodzimierz Skiba
b494c48b31
.empty() string cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-01 19:37:36 +00:00
Włodzimierz Skiba
eecb33b018
Old API deprecated. Use new and remove old usage where necessary.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
Włodzimierz Skiba
82ef81ed9c
Final MSW/PalmOS split. Remove dump copies of MSW specific code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 07:22:25 +00:00
Włodzimierz Skiba
4055ed8281
Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Julian Smart
ffecfa5aeb
Committed William Osborne's wxPalmOS port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +00:00
Włodzimierz Skiba
4629016dfb
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 17:30:19 +00:00
Włodzimierz Skiba
fa0d344773
wxUSE_LOG fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 17:04:02 +00:00
Włodzimierz Skiba
00aa028958
Missed conditional compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 16:14:42 +00:00
Václav Slavík
da1d313d80
fixed a bug that prevented wxLogGui from being used by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 07:40:57 +00:00
Julian Smart
0a53b9b8fe
Missed reversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 17:31:17 +00:00
Włodzimierz Skiba
86f8d1a8bb
Missed headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 16:59:35 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Włodzimierz Skiba
095d49f2fa
Fix to wxChar* access.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 12:22:34 +00:00
Vadim Zeitlin
78361a0e98
moved OnExceptionInMainLoop() in .cpp from header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 11:16:32 +00:00
Robin Dunn
bc334f39ec
Fixes Bug [ 930200 ] Async does not work
...
Because the wxConsoleAppTraits was being created for GUI apps
wxExecute would fail if the wxEXEC_ASYNC flags was used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 20:02:41 +00:00
Vadim Zeitlin
6ed5d6cbfb
include just wrapwin.h and not the entire msw/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:04:31 +00:00
David Elliott
758f1d2e02
Reverting wxAppTraits GSocket patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 18:40:45 +00:00
David Elliott
49bcad6219
Added wxAppTraits::CreateGSocket() as well as implementations for wxBase and
...
wxGUI. This method should return a new derived instance of GSocketBSD which
implements the EventLoop_ pure virtual functions appropriately.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 21:35:00 +00:00
Vadim Zeitlin
6f054ac5e8
documented how to handle C++ exceptions in wxWindows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:30:25 +00:00
Stefan Csomor
939fba6c17
removal of pc-mac charset conversion for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Robin Dunn
2dbc444a19
Move more stuff into base for wxMac so that two level namespace dylibs
...
can be used on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 00:03:18 +00:00
Vadim Zeitlin
49d3b775c7
use GetTraits(), not m_traits, in OnAssert()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 22:20:59 +00:00
Václav Slavík
b880adecc4
build options signature is too long, use more lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:31:54 +00:00
Václav Slavík
38bb138f09
fixed wxBase and GUI separation for sockets code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00
Václav Slavík
2a7c760593
reworked wxBuildOptions code to work even w/o function inlining
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 13:17:17 +00:00
Vadim Zeitlin
b913d3ed6e
moved wxUniv-specific GUI stuff from wxBase to wxCore; this fixes wxUniv DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 21:00:52 +00:00
Vadim Zeitlin
7cafd224fe
replaced the old wxApp with wxAppConsole::ms_appInstance of type wxAppConsole; wxTheApp is now a macro for backwards compatibility (this fixes problems with contradictorary wxTheApp definitions in separate build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-01 23:00:16 +00:00
Vadim Zeitlin
f0244295e3
added wxAppTraits::CreateRenderer() which may be used to customize the renderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 10:59:42 +00:00
Vadim Zeitlin
ce39c39e1f
we don't use wxUSE_FILENAME any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 20:49:39 +00:00
Julian Smart
1c193821a9
More WinCE mods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:21:47 +00:00
Mattia Barbon
df5168c427
Added --use-stl to cnfigure, wxUSE_STL to setup0.h
...
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
Made wxBase compile when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Václav Slavík
56fae7b8f5
compilation fix for #ifdef __WXDEBUG__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:33:02 +00:00
Vadim Zeitlin
7843d11bdc
removed static methods from wxAppTraitsBase, this doesn't work well in non-monolithic DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 12:42:14 +00:00