Commit Graph

48524 Commits

Author SHA1 Message Date
Stefan Csomor
a19d71a81b adding me to author, updating date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 14:32:07 +00:00
Francesco Montorsi
2d0a9aa49c build fix for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 12:18:41 +00:00
Francesco Montorsi
dc1b07fd4d use :: when referring to wxDefaultSize or wxDefaultPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 11:21:36 +00:00
Francesco Montorsi
c94bdf2a19 implement tooltips for wxStatusBar panes whose contents were ellipsized; introduce wxST_SHOW_TIPS and wxST_DEFAULT_STYLE styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 11:10:44 +00:00
Francesco Montorsi
9b49405777 no real change; just add the standard separator where it's missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 00:05:14 +00:00
Vadim Zeitlin
155032f9dc fix confusion in IsSameAs() docs (closes #10722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 00:05:06 +00:00
Vadim Zeitlin
5001d2432b include windows.h instead of basetsd.h directly as this doesn't seem to be supported by mingw64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-20 23:42:04 +00:00
Stefan Csomor
5f65ba3657 content must be changeable by wx even though control may be disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-20 19:23:57 +00:00
Francesco Montorsi
9a33c3ef80 use WX_PIZZA(...) to deference pointers only when we are sure that the pointer is non-NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-20 18:49:20 +00:00
Stefan Csomor
2ff0354a3a fixing param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-20 04:47:14 +00:00
Kevin Ollivier
27a3b24bee Document CreateMeasuringContext now that it is available for all wxGC impls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-19 19:51:08 +00:00
Francesco Montorsi
f3289ffb1f name wxStaticBoxSizer; some other minor wording clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-19 19:46:36 +00:00
Francesco Montorsi
ea0022d356 grouping is not allowed for enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-19 13:29:19 +00:00
Vadim Zeitlin
0572fce80a initialize m_hFont in the beginning of wxFontRefData::Init() to avoid freeing invalid font handle in SetXXX() called afterwards; removed hard TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 12:27:31 +00:00
Vadim Zeitlin
89574e1d55 blind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes #10714)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 12:23:51 +00:00
Vadim Zeitlin
15cb637c96 use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT whenever possible to see more information about the test failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 12:19:38 +00:00
Stefan Csomor
0698ed3ca8 removing overloads to avoid 'hidden method' warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 11:10:40 +00:00
Jaakko Salli
d07e1e0c13 Re-added support for property attribute wxPG_BOOL_USE_DOUBLE_CLICK_CYCLING (lines required to support it were accidentally removed at some point)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 10:34:03 +00:00
Jaakko Salli
8034d81d3c Quick (temporary) fix for some spurious splitter movement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 10:20:18 +00:00
Jaakko Salli
9a1eabd485 Fixed fallback font used in wxFontProperty::OnSetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 09:56:09 +00:00
Jaakko Salli
29d50f3e8f Use wxStdDialogButtonSizer in editor dialogs of wxLongStringProperty and wxArrayStringProperty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 09:43:18 +00:00
Francesco Montorsi
a51fdf81b9 blind wxOS2 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 08:08:56 +00:00
Stefan Csomor
f096a6fdfc wrong override params
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 18:25:40 +00:00
Julian Smart
8d5b63cc44 Don't attempt to do measuring when the window hasn't been created fully yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 16:12:00 +00:00
Vadim Zeitlin
042908a1ac use "ul" suffix instead of cast to unsigned long; this is not only shorter but also avoids gcc warning about working correctly only in C90
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 13:06:27 +00:00
Vadim Zeitlin
ac26ed15ac really fix compilation with wxEVENTS_COMPATIBILITY_2_8 after r60212
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 00:35:58 +00:00
Vadim Zeitlin
e1614128e1 compilation fix for wxEVENTS_COMPATIBILITY_2_8 build after r60212
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 22:41:52 +00:00
Vadim Zeitlin
48c56e04b0 added failing compilation test for the case of missing handler in Bind() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 21:33:37 +00:00
Vadim Zeitlin
0fe243db0c remove wxNewEventFunctor() overload which allowed calls to "Bind(evt, &WrongClass::method)" to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 21:23:28 +00:00
Jaakko Salli
16372f0d97 wxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CLICK_CYCLING to child bool properties (closes #10690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 19:28:39 +00:00
Jaakko Salli
180a13bf38 Removed unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 18:21:10 +00:00
Vadim Zeitlin
8584ae1cd6 add Bind() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 16:34:35 +00:00
Vadim Zeitlin
b3710b1030 rebake after the addition of graphics/measuring.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 14:49:28 +00:00
Vadim Zeitlin
449cb073c0 added a failtest target to Makefile to test for the (expected) compilation failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 14:47:22 +00:00
Benjamin Williams
e54e92e681 implement default width for toolbar labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 13:02:48 +00:00
Vadim Zeitlin
b18e2046af pass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compatible with the existing code assuming that this parameter is signed (as our own wxFileCtrl did)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 13:00:40 +00:00
Vadim Zeitlin
bd5d8ac1b5 define constants for the number of items in the tree at each level and number of levels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 12:48:51 +00:00
Vadim Zeitlin
113f4defc4 correct test for wxDEBUG_LEVEL in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 23:04:46 +00:00
Kevin Ollivier
f806b2b4ee Add a test to ensure that CreateMeasuringContext creates a valid context
that can measure text.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 22:38:53 +00:00
Kevin Ollivier
5e8d27fea5 Implement CreateMeasuringContext for GTK/Cairo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:55:47 +00:00
Vadim Zeitlin
113f623379 remove dll export declaration from wxCStrData now that all its methods are inline (fixes mingw32 warning in DLL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:31:33 +00:00
Vadim Zeitlin
d021f94fd6 avoid a warning about unused function in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:30:37 +00:00
Vadim Zeitlin
6e2f308461 use wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow passing pointers to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:23:50 +00:00
Vadim Zeitlin
975fe60bba removed the note about wxEvent::Clone() startup test as it was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:14:25 +00:00
Vadim Zeitlin
4262848117 correct GTK+ version check added by r59603
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:07:55 +00:00
Stefan Csomor
5a8ea512bb have at least a measuring context available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 20:43:55 +00:00
Francesco Montorsi
df898907bb remove unneeded font members from wxFontRefData (all font characteristics are stored only inside the wxNativeFontInfo member); simplify code because m_nativeFontInfoOk==true always; return wxFONTFAMILY_UNKNOWN from GetFamily() when there's no font family info.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 20:19:35 +00:00
Stefan Csomor
8d462eb74a make sure we treat partial conversions as failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 20:16:12 +00:00
Francesco Montorsi
f2c1b903bf small enhancement: account for SLANT==ITALIC on wxMSW; print explicitely the face name of the current font; make wxFontBase::GetFamilyString aware of wxFONTFAMILY_UNKNOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 20:02:17 +00:00
Stefan Csomor
50b5e38d3f textctrl fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 19:44:51 +00:00