Václav Slavík
b78a78f779
(probably) fixed wxLocale::Init with Borland C++
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 19:58:53 +00:00
Vadim Zeitlin
525582584c
check for NULL szLocale in Init()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 12:39:00 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Vadim Zeitlin
dac7d53a83
added semicolons after HASH_MAP macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:28:02 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
14f8fa9d7f
added wxLocale::GetLanguageInfo()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 22:53:04 +00:00
Václav Slavík
c3ccca4a00
simpler fix for locale catalogs lookup bug (better one will hopefully follow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 22:24:19 +00:00
Robert Roebling
b1ac3b56e6
Added wxString::FromAscii() wxString::ToAscii().
...
Removed wxConvFile, made it a define wxConvLocal.
Exchanged some wxConvLibc to wxConvLocal calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-11 13:09:57 +00:00
Václav Slavík
5918786f9f
read message catalogs from the location where wxWin was installed, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 18:10:06 +00:00
Vadim Zeitlin
45e97ca0cd
don't look for the catalogs in the Unix standard paths under Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 23:22:48 +00:00
Gilles Depeyrot
432e839126
corrections for compilation with Apple DevTools
...
applied SourceForge patch #543872
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:43:49 +00:00
Václav Slavík
142b3bc26a
added wxFontMapper::Get/Set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:04:27 +00:00
Robin Dunn
9e7ed2b008
switch to _EXPORTED_ hash maps to avoid VC++ warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 01:43:27 +00:00
Vadim Zeitlin
84f858e94c
recognize ANSI_X3.4-1968 as US-ASCII
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:09:03 +00:00
Václav Slavík
821d0fef39
fixed MSVC's problems...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 00:04:02 +00:00
Václav Slavík
baf736e1f3
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:03 +00:00
David Webster
400c9be132
Do not use argument defaults in actual function argument list.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 01:52:18 +00:00
Václav Slavík
563d535e46
rewrote wxLocale to work in Unicode mode and support charsets better
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:28:15 +00:00
Vadim Zeitlin
5baa06bb62
wxMSW compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:22:42 +00:00
Vadim Zeitlin
cfb20656e1
use wxCOMPILE_TIME_ASSERT instead of the run-time checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:11:32 +00:00
Václav Slavík
b9c98327f7
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:19:17 +00:00
Vadim Zeitlin
9cf2855015
handle 646 charset under Solaris as US-ASCII
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:30:30 +00:00
Stefan Csomor
76a5e5d21e
removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private and typecasts)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:26:02 +00:00
Vadim Zeitlin
c914e99ed5
fix to wxLocale::GetString() calld with empty argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:24:02 +00:00
Václav Slavík
9b7f3e3023
fix for Unicode build -- wxMB2WXbuf cannot be initialized with NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 18:07:04 +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
Vadim Zeitlin
c7821f944f
more DBCS-related changes (patch 481898)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 18:49:51 +00:00
Vadim Zeitlin
efd1393bcc
applied a patch to ignore the modifiers (things like @euro) in LC_XXX vars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 15:58:23 +00:00
Vadim Zeitlin
124193837f
warning in Unicode compilation fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 23:34:25 +00:00
Vadim Zeitlin
70426fba08
fix for the short locale name construction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 18:19:54 +00:00
Stefan Csomor
0e32fdb872
added translation of mac system into language, adaption of search paths
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 19:13:08 +00:00
Václav Slavík
8079468d4d
Mingw Unicode fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:00:17 +00:00
Julian Smart
54800df8d8
Misc fixes, now menus are almost working on MicroWindows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 13:35:53 +00:00
Julian Smart
04ef50df3a
First pass at adding MicroWindows support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 10:58:59 +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
Václav Slavík
ecffe99226
standardized encoding names to windows-12xx and iso-8859-x forms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 22:53:38 +00:00
Vadim Zeitlin
ed582841a2
1. added wxAssertIsEqual() function to be used in wxASSERT()
...
2. made wxTrap() public, documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 16:35:38 +00:00
Václav Slavík
030c0beade
fixed stupid memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 16:19:17 +00:00
Václav Slavík
2ec6905c69
fixed new charset detection code (langinfo.h not included in intl.cpp; langinfo.h not neccessary in strconv.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-02 11:25:21 +00:00
Vadim Zeitlin
803c553734
Unix compilation fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 21:41:44 +00:00
Vadim Zeitlin
dccce9eae1
added wxLocale::GetSystemEncoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 20:27:37 +00:00
Václav Slavík
6957a370ff
minor comments tweaking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-29 22:24:54 +00:00
Václav Slavík
4178000933
made wxLocale::GetSystemLanguage and wxLocale::AddLanguage static;
...
wxLocale now converts strings according to LC_CTYPE if it contains charset information (and uses old code otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-25 22:19:44 +00:00
Vadim Zeitlin
ec37df5776
minor fixes to wxLocale::GetSystemLanguage(), test code for it added to the console sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 19:07:23 +00:00
Vadim Zeitlin
12ad1f5618
applied patch 404136 which is supposed to fix BC5.5 crashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-26 10:17:57 +00:00
Václav Slavík
63986ba653
fix for undefined LANG_XXX constants with some compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-07 21:47:55 +00:00
Václav Slavík
865a17302b
synced intl.cpp and intl.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-23 23:20:23 +00:00
Václav Slavík
88961c3eca
fixed stupid bug in LCID->locale string translation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-13 12:56:30 +00:00
Václav Slavík
c611452fe8
changed wxLogWarning('catalog not found') message to wxLogVerbose; wxLocale::Init now works with Windows9X, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-12 20:31:10 +00:00
Václav Slavík
d3f3e35f54
new locales code checked in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-10 18:31:26 +00:00