Commit Graph

47265 Commits

Author SHA1 Message Date
Vadim Zeitlin
166523d8d7 calling wcsnlen(NULL) does crash (under Debian and, according to the docs, should also crash with MSVC), contrary to what the comment claimed so don't do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:48:59 +00:00
Vadim Zeitlin
213b5041fe export wxActiveX stuff from core (not media) DLL (closes #8991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:44:16 +00:00
Vadim Zeitlin
68888eeaa8 compilation fixes for 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:41:25 +00:00
Vadim Zeitlin
9eab67251b forward declare wxEvent before using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:19:16 +00:00
Vadim Zeitlin
403dd8db63 add missing header for mingw32 PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:37:44 +00:00
Francesco Montorsi
7256e9b6ad remove also wxT(); it's confusing, too; do load wxstd.mo catalog after calling wxLocale::Init as to show a localized error message when opening NOTEXIST.ING; add some notes about the logic of the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:21:59 +00:00
Vadim Zeitlin
1649d2886b add a unit test checking that events are really propagated as they're supposed to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:21:50 +00:00
Vadim Zeitlin
29de6f400c ensure that ProcessEvent() is called for all the event handlers, not just the first one in event handlers list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:07:16 +00:00
Robert Roebling
23efa4bfb9 Illustrate usage of wxDataViewListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:50:53 +00:00
Robert Roebling
1a7cc1083e Mention wxDataViewListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:48:14 +00:00
Robert Roebling
832df17108 Document wxDataViewListCtrl, minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:44:12 +00:00
Francesco Montorsi
bf2d9237de remove usage of _T(); it's just confusing and it's not needed anymore; use wxTRANSLATE instead of wxGetTranslation for the 'Bad luck...' literal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:32:59 +00:00
Stefan Csomor
02fd8b9b61 fixing infinite recursion for rotated text, introduced in cleanup r57915
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:31:55 +00:00
Robert Roebling
bda698ed19 Document wxDataViewListStore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:20:42 +00:00
Francesco Montorsi
730b772b41 Move SetDefaultTimeout to wxProtocol and set it to 60 seconds for both wxHTTP and wxFTP
Move SetPassword and SetUser implementations to wxProtocol to avoid code redundancy
Make const-correct various getters
Reorganize wxFTP docs
Move wxStringToStringHashMap to hashmap.h and document its existance



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:08:13 +00:00
Robert Roebling
dc813e6c7e Added wxDataViewListCtrl, use it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:04:00 +00:00
Francesco Montorsi
b619c109e6 document predefined array types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:03:03 +00:00
Jouk Jansen
595cf498a5 Add combo sample to compile list of OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 14:35:19 +00:00
Vadim Zeitlin
0b628e95fb include wx/generic/grideditors.h for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 14:19:05 +00:00
Francesco Montorsi
4a90d7985c fix motif combobox for Motif < 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:54:06 +00:00
Francesco Montorsi
f30ef57e66 fix wxMotif build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:40:05 +00:00
Francesco Montorsi
6214e8d571 make wxSocketBase::SetTimeout virtual and make it protected in wxFTP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:34:44 +00:00
Francesco Montorsi
21f0f3a2fa no real change; just reorder functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:33:14 +00:00
Vadim Zeitlin
23fb33aa4e don't use wxString::FromASCII() with possibly non-ASCII strings (fixes asserts when testing Japanese locale in the internat sample)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:24:25 +00:00
Vadim Zeitlin
19250b6a16 add VC6 and command line VC makefile too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:09:44 +00:00
Václav Slavík
e68a8744ee silence gcc warnings in "vararg" functions such as wxPrintf when compiling with -Wformat-security
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 12:07:47 +00:00
Robert Roebling
8eff6c56f0 Change GetValue() and SetValue() to GetValueByRow() and SetValueByRow() in row based interface, Add wxDataViewListStore (WIP)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:23:37 +00:00
Robert Roebling
c0d2308b25 Use paint handler instead of wxClientDC to draw DnD visual effects within wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:57:06 +00:00
Stefan Csomor
bbd8f8af49 make sure group boxes don't get the big font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:49:57 +00:00
Bryan Petty
03d8fb9cac Initialize m_action_window to NULL in wxAuiManager ctor (fixes #10383).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 18:56:15 +00:00
Bryan Petty
4891ecda74 Noted changes to wxVScrolledWindow in the 3.0 overview article.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 18:49:21 +00:00
Vadim Zeitlin
b44f5137ce link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 13:33:51 +00:00
Stefan Csomor
c583fa5a58 adding missing header for non-precomp build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:50:13 +00:00
Vadim Zeitlin
f0d9be8afb fix PCH-less build with wxUSE_URL_NATIVE (see #10338)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:45:22 +00:00
Vadim Zeitlin
3707ff6799 added a (Windows-only) Flash sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:17:22 +00:00
Stefan Csomor
0c530e5a67 fixing controls with content areas, correcting radiobox layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 11:31:02 +00:00
Julian Smart
9c4cb61167 Added font family to wxTextAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 09:20:55 +00:00
Robert Roebling
bf9ea28818 Fixes #10382: Memory leak in wxDataViewMainWindow::IsExpanded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 23:48:11 +00:00
Robert Roebling
b0184e5939 Don't make wxFrame grow when adding a native wxToolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 23:45:08 +00:00
Francesco Montorsi
1d0b79d8f3 add -k_T to the call to xgettext as otherwise a string of internat.cpp is not extracted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 22:26:29 +00:00
Francesco Montorsi
7a90a4db84 add Italian translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 22:25:05 +00:00
Vadim Zeitlin
ed491736fa reduce IPC buffer size to be less than typical Ethernet MTU after accounting for TCP overhead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 21:07:17 +00:00
Francesco Montorsi
f00204d341 use wxStrnlen() and add NULL-checks in wxMsgCatalogFile::FillHash for safer handling of corrupted MO files (closes #3151)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 19:26:14 +00:00
Francesco Montorsi
16d4ffde1e do not assert when the validator style == wxFILTER_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 19:21:26 +00:00
Francesco Montorsi
4aa1406671 s/wxWindows/wxWidgets; update wx-dev mail address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 18:24:00 +00:00
Francesco Montorsi
d19ce8c491 add some wxIMAGE_OPTION_PNG_xxx options to wxImage and wxPNGHandler to allow the user to set the desired compression level (closes #10372)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:54:38 +00:00
Francesco Montorsi
09ddabf738 no real change; just reorganize the sample splitting it in two source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:41:21 +00:00
Francesco Montorsi
604898dc4a fix ANI loading; check for errors when calling Read()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:26:19 +00:00
Vadim Zeitlin
e5cf63c9a8 don't assert if the locale couldn't be set in AddCatalog(), we should still be able to use translations in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 16:34:17 +00:00
Francesco Montorsi
d6a3ec35c8 don't crash if an item has a NULL ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 16:10:02 +00:00