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
Vadim Zeitlin
a6c2e2c765
include wx/msw/missing.h after wx/msw/private.h, otherwise we get warnings when compiling without PCH (replaces patch 1674510)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:56:28 +00:00
Vadim Zeitlin
e6733873f5
multiple fixes to wxJoystick under Unix and new index-based API for accessing joystick buttons and axes (patch 1678497)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:51:43 +00:00
Vadim Zeitlin
0fa5ce0c76
use safer RemoveEventHandler() instead of PopEventHandler() (patch 1678016)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:43:32 +00:00
Vadim Zeitlin
9092371c0a
do nothing in ShowHidden() if the flag doesn't change (patch 1678963)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:30:33 +00:00
Vadim Zeitlin
e26d5213ec
call GetWidth/Height() only once in Rotate() and not inside the loops (patch 1681544); some minor code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:19:16 +00:00
Roman Rolinsky
f2ccaa2279
another fix for undo/redo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 22:39:26 +00:00
Vadim Zeitlin
75cbbafdeb
don't add wxVSCROLL if only wxHSCROLL is explicitly specified (and vice versa), only add (both) if no scrolling styles are specified at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 20:32:36 +00:00
Roman Rolinsky
a023b456b4
- undo/redo fix for nonchecked items
...
- global modified state set as soon as possible
- "option" property renamed to "proportion"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 19:17:27 +00:00
Vadim Zeitlin
733f486aac
added support for wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:44:41 +00:00
Stefan Csomor
03cebc22cb
reverting one line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:32:29 +00:00
Vadim Zeitlin
b62f94ff48
added wxGridUpdateLocker helper class wrapping Begin/EndBatch() calls in a more convenient and safe way
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:25:15 +00:00
Julian Smart
7660b85c31
Don't send initial event in ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 16:09:57 +00:00
Václav Slavík
fab3f50eb7
fixed wxDataViewCtrl compilation with DigitalMars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 15:31:38 +00:00
Vadim Zeitlin
f06db45d64
removed outdated Classic files to avoid confusing people
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 04:04:54 +00:00
Vadim Zeitlin
fa5f72b36f
added wrapper functions allowing to postpone loading of GDI+ DLL until it's really needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:43:33 +00:00
Vadim Zeitlin
0024ec5086
extracted code including gdiplus.h in a separate header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:41:52 +00:00
Roman Rolinsky
8c64c153a0
searching for plugins in XRCEDPATH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 02:30:13 +00:00
Vadim Zeitlin
5ab9534bc6
fix GetSize() for large files (patch 1680876)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:18:05 +00:00