Commit Graph

255 Commits

Author SHA1 Message Date
Vadim Zeitlin
58ad1bab8c use wxFileName to change catalog extension instead wxString methods, this fixes problems with dots inside file names (modified patch 1169837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 16:21:41 +00:00
David Elliott
267e11c550 Use wxFontMapperBase::Get instead of wxFontMapper::Get from wxBase code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 06:51:56 +00:00
Włodzimierz Skiba
525d858363 Last .empty() string source cleaning before 2.5.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 13:57:02 +00:00
Stefan Csomor
b51daa4f6c using lang param, to have a CFLanguage be consistent with C-Locale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 06:45:27 +00:00
Vadim Zeitlin
eb48778d4d fix to the last fix (see comments in patch 1093811)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 13:51:06 +00:00
Vadim Zeitlin
bea561cec0 fixed crash when setting locale failed (replaces patch 1093811)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 23:44:36 +00:00
Stefan Csomor
85fb220621 corrected setting the locale of the c-lib for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 13:42:14 +00:00
Stefan Csomor
1ad48afbfd avoid locale that always returns US-ASCII on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 09:50:11 +00:00
Włodzimierz Skiba
2e0ef2ae56 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:36:46 +00:00
Ron Lee
f8a586e08e Cruft cleanup from MJW, strip the tabs out of sound.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 03:30:07 +00:00
Vadim Zeitlin
30984deafc new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFileOffset only, make wxInvalidOffset an int (main part of the patch 1063498)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:02:58 +00:00
Ron Lee
b40a6748eb This size/offset stuff is a mess, but leaving this one warning
about a mismatch that makes the test a NOOP is just silly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 14:37:55 +00:00
Vadim Zeitlin
170b04bae6 use size_t for the total size of data instead of wxFileSize_t (msg catalogs can't be that big...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 11:31:27 +00:00
Vadim Zeitlin
67c20e133e use wxFileSize_t instead of wxFileOffset or off_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:34:21 +00:00
Włodzimierz Skiba
254a21292b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:38:40 +00:00
Vadim Zeitlin
4be927a2d0 signed/unsigned comparison warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 11:16:22 +00:00
Vadim Zeitlin
c4761f668a wxFile::Length() return type fix (replaces last check in)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 12:05:29 +00:00
Vadim Zeitlin
ed7c11abc8 warning fix after huge file patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 11:29:12 +00:00
Ryan Norton
1cc549e58c warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 00:12:28 +00:00
Włodzimierz Skiba
7beb59f36c Source cleaning: whitespaces, tabs, -1/wxDefaultCoord/wxNOT_FOUND, TRUE/true, FALSE/false, !!/!IsEmpty().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 18:13:32 +00:00
Vadim Zeitlin
e6bf95736e compilation fix for a patch which didn't compile...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:52:40 +00:00
Vadim Zeitlin
c48908df67 added GetHeaderValue() (patch 974427)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:30:42 +00:00
Vadim Zeitlin
f0ab09ccd0 replace wxLANGUAGE_DEFAULT with GetSystemLanguage() result in GetLanguageInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 22:22:31 +00:00
Vadim Zeitlin
976266244c recognize roman8 charset as us-ascii (this is wrong but better than not recognizing it at all) (fixes bug 978251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:48:15 +00:00
Václav Slavík
d721baa9e6 allow msgids in !=English languages (based on Stefan Kowski's patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:30:32 +00:00
Vadim Zeitlin
b7b97e7726 don't suppose that string literals can be casted to non-const char *, newer compilers complain about it (replaces patch 974652)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:32:29 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +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
Václav Slavík
e6cea1d392 corrected wxLANGUAGE_CHINESE to use same default as win32 (Taiwan)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 22:16:01 +00:00
Vadim Zeitlin
ea8f6fc718 initialize m_initialized to false to avoid spurious asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-17 22:20:42 +00:00
Stefan Neis
3c221c5088 Compilation fix for OS/2 specific "Innotek gcc" port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 17:23:22 +00:00
Václav Slavík
c76b647492 fixed invalid memory read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 21:49:54 +00:00
Stefan Neis
3fe7375573 Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:16:55 +00:00
Julian Smart
1e8bd6b2ae Fixed Unicode breakage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 23:22:01 +00:00
Stefan Neis
60d876f374 Applied and extended patch 886524 (wxGridCellFloatEditor doesn't
accept '.' and '-').


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:27:22 +00:00
Stefan Csomor
9e68745562 adding textencoding for classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 08:02:40 +00:00
Václav Slavík
3aefa658c8 fool proof fix for gcc warnings on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 11:32:55 +00:00
Václav Slavík
8bcf4c86f4 use at most -O1 with BCC, it is broken and cannot correctly compile this file with -O2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 10:40:47 +00:00
Václav Slavík
8a942c3dd3 (blind) fix for gcc warning on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-30 12:57:51 +00:00
Václav Slavík
1481b2adb2 reverted rev 1.113
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-30 11:25:18 +00:00
Stefan Csomor
ec79aded14 systen encoding for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:38:40 +00:00
Václav Slavík
0b556b005e fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-21 17:59:39 +00:00
Stefan Csomor
008c46add5 gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-20 18:17:48 +00:00
Václav Slavík
395a670159 don't return error if we can't load English catalog, it is normal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 00:21:32 +00:00
Václav Slavík
25a5f9a9e2 use tl_PH locale instead of tl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-09 15:29:48 +00:00
Václav Slavík
549a7c375f set m_language even when wxstd.mo wasn't loaded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 20:03:17 +00:00
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