Commit Graph

209 Commits

Author SHA1 Message Date
Václav Slavík
3202d00dc9 assert if wxLocale::Init called twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 19:33:35 +00:00
Václav Slavík
c7c0629157 fixed crash if szLocale==NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-24 09:32:29 +00:00
Vadim Zeitlin
999836aaca warning fixes for BCC and OW (heavily modified patch 819146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
a509f83054 VC++ release mode warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 01:46:17 +00:00
Václav Slavík
849a28d0da added gettext plural forms support (patch #785660 with modifications)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 22:38:00 +00:00
Stefan Neis
f284605f65 Fixed compile error (seen on OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 10:19:37 +00:00
Václav Slavík
0c93d67c86 get rid of warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 12:54:55 +00:00
Václav Slavík
62b78322e1 wxStrdup(NULL) doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 17:27:04 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Václav Slavík
2d34a3036e better attempts to try .utf-8 suffix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 09:40:21 +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
Vadim Zeitlin
869c75498a added some checks for .mo integrity (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:35:56 +00:00
Václav Slavík
41524ffcc6 applied modified UTF-8 locales patch (766893)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:28:44 +00:00
Václav Slavík
4a6e4a46a3 added wxLocale::GetLanguageName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 10:16:19 +00:00
Vadim Zeitlin
10545ca4e7 fix for a crash in ~wxLocale and incorrect GetLanguage() return value (patch 729758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 17:06:41 +00:00
Václav Slavík
cf5e94bc6d fixed Norwegian Bokmal code to conform to new ISO 639-2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 22:48:01 +00:00
Václav Slavík
65dc921d3f don't report setlocale failure if trying to set Unicode-only language
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 23:20:36 +00:00
Stefan Csomor
44c44c82a3 wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:21:51 +00:00
Julian Smart
55d99c7a77 Fixed copyrights and licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:28:33 +00:00
Václav Slavík
3ebd765df5 fixed Traditional Chinese mapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 19:25:47 +00:00
Vadim Zeitlin
9d1e1be463 added wxLocale::FindLanguageInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 16:43:10 +00:00
Václav Slavík
e879e020e7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 23:32:04 +00:00
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