Václav Slavík
cb352236d9
added code for checking if the current locale is UTF-8 at runtime
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:42:13 +00:00
Václav Slavík
6c4f5ea559
compilation fixes for !wxUSE_INTL case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 13:32:05 +00:00
Vadim Zeitlin
0e5ab03007
include <locale.h> before using setlocale()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 12:56:54 +00:00
Vadim Zeitlin
d774f9161c
added wxAppTraits::SetLocale() and call it during wxApp initialization in all ports, not just wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 01:46:14 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Robert Roebling
db9febdf41
Actually use new GTK+ native assert dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:55:26 +00:00
Robin Dunn
a5bbc20278
Revert reentrancy patch ( #1573619 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:22:10 +00:00
Vadim Zeitlin
475a93b76a
moved GetLayoutDirection() to GUI wxApp, it has nothing to do in wxAppConsole
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 22:34:53 +00:00
Robert Roebling
5fa150e233
Added part of patch
...
[ 1573619 ] Fix for Reentrance problems in events
in slightly modified form.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:28:00 +00:00
Włodzimierz Skiba
57bd4c6031
Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Włodzimierz Skiba
b137e49318
Build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 19:22:57 +00:00
Vadim Zeitlin
978af86426
merge of RTL changes (with many modifications) from SOC2006_RTL branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 13:35:13 +00:00
Włodzimierz Skiba
de6185e212
Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 10:39:23 +00:00
Włodzimierz Skiba
8ecff18117
Include wx/list.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 07:31:44 +00:00
Vadim Zeitlin
acc476c530
fixed __FUNCTION__ use in Unicode build (it's a variable, not a macro)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 17:00:16 +00:00
Vadim Zeitlin
b0d8bfa6cd
don't throw away the first three stack frames in the assert stack dump (fix needed after recent assert cleanup/changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:59:58 +00:00
Vadim Zeitlin
dfa0b52f4a
show the function in which the assert failure occured if the compiler supports it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:19:53 +00:00
Vadim Zeitlin
497a2d6d54
don't evaluate assert expression unless the condition is false (patch 1450705)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:17:49 +00:00
Vadim Zeitlin
2dc62891c4
moved OnExceptionInMainLoop() from wxAppConsole to wxAppBase because
...
1. console apps have no main loop
2. in non-monolithic mingw32 build, rethrowing an exception thrown from the
GUI in the base DLL doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:12:49 +00:00
Vadim Zeitlin
2ee96a251c
fix memory leak of wxMessageOutput if wxApp::OnInit() returned false
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 01:02:48 +00:00
Vadim Zeitlin
677856c9ef
don't use %08p format string, gcc complains about it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 23:07:58 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
8d79ccefda
fixed Sun CC warning about arg[cv] parameters hiding wxApp members
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 14:30:18 +00:00
Vadim Zeitlin
fe856cc55b
no need to check dbghelp DLL initialization in GetAssertStackTrace() explicitly any more now that wxStackWalker doesn't log an error if it failed to do it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 23:58:54 +00:00
Stefan Csomor
40ba2f3bcd
OSX two-level header fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-24 13:28:52 +00:00
Michael Wetherell
121aea4614
Add test that wxABI_VERSION is not set when compiling the library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 12:55:45 +00:00
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