Commit Graph

48508 Commits

Author SHA1 Message Date
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
Kevin Ollivier
fc76d7df9b Add a space to ensure we have a space between qualifiers and parameter names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 17:47:23 +00:00
Stefan Csomor
346662b87a fixing return values and handling of invalid files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 17:46:11 +00:00
Stefan Csomor
f63c36c378 using proper SubItemRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 16:55:01 +00:00
Julian Smart
85ec29bc58 Fixed a bug whereby setting one element size set all element sizes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 09:40:36 +00:00
Francesco Montorsi
7ce58684a4 don't return whatever encoding was set in SetEncoding(); always return wxFONTENCODING_UTF8 instead since that's the real encoding always used by wxFont under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 23:18:50 +00:00
Stefan Csomor
d9d551f6a2 adapting TextUpdateEvents, using wxTextEntry API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 20:09:39 +00:00
Stefan Csomor
f1b1c779a9 making sure min and max sizes can be overridden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 20:05:47 +00:00
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