Commit Graph

39137 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
76ff8ed673 don't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run- or compile-time) (1st part of patch 1596624)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:46:23 +00:00
Vadim Zeitlin
9076e56d93 fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:39:58 +00:00
Vadim Zeitlin
399a4fe570 call wxYield() to force display of the busy info frame contents under wxGTK (patch 1511746)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:20:33 +00:00
Vadim Zeitlin
2d76b6d8c3 implemented wxMemoryInputStream::CanRead() and added tests for CanRead() to all stream tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:38:09 +00:00
Vadim Zeitlin
764471557e added wxMemoryInputStream(wxInputStream&, size_t) ctor (modified patch 1680108)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:28:28 +00:00
Vadim Zeitlin
badea31707 gcc signed/unsigned warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:01:59 +00:00
Vadim Zeitlin
67393addd8 corrected WX_DEFINE_VARARG_FUNC_NOP usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:00:51 +00:00
Vadim Zeitlin
f6eaf52a45 output '}' as wxChar, not char, which results in using the int overload of operator<<() in Unicode build (patch 1682643)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 14:39:17 +00:00
Vadim Zeitlin
7e7e2b4e9a removed Classic files from the manifest after removing them from the cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 14:28:10 +00:00
Václav Slavík
c9f7896861 first phase of transition to unified Unicode build:
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
cd632a8617 shutdown sockets gracefully instead of doing it with TCP reset (patch 1682438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 02:14:33 +00:00
Václav Slavík
480f42ec8e added missing #pragma hdrstop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 20:19:35 +00:00
Václav Slavík
f8087c0d2c changed wxPlatform implicit conversion to string to return const reference to wxString instead of const wxString object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 20:10:17 +00:00
Roman Rolinsky
37867b24f6 default setting fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 19:09:58 +00:00
Vadim Zeitlin
7b2d175c47 regenerated after wxSelectDispatcher addition (patch 1618976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:43:44 +00:00
Vadim Zeitlin
47239bd6b6 wxX11 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:40:12 +00:00
Vadim Zeitlin
72fa3e8a21 make wxFDIOHandler dtor virtual, it's meant to be used as a base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 16:17:04 +00:00
Vadim Zeitlin
30c45bdd06 refactoring: replace wxSocketDispatcher with more generic wxSelectDispatcher (patch 1618976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:45:12 +00:00
Roman Rolinsky
7058b79442 warning about %comments, CHANGES.txt updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:42:23 +00:00
Vadim Zeitlin
bdba6fdc0d VC6 has problems with std::vector and identifiers names 'iterator' in GDI+ headers; switch to using our own stack class instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:17:36 +00:00
Vadim Zeitlin
46ba1bb26d VC6 compilation fix (don't reuse the same variable in 2 for loops)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:13:22 +00:00
Vadim Zeitlin
609da8bbad added more message names to wxGetMessageName() (modified patch 1611819)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:24:01 +00:00
Roman Rolinsky
5050b626e5 Added Preferences dialog (and defaults for some parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:19:53 +00:00
Roman Rolinsky
552240ce17 collapsing tool panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:14:49 +00:00
Václav Slavík
b7452b3a0e removed wxArrayString casting hack, it doesn't work with the new wxString class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 12:57:46 +00:00
Roman Rolinsky
c1dda21b64 default values for option and flag (TODO: preferences dialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:27:25 +00:00
Julian Smart
5bcdac458c Further correction in case where string value is omitted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:13:14 +00:00
Vadim Zeitlin
632e5b636d don't waste time updating state of tools in a hidden toolbar (patch 1612415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 02:30:35 +00:00