]>
git.saurik.com Git - wxWidgets.git/log
Kevin Ollivier [Sun, 26 Apr 2009 02:01:25 +0000 (02:01 +0000)]
Don't move the actual executable, just link to it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60370
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 25 Apr 2009 23:49:35 +0000 (23:49 +0000)]
Separate out constructors / destructors, add support for enums and include files, and add a verbose option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60366
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 23:38:03 +0000 (23:38 +0000)]
include port number in HTTP Host header (closes #10632)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60364
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 23:19:04 +0000 (23:19 +0000)]
add support for table border width attribute (closes #10610)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60363
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 22:31:48 +0000 (22:31 +0000)]
optimize FindItem(data) performance (closes #9870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60362
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 17:18:31 +0000 (17:18 +0000)]
another typo correction after last change, correct the return types too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60359
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 16:26:18 +0000 (16:26 +0000)]
no changes, just fix a typo in a menu item label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60358
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 16:23:15 +0000 (16:23 +0000)]
added find performance test (see #9870) and the possibility to set the number of items (for list and report views only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60357
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 15:58:21 +0000 (15:58 +0000)]
compilation fix after the latest change (typo: used char instead of wchar_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60356
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 15:53:45 +0000 (15:53 +0000)]
more order in wxCRT_filefunctions: define A and W versions, just as for everything else and simply map suffix-less versions to the appropriate ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60355
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 15:37:33 +0000 (15:37 +0000)]
only use Mac-specific menu item under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60354
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 14:48:19 +0000 (14:48 +0000)]
Cygwin doesn't have _wcsdup() (closes #10738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60352
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 14:42:59 +0000 (14:42 +0000)]
minor corrections: document typeDefault, remove text copied from the header (closes #10740)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60351
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 14:12:32 +0000 (14:12 +0000)]
define wxStrchr(non-const char-or-wchar_t*) as a template to ensure that second parameter of any type that can be used with const version can be used with this one too; this is shorter than listing them all explicitly and without this Borland refuses to compile wxStrchr(char *, wxUniChar) (see #10736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60350
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 14:08:05 +0000 (14:08 +0000)]
disable wxGC for Borland as it can't compiler the macros used in msw/gdiplus.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60349
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 14:07:38 +0000 (14:07 +0000)]
(harmless) Borland release build warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60348
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 14:07:15 +0000 (14:07 +0000)]
workaround for Borland compilation: don't use unspecified_bool_type for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60347
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 13:54:24 +0000 (13:54 +0000)]
remove HasNativeFontInfo() which always returns true now but was left for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60346
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 13:52:58 +0000 (13:52 +0000)]
build fixes for Borland in wxUSE_UNICODE_MSLU and wxHAS_HUGE_FILES cases; only define one of wxMSLU__wstat and wxMSLU__wstati64; also define wxStructStat as 64 bit version of struct stat if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60345
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 13:19:44 +0000 (13:19 +0000)]
attempt to hyperlink wxCHECK_VISUALC_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60344
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 13:19:27 +0000 (13:19 +0000)]
make wxSTRING_BASE_HASNT_CLEAR check more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60343
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 13:16:59 +0000 (13:16 +0000)]
define __EVC4__ for eVC 4 compiler to make testing for it easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60342
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 25 Apr 2009 13:10:07 +0000 (13:10 +0000)]
fix wxASSERT_MSG in PopStatusText: we always need to have at least one string in the stack; explicitely refresh the affected status bar pane in Push/PopStatusText as SetStatusText() optimization to avoid flickering cannot detect the stack manipulation which happened (closes #10733)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60341
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 13:08:38 +0000 (13:08 +0000)]
set wxUSE_STD_IOSTREAM to 0 for eVC which doesn't provide the standard streams (see #10718)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60340
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 25 Apr 2009 13:07:43 +0000 (13:07 +0000)]
typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60339
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 13:04:22 +0000 (13:04 +0000)]
eVC4 version of std::string doesn't have clear() neither (see #10718)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60338
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 25 Apr 2009 12:59:09 +0000 (12:59 +0000)]
use wxSTB_ as prefix for wxStatusBar styles; add support for wxSTB_ELLIPSIZE_* flags under wxGTK; support wxSTB_SHOW_TIPS even if no ellipsization mode is active; update the sample to allow the user to choose the wxStatusBar style dynamically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60337
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 25 Apr 2009 11:57:27 +0000 (11:57 +0000)]
undo the last change as it results in buildbot configuration error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60336
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 25 Apr 2009 10:49:36 +0000 (10:49 +0000)]
allow windows which are placed inside wxStaticBoxes to be built as children of the wxStaticBox itself rather than forcing users to build them as siblings of the static box (closes #9859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60335
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 24 Apr 2009 23:32:20 +0000 (23:32 +0000)]
add 2.9.0 branch builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60325
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 24 Apr 2009 21:17:05 +0000 (21:17 +0000)]
correction to last commit: Korean and Romanian translations will only be in 2.9.1, not 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60322
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 24 Apr 2009 21:14:59 +0000 (21:14 +0000)]
fix push/pop mechanism after r58786; add a few notes about the stack mechanism both in the docs and in the public header (see #10733)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60321
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 24 Apr 2009 21:14:02 +0000 (21:14 +0000)]
added Korean and Romanian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60320
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Fri, 24 Apr 2009 10:36:24 +0000 (10:36 +0000)]
update bakefile to 0.2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60319
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Fri, 24 Apr 2009 09:45:48 +0000 (09:45 +0000)]
build a 2.9.x windows setup file and chm and htb sets of docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60318
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Fri, 24 Apr 2009 07:40:54 +0000 (07:40 +0000)]
New dev.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60313
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Fri, 24 Apr 2009 05:03:42 +0000 (05:03 +0000)]
Use a hidden window to catch the timer messages instead of a timer proc. This fixes an obscure problem where a new activation context is ignored while in the scop of the timer callback. wxPython needs the activation context to always be active.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60296
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 23 Apr 2009 15:52:07 +0000 (15:52 +0000)]
another typo correction; provide GNU gettext link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60290
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 23 Apr 2009 15:50:40 +0000 (15:50 +0000)]
fix links and references to cvs (closes #10729)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60289
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 22 Apr 2009 14:00:16 +0000 (14:00 +0000)]
State fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60282
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 22 Apr 2009 07:59:19 +0000 (07:59 +0000)]
Removed redundant/harmful no anti-aliasing on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60281
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 21 Apr 2009 17:58:35 +0000 (17:58 +0000)]
correct the assert added by r60056 to not trigger in non-report modes (see #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60277
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 21 Apr 2009 17:33:56 +0000 (17:33 +0000)]
avoid multiline strings in AC_CONFIG_COMMANDS as it seems to result in problems with /bin/dash (see #10724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60276
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 21 Apr 2009 17:31:03 +0000 (17:31 +0000)]
don't readd items in SetImageList() after changing the control mode, they are supposed to be preserved by wxListCtrl itself (correction for #9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60275
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 21 Apr 2009 17:19:08 +0000 (17:19 +0000)]
add test checking that switching mode doesn't change the controls contents (see #9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60274
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 21 Apr 2009 14:32:07 +0000 (14:32 +0000)]
adding me to author, updating date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60270
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 21 Apr 2009 12:18:41 +0000 (12:18 +0000)]
build fix for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60267
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 21 Apr 2009 11:21:36 +0000 (11:21 +0000)]
use :: when referring to wxDefaultSize or wxDefaultPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60266
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Tue, 21 Apr 2009 11:10:44 +0000 (11:10 +0000)]
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
Francesco Montorsi [Tue, 21 Apr 2009 00:05:14 +0000 (00:05 +0000)]
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
Vadim Zeitlin [Tue, 21 Apr 2009 00:05:06 +0000 (00:05 +0000)]
fix confusion in IsSameAs() docs (closes #10722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60262
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 20 Apr 2009 23:42:04 +0000 (23:42 +0000)]
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
Stefan Csomor [Mon, 20 Apr 2009 19:23:57 +0000 (19:23 +0000)]
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
Francesco Montorsi [Mon, 20 Apr 2009 18:49:20 +0000 (18:49 +0000)]
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
Stefan Csomor [Mon, 20 Apr 2009 04:47:14 +0000 (04:47 +0000)]
fixing param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60252
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 19 Apr 2009 19:51:08 +0000 (19:51 +0000)]
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
Francesco Montorsi [Sun, 19 Apr 2009 19:46:36 +0000 (19:46 +0000)]
name wxStaticBoxSizer; some other minor wording clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60245
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 19 Apr 2009 13:29:19 +0000 (13:29 +0000)]
grouping is not allowed for enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60243
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 18 Apr 2009 12:27:31 +0000 (12:27 +0000)]
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
Vadim Zeitlin [Sat, 18 Apr 2009 12:23:51 +0000 (12:23 +0000)]
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
Vadim Zeitlin [Sat, 18 Apr 2009 12:19:38 +0000 (12:19 +0000)]
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
Stefan Csomor [Sat, 18 Apr 2009 11:10:40 +0000 (11:10 +0000)]
removing overloads to avoid 'hidden method' warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60232
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 18 Apr 2009 10:34:03 +0000 (10:34 +0000)]
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
Jaakko Salli [Sat, 18 Apr 2009 10:20:18 +0000 (10:20 +0000)]
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
Jaakko Salli [Sat, 18 Apr 2009 09:56:09 +0000 (09:56 +0000)]
Fixed fallback font used in wxFontProperty::OnSetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60229
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 18 Apr 2009 09:43:18 +0000 (09:43 +0000)]
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
Francesco Montorsi [Sat, 18 Apr 2009 08:08:56 +0000 (08:08 +0000)]
blind wxOS2 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60227
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 17 Apr 2009 18:25:40 +0000 (18:25 +0000)]
wrong override params
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60220
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 17 Apr 2009 16:12:00 +0000 (16:12 +0000)]
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
Vadim Zeitlin [Fri, 17 Apr 2009 13:06:27 +0000 (13:06 +0000)]
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
Vadim Zeitlin [Fri, 17 Apr 2009 00:35:58 +0000 (00:35 +0000)]
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
Vadim Zeitlin [Thu, 16 Apr 2009 22:41:52 +0000 (22:41 +0000)]
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
Vadim Zeitlin [Thu, 16 Apr 2009 21:33:37 +0000 (21:33 +0000)]
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
Vadim Zeitlin [Thu, 16 Apr 2009 21:23:28 +0000 (21:23 +0000)]
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
Jaakko Salli [Thu, 16 Apr 2009 19:28:39 +0000 (19:28 +0000)]
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
Jaakko Salli [Thu, 16 Apr 2009 18:21:10 +0000 (18:21 +0000)]
Removed unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60203
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 16 Apr 2009 16:34:35 +0000 (16:34 +0000)]
add Bind() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60202
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 16 Apr 2009 14:49:28 +0000 (14:49 +0000)]
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
Vadim Zeitlin [Thu, 16 Apr 2009 14:47:22 +0000 (14:47 +0000)]
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
Benjamin Williams [Thu, 16 Apr 2009 13:02:48 +0000 (13:02 +0000)]
implement default width for toolbar labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60199
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 16 Apr 2009 13:00:40 +0000 (13:00 +0000)]
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
Vadim Zeitlin [Thu, 16 Apr 2009 12:48:51 +0000 (12:48 +0000)]
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
Vadim Zeitlin [Wed, 15 Apr 2009 23:04:46 +0000 (23:04 +0000)]
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
Kevin Ollivier [Wed, 15 Apr 2009 22:38:53 +0000 (22:38 +0000)]
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
Kevin Ollivier [Wed, 15 Apr 2009 21:55:47 +0000 (21:55 +0000)]
Implement CreateMeasuringContext for GTK/Cairo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60185
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 15 Apr 2009 21:31:33 +0000 (21:31 +0000)]
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
Vadim Zeitlin [Wed, 15 Apr 2009 21:30:37 +0000 (21:30 +0000)]
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
Vadim Zeitlin [Wed, 15 Apr 2009 21:23:50 +0000 (21:23 +0000)]
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
Vadim Zeitlin [Wed, 15 Apr 2009 21:14:25 +0000 (21:14 +0000)]
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
Vadim Zeitlin [Wed, 15 Apr 2009 21:07:55 +0000 (21:07 +0000)]
correct GTK+ version check added by r59603
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60180
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Wed, 15 Apr 2009 20:43:55 +0000 (20:43 +0000)]
have at least a measuring context available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60178
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Wed, 15 Apr 2009 20:19:35 +0000 (20:19 +0000)]
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
Stefan Csomor [Wed, 15 Apr 2009 20:16:12 +0000 (20:16 +0000)]
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
Francesco Montorsi [Wed, 15 Apr 2009 20:02:17 +0000 (20:02 +0000)]
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
Stefan Csomor [Wed, 15 Apr 2009 19:44:51 +0000 (19:44 +0000)]
textctrl fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60170
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Wed, 15 Apr 2009 17:47:23 +0000 (17:47 +0000)]
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
Stefan Csomor [Wed, 15 Apr 2009 17:46:11 +0000 (17:46 +0000)]
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
Stefan Csomor [Wed, 15 Apr 2009 16:55:01 +0000 (16:55 +0000)]
using proper SubItemRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60164
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Wed, 15 Apr 2009 09:40:36 +0000 (09:40 +0000)]
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
Francesco Montorsi [Tue, 14 Apr 2009 23:18:50 +0000 (23:18 +0000)]
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