Commit Graph

38 Commits

Author SHA1 Message Date
Vadim Zeitlin
64accea5fa added .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:49:42 +00:00
Vadim Zeitlin
e408bf5257 add safe wxStrlcpy() function and replaced all wxStrncpy() calls by it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:41:02 +00:00
Václav Slavík
193d0c9310 PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:32:40 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Dimitri Schoolwerth
3c832d589d added Thai/CP874 support for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 14:16:50 +00:00
Włodzimierz Skiba
373a5fb355 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@29697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 13:36:41 +00:00
Włodzimierz Skiba
2bee303343 Fix for wrong replacement of the FALSE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 18:42:51 +00:00
Włodzimierz Skiba
cbe874bd32 Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, ::.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 12:17:55 +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
Vadim Zeitlin
b19dae2c04 in wxGetFontEncFromCharSet(): map only DEFAULT_CHARSET to wxFONTENCODING_SYSTEM (but not all the others); also handle SYMBOL_CHARSET separately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:55:55 +00:00
Vadim Zeitlin
24056b9e28 serialize wxNativeEncodingInfo using font names, not numbers which are subject to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:50:22 +00:00
Vadim Zeitlin
3bf5a59b5e pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Mattia Barbon
e4ffab299a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 13:34:49 +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
Vadim Zeitlin
bddd7a8d89 renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e fixes needed for separate DLL build to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Vadim Zeitlin
e2478fde62 wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Julian Smart
6c9a19aaba Removed erroneous copyright names and corrected licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Vadim Zeitlin
4ec6efd6ab use DEFAULT_CHARSET instead of ANSI_CHARSET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:25:14 +00:00
Václav Slavík
98a5281903 fixed another 2 instances of wxStrncpy bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:30 +00:00
Vadim Zeitlin
7936354da7 code clean up, avoid duplicating the same code in font.cpp and fontutil.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 01:06:15 +00:00
Vadim Zeitlin
673ad11240 fixed stupid bug which prevented automatic encoding conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 01:51:42 +00:00
Mattia Barbon
e757496edf Added HANGUL_CHARSET for MSVC5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 18:57:00 +00:00
Vadim Zeitlin
bc4e6fcdc3 applied DBCS patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:15:04 +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
Vadim Zeitlin
55bd3f34b6 use screen resolution, not hard coded one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-13 14:43:23 +00:00
Vadim Zeitlin
09fcd88955 applied wxNativeFontInfo patch #103089
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-24 17:16:04 +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
6b82d89473 Corrected font calculation (use screen resolution now); and check for mask in m_image.cpp
or get assert in DoBlit


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 12:24:57 +00:00
Julian Smart
bf027a6daa Avoided rounding errors in font point size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 17:06:44 +00:00
Václav Slavík
1e1d0be191 wxNativeEncoding::To/FromString now stores wxFontEncoding info as well (don't worry, wxFontMapper stores data under different name now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:53:19 +00:00
Václav Slavík
6b0eebc537 add wxFontEncoding member into wxNativeEncodingInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 23:45:24 +00:00
Ove Kaaven
0e89bb17e8 Another Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:44:32 +00:00
Julian Smart
f3314fbcb4 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 08:16:31 +00:00
Julian Smart
0e528b997e Added some makefiles, fixed a BC++ problem in controls.cpp; changed some class
ordering for VC++ 1.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:12:10 +00:00
Vadim Zeitlin
11c7d5b6d1 1. wxFontMapper seems to work for wxMSW
2. font functions moved into a separate file, duplicated code in font.cpp
   and fontdlg.cpp removed
3. wxCustomDataObject docs finished


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:43:31 +00:00