Commit Graph

39265 Commits

Author SHA1 Message Date
Václav Slavík
c7554da8a9 tagged IsEmpty(), Strlen() and Stricmp() global functions as deprecated, 2.8-compat (they're documented as compatibility only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:47:10 +00:00
Václav Slavík
5d36cf23a7 fixed wrong include path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:38:20 +00:00
Václav Slavík
dbecee02ed use wxUin32 for wxUniChar::value_type: we need 32bit for it regardless of the platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:22:11 +00:00
Václav Slavík
d1b7ed6792 wxUniChar::unicode_type -> value_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:17:37 +00:00
Václav Slavík
e80118cfb9 added makefile targets for building individual libs, e.g. 'make wxnet'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:12:19 +00:00
Benjamin Williams
ce457f1245 applied patch 1683441
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:52:48 +00:00
Václav Slavík
e3f6cbd99c split wxchar.h into several smaller headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:45:38 +00:00
Václav Slavík
dd0ef3324b split wxchar.h into several smaller headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:39:58 +00:00
Vadim Zeitlin
c8eb817283 added wxString::operator=(const wxCStrData&) to make it possible to compile code like "wxString s = s.c_str() + 1" again (also fixes wxGTK1 compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:19:56 +00:00
Vadim Zeitlin
414b7b4016 added ctor for wxChar/WCharBuffer from wxCStrData in ANSI/Unicode build to make it possible to compile code like "wxCharBuffer buf = s.c_str()" again (in particular, fixes wxGTK1 compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:18:02 +00:00
Václav Slavík
e229d82e0e fixed wxDataViewCtrl compilation with DigitalMars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 13:03:02 +00:00
Vadim Zeitlin
0f767c96b2 fix non-PCH build after latest change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 12:52:06 +00:00
Vadim Zeitlin
f7b3c5ec4c handle 0 timeout in RunLoop() correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 02:29:49 +00:00
Vadim Zeitlin
8cdd754651 initialize m_maxFD to avoid passing invalid values to select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 02:27:34 +00:00
Vadim Zeitlin
ce2fe5bc8a implement DoStretchBlit() in terms of DoBlit() and SetUserScale()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:53:53 +00:00
Vadim Zeitlin
102798af35 compilation fix for switch(wxChar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:38:37 +00:00
Vadim Zeitlin
8b34b16301 return wxFONTENCODING_ISO8859_1, not wxFONTENCODING_SYSTEM, from wxLocale::GetSystemEncoding() when locale is C under Unix (why didn't we do this before?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:37:22 +00:00
Vadim Zeitlin
a14670e28e use wxCollapsiblePane in the log dialog (patch 1624796)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:23:03 +00:00
Vadim Zeitlin
96360917d3 fixed all the other ports broken by controls labels in wxToolBar patch commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:22:18 +00:00
Vadim Zeitlin
d8b48f4de9 compilation fix after wxUniChar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 01:21:07 +00:00
Vadim Zeitlin
9b13595038 fix compilation after c_str() changes, mainly by replacing c_str() with mb_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:59:08 +00:00
Vadim Zeitlin
551fe9528a added wxXmString ctor from wxCStrData to fix compilation errors after c_str() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:53:06 +00:00
Vadim Zeitlin
a1f1afe401 added missing wxGUIAppTraits::SetLocale()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:49:03 +00:00
Vadim Zeitlin
c1df0a3b58 add overloads of wxString and wxCStrData::operator[] taking long, for consistency with std::string classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 00:06:17 +00:00
Vadim Zeitlin
acf0c9acfc added wxCStrData::operator+(long) overload (this fixes some compilation errors in wxGTK1 and probably not only there)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:59:09 +00:00
Vadim Zeitlin
07d02e9ee0 fixed all the other ports broken by controls labels in wxToolBar patch commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:57:20 +00:00
Vadim Zeitlin
2a015b8917 replaced c_str() with mb_str() to fix compilation after c_str() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:52:35 +00:00
Vadim Zeitlin
6b4f099df5 fixed typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:18:55 +00:00
Vadim Zeitlin
cdb11cb99e added labels support for toolbar controls for wxMac and wxMSW (modified patch 1613603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:13:18 +00:00
Vadim Zeitlin
88c23b64c7 fix assert because of passing more than one border bit in style to the base class Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:07:58 +00:00
Vadim Zeitlin
02c7347b7f modify m_encoding, not m_name, in wxCSConv::CreateConvIfNeeded() if we don't have either (as is the case with wxConvLocal); this fixes an infinite recursion in wxMac after the latest changes as wxLocale::GetSystemEncodingName() there returned empty (and not NULL) string which resulted in call to wxFontMapperBase::CharsetToEncoding() and reentrancy into wxConvLocal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 21:12:20 +00:00
Vadim Zeitlin
d2ea08b9e1 don't check if the file exists if we don't use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 21:08:17 +00:00
Vadim Zeitlin
b2c3b76648 give us wxSTAY_ON_TOP style if our parent has it, otherwise we wouldn't be visible behind it (patch 1683221)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 20:34:50 +00:00
David Elliott
8b6fd08a41 wxTopLevelWindowCocoa::SetTitle title parameter is used as of VZ 1.35.
Compilation fix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 19:26:44 +00:00
Vadim Zeitlin
c12291f32c fix XModifierKeymap memory leak (patch 1683137)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:48:04 +00:00
Vadim Zeitlin
466e87bd8c use wxStandardPaths and wxFileName in wxFileConfig resulting in big code simplification and cleanup but also in change of the default file locations under Windows (replaces patch 1620492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:34:11 +00:00
Vadim Zeitlin
e3b81044ee wxDC::StretchBlit() for wxMac and wxMSW (patch 1611973)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 15:32:27 +00:00
Vadim Zeitlin
fa3b08caf1 fix the run-time behaviour after the last compilation fixing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:56:05 +00:00
Vadim Zeitlin
abbb59e8eb added wxJoin and wxSplit functions (modified patch 1638950)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:43:41 +00:00
Vadim Zeitlin
2d2dd913b7 fix VC warning about applying unary minus to unsigned type yielding still unsigned result by using wxFileOffset instead of size_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:32:55 +00:00
Vadim Zeitlin
48eba62925 compilation fixes after c_str() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:29:30 +00:00
Vadim Zeitlin
4af1a3931e removed minimal-specific Info.plist; updated the version in the generic one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 11:54:18 +00:00
Vadim Zeitlin
3ddb5c284b list samples/Info.plist in one manifest only (the Mac one); remove samples/minimal/Info.plist and (non existent) samples/minimal/minimal.pbproj/project.pbxproj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 11:51:22 +00:00
Vadim Zeitlin
c76f52c9c8 corrected typo in \texttt in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 23:19:28 +00:00
Vadim Zeitlin
b3eb9bf553 updated portability note for wxGetDiskSpace (patch 1682889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 23:05:50 +00:00
Vadim Zeitlin
f252b6587c fixed signed/unsigned comparison warnings; reformatted the code a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 22:55:05 +00:00
Vadim Zeitlin
1693108cfe compilation fixes after c_str() changes (due to casting of its return value to non-const wxChar *)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 22:52:29 +00:00
Vadim Zeitlin
f705f97d31 removed tests for WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 17:00:47 +00:00
Vadim Zeitlin
0727e0a7f8 produce better HTML output by using Unicode equivalents of LaTeX quotes and dashes (patch 1610494)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:57:31 +00:00
Vadim Zeitlin
216d173fba renamed meaningless IsRealClass() function in CanBeUsedWithXRCCTRL() because this is what it really does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:48:11 +00:00