Commit Graph

101 Commits

Author SHA1 Message Date
Václav Slavík
06e92fcce1 fixed crash if szLocale==NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-24 09:32:29 +00:00
Václav Slavík
e0ea65c81b backported intl.cpp fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:45:03 +00:00
Stefan Neis
9c075e212d Fixed compile error (seen on OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 10:19:37 +00:00
Václav Slavík
a9c1f709af fixed Norwegian Bokmal code to conform to new ISO 639-2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 22:48:01 +00:00
Julian Smart
c9cdb51104 Fixes for wxLocale::Init and Borland C++
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:08:12 +00:00
Václav Slavík
654992af19 fixed Traditional Chinese mapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 19:25:47 +00:00
Václav Slavík
616dfc166c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 23:32:04 +00:00
Vadim Zeitlin
454bf1cbe0 added semicolons after HASH_MAP (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:30:36 +00:00
David Webster
e29c3411d3 OS/2 bug fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 14:11:38 +00:00
Vadim Zeitlin
ebf126595a removed (ugly) workarounds unneeded any more because of 1.23.2.3 change in wx/buffer.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 22:19:24 +00:00
Václav Slavík
5c3290a9de use traditional Chinese for zh_TW on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-29 23:43:20 +00:00
Mattia Barbon
7a884e16cb Fix MinGW GCC 3.2/Unicode compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 18:18:10 +00:00
Robin Dunn
8ca8f1340c Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-20 01:12:36 +00:00
Václav Slavík
50297bd752 this is ugly as hell, but what
else can I do to make following cases different:
a) wxSetlocale returns
b) wxSetlocale returns NULL
?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 23:19:30 +00:00
Václav Slavík
73a0aac054 Fixed subtle memory allocation bug. Mysterious crashes in glibc may go away now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 23:12:11 +00:00
Vadim Zeitlin
bd126f0e8f use ISO8859-1 instead of UTF-8 in non Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 20:40:30 +00:00
Robert Roebling
54b25889d2 Replaced lots of ANSI/ASCII strings with their
Unicode equivalents, i.e. I put wxT() arounf
    them in lots of places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 21:48:06 +00:00
Robert Roebling
f8300041bd Lots of small changes to prevent glibc from crashing
when converting ansi strings to unicode. After
   this, you can use and display east asian locales
   in wxGTK, which looks sorta funny...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-23 17:32:15 +00:00
Robert Roebling
cd12eca16a New code for char and key events under GTK 2.0. This
uses the built-in input method which is required
    even for getting European characters. Key down
    events probably don't work anymore. It is still
    impossible to receive Unicode characters due to
    the limitations of wxKeyEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 10:15:31 +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