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
35d764b08c
fixed another bug in strconv
...
(Off by one error that did not demonstrate itself in poEdit before because
windows native convertion wasn't used due to wxLocale returning cp12xx instead
of windows-12xx. MultiByteToWideChar and WideCharToMultiByte return size of
needed buffer, not number of output characters. Author of the code didn't know
this, hence off by one.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 22:56:40 +00:00
Václav Slavík
9c904e251a
fixed infinite loop when looking up nonexistent encoding in registry
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 22:55:01 +00:00
Vadim Zeitlin
eccf1b2c76
another attempt to fix strconv.cpp compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 12:19:06 +00:00
Julian Smart
264b3fc80f
Project file updates; cast in strconv.cpp to compile with VC++ 6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 07:49:38 +00:00
Vadim Zeitlin
14c90e0074
another compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 23:15:02 +00:00
Vadim Zeitlin
a3f2769e09
compilation fix for SIZEOF_WCHAR_T being undefined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:00:32 +00:00
Vadim Zeitlin
bab1e72221
add #error for platforms with weird sizeof(wchar_t)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 23:22:44 +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
82713003dc
fix for last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 01:30:51 +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
23ca6e208f
applied patch #424066
...
(a bit better attempt to detect system encoding in absence of LANGINFO)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 17:02:43 +00:00
Václav Slavík
4def3b3595
some more src code reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 18:32:17 +00:00
Václav Slavík
5ce0e4ac06
supressed error messages when wxCSConv cannot find registry key and/or value when looking for charset information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 16:41:58 +00:00
Václav Slavík
3caec1bb33
added wxLogError to wxCSConv so that it complains if the encoding is unknown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:26:16 +00:00
Václav Slavík
95c8801cdf
added check for iconv() version; fixed strconv.cpp to compile with both prototypes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-24 22:16:24 +00:00
Robert Roebling
f1339c5685
My iconv (GLIBC 2.2) uses char** as the second
...
parameter. altough it is the in-buffer for the
character conversion. I added some very ugly
conversion to strconv to make it compile. While
being at it, I also reformated the whole file,
it looks less like Assembler or Perl now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-22 14:06:55 +00:00
Ove Kaaven
d43088ee78
wchar_t byte-swapping is not necessary if __STDC_ISO_10646__ is defined.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-29 13:19:50 +00:00
Vadim Zeitlin
b0a6bb75bc
1. a couple of compilation warnings fixed (strconv/listctrl)
...
2. now reenable windows disabled by wxWindowDisabler slightly earlier:
this solves the problem with "wrong" window being brought to top and
eliminates the need for BringWindowToTop() and SetActiveWindow() in
our code
3. style wxFRAME_FLOAT_ON_PARENT is now obsolete and unused, all frames
have WS_EX_APPWINDOW style and appear on the taskbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 20:19:10 +00:00
Ove Kaaven
3e61dfb0e8
Try to include windows.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 13:47:19 +00:00
Guillermo Rodriguez Garcia
0a1c1e6214
Fixed broken compilation due to Ove's last nice changes :-(
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 13:28:01 +00:00
Ove Kaaven
1cd5241886
An attempt at make the wxCSConv class useful. Uses iconv under Unix,
...
Internet codepages under Windows, wxEncodingConverter if all else fails.
Not really complete, not really optimized, nor really tested,
but I'll let you check whether it could be useful at least.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:25:15 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Julian Smart
d834f22c8e
Some C++Builder fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 19:53:30 +00:00
Julian Smart
c3b177ae63
Some BC++ 5.4 fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 13:29:43 +00:00
Karsten Ballüder
223d09f6b5
replaced T() makro with wxT() due to namespace probs, _T() exists, too
...
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Vadim Zeitlin
e90c1d2a19
many changes; major ones:
...
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Robert Roebling
6001e347ba
Added strconv
...
Renamed zipstream -> zipstrm
Updated makefiles etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 11:31:18 +00:00