Commit Graph

48467 Commits

Author SHA1 Message Date
Stefan Csomor
c443ff6f53 fixing native font info support bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 19:58:51 +00:00
Stefan Csomor
8b7b1a5748 guaranteeing autorelease pools for overridden OnRun on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 19:54:01 +00:00
Francesco Montorsi
aeecbca059 dump all font properties upon failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 18:55:41 +00:00
Stefan Csomor
ba9e5c4d90 adding all encodings on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 17:44:51 +00:00
Kevin Ollivier
29d61827e1 For the wxPython headers, we need to copy SWIG files like the other platforms do so that wxPython extensions can be built.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 17:11:30 +00:00
Stefan Csomor
d4d4c34c3a fixing path for test_gui
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 16:06:14 +00:00
Vadim Zeitlin
35b9a07827 mention that SetValue() does generate a wxEVT_COMMAND_TEXT_UPDATED event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 14:35:20 +00:00
Vadim Zeitlin
d911dc04ae only run tests using multiline strings with multiline text control; document that using multiline strings doesn't work with singleline controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 13:22:09 +00:00
Vadim Zeitlin
ff3fd98a08 remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 12:47:46 +00:00
Stefan Csomor
8fa2cfe258 failed conversion shouldn't trigger an assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 07:04:41 +00:00
Václav Slavík
fb5ae4f6d9 (blind) fix for VC6s' warning about non-dll base template class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 07:02:59 +00:00
Stefan Csomor
531ebc0f8e no test_gui present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 05:30:18 +00:00
Francesco Montorsi
6aafb94526 even more detailed info to debug buildslaves failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 18:34:27 +00:00
Vadim Zeitlin
a6ed278608 better check for conversion failure in OutputString(); use wxScopedCharBuffer::length() instead of strlen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:49:56 +00:00
Vadim Zeitlin
582886dde5 return empty string instead of NULL from mb_str()/wc_str() when conversion fails to avoid crashing badly written code which doesn't check for conversion failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:48:11 +00:00
Vadim Zeitlin
561ff470ca suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:33:33 +00:00
Francesco Montorsi
9b5e0a6dea provide more info when a check for native font [user] info fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 09:03:45 +00:00
Vadim Zeitlin
f20e268907 fix g++ warnings about initialization order mismatch after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:43:04 +00:00
Vadim Zeitlin
75ac34cefc fix support for using asterisks in the format string and some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:37:28 +00:00
Francesco Montorsi
6aea1e4a70 implement wxNativeFontInfo::SetFamily for wxGTK with the same logic used by wxMSW; remove the now useless m_family from wxGTK's wxFont implementation; better docs for many wxFont functions (don't use typeface term; use the 'face name' one instead) and wxFontFamily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:53:26 +00:00
Francesco Montorsi
40531a9fda more PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:10:21 +00:00
Francesco Montorsi
a82a59f519 allow testing more font properties: light weight, slant style and font families
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 22:02:00 +00:00
Vadim Zeitlin
f54cb154d5 return persistent buffers from mb_str()/wc_str() to allow assigning the returned value to simple pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 19:49:45 +00:00
Vadim Zeitlin
dbe31039f7 blind PCH-less build fixes: add missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 18:42:58 +00:00
Vadim Zeitlin
3814912fca MSVC compilation fixes: don't use std{out,err} as variable names; don't reuse loop variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 18:41:51 +00:00
Francesco Montorsi
32c122fe28 build fix (wx doesn't use bakefile 0.2.6 yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 16:30:47 +00:00
Francesco Montorsi
34be948fdb no real change; just fix the argument name of the wxFont(const wxString&) ctor under wxGTK since it was misleading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 16:06:43 +00:00
Francesco Montorsi
375330ac40 do not call setlocale() twice in wxLocale::IsAvailable() and in IMPLEMENT_STRTOX_L_START
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 15:51:43 +00:00
Francesco Montorsi
4b37c1bf05 now wxGTK is always compiled against GTK+ >= 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 12:43:38 +00:00
Francesco Montorsi
aa113d87d7 adding the first raw version of the execution monitor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 11:44:00 +00:00
Václav Slavík
ed5e656088 fixed wxString::utf8_str() in UTF8 build to return buffer with length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 10:12:44 +00:00
Vadim Zeitlin
bdaddbec6e add missing tests (closes #10692)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-10 22:55:08 +00:00
Kevin Ollivier
0ed9af4ed9 Catch the return type when it's inside a <ref> tag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-10 22:40:24 +00:00
Kevin Ollivier
f613f81ac9 Commit script which parses the Doxygen XML output into a list of class and method objects, which later can be passed for post-processing to autogenerate bindings, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-09 17:31:39 +00:00
Vadim Zeitlin
475be9ce00 fix row/column deselection in row-or-column selection mode (it wasn't doing anything)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-09 09:01:02 +00:00
Robert Roebling
1c9588456e Add test for wxDataViewColumn::GetWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 19:33:35 +00:00
Vadim Zeitlin
ff9b9665a2 added names of WM_XXXUISTATE messages to wxGetMessageName() (closes #10691)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 15:00:09 +00:00
Vadim Zeitlin
14263426cf added assert checking the column index validity (see #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:11:41 +00:00
Vadim Zeitlin
3b241537ef remove "item.cchTextMax=0" line from SetItem() as it doesn't seem to make any sense (see #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:10:40 +00:00
Vadim Zeitlin
dcc3f1a5e3 no real changes, just remove unnecessary semicolons (part of #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:09:14 +00:00
Vadim Zeitlin
a1e92028b3 document that a valid image list is required for item dragging under MSW (see #4390)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 11:04:52 +00:00
Vadim Zeitlin
20cc4e199e document wxFont(wxString) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 10:41:30 +00:00
Vadim Zeitlin
916533c0dc return better fitting size from DoGetBestSize() for grids with few rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 22:11:48 +00:00
Vadim Zeitlin
4f64fde785 no changes, just got rid of many __WXWINCE__ ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 22:07:03 +00:00
Stefan Csomor
b66533d348 adding buildbot for 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 17:39:22 +00:00
Vadim Zeitlin
910413e753 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 10:21:02 +00:00
Vadim Zeitlin
a5df9b00b4 update from Micha³ Trzebiatowski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-06 09:09:30 +00:00
Vadim Zeitlin
eb72e9aa28 use COLORONCOLOR stretching mode in DrawBitmap() too (see #3400)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 14:58:11 +00:00
Vadim Zeitlin
a2bbedf07d added test for wxDC-based image scaling; updated copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 14:53:17 +00:00
Vadim Zeitlin
437950ced1 paint background by default to avoid unexpected sample appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 14:34:18 +00:00