Vadim Zeitlin
|
5098c258b2
|
compilation fixes for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-13 01:13:03 +00:00 |
|
Vadim Zeitlin
|
cc6ceca789
|
improvements to wxWeakRef and related classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-13 01:12:13 +00:00 |
|
Vadim Zeitlin
|
0fb0ecc452
|
add useful headers for meta-programming checks (part of patch 1860953)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-13 01:09:40 +00:00 |
|
Vadim Zeitlin
|
022a8a5af2
|
call OnExec() taking wxString argument from OnExecute() by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-12 21:04:10 +00:00 |
|
Paul Cornett
|
2a818b7a73
|
initialize m_totalProportion in wxBoxSizer ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-12 17:45:41 +00:00 |
|
Stefan Neis
|
4b3f61d14c
|
Implemented wxGDIObject::Create/CloneGDIRefData() for the relevant classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-12 15:05:15 +00:00 |
|
Stefan Neis
|
d2ce59e9bb
|
Blind compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-12 14:31:29 +00:00 |
|
Stefan Neis
|
2c0b3fd14c
|
derive wxColourBase from wxObject on os2 as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-12 00:10:23 +00:00 |
|
Jouk Jansen
|
f2a0f3a80b
|
include/wx/x11/cursor.h needs definition of wxcolour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-11 12:26:23 +00:00 |
|
Paul Cornett
|
8466fc74fa
|
compute scrollbar widths in a more standard way, get rid of redundant m_hasScrolling member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-10 17:48:33 +00:00 |
|
Julian Smart
|
82b6efd2c2
|
Fix for VC++ 6 error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-10 12:10:03 +00:00 |
|
Paul Cornett
|
94eff479bf
|
avoid undefined behavior from token paste resulting in more than one token
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-09 07:35:14 +00:00 |
|
Paul Cornett
|
162e998c2f
|
check for self-assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-09 04:08:33 +00:00 |
|
Robin Dunn
|
c6ed07281f
|
Remove WXDLLIMPEXP_BASE from the declaration of wxList_SortFunction
to resolve link errors with MSVC 7.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 22:41:28 +00:00 |
|
Robert Roebling
|
a60b0ddc20
|
Added the conversion to unspecfied_bool to all smart pointers, added T& operator* to wxObjectDataPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 22:02:12 +00:00 |
|
Vadim Zeitlin
|
e52cd41e5d
|
resolve ambiguity between 2 inherited versions of Clear() in wxSimpleHtmlListBox (see bug 1836384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 19:24:08 +00:00 |
|
Robert Roebling
|
2ef989c972
|
Last part from weak ref patch for event sink disconnection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 17:57:27 +00:00 |
|
Vadim Zeitlin
|
1e9192d04c
|
add conversion to unspecified_bool_type to allow writing if(weakref)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 14:23:20 +00:00 |
|
Robert Roebling
|
5200ca361e
|
Added wxSharedPtr<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 10:51:28 +00:00 |
|
Robert Roebling
|
7d23dd2812
|
Updated wxTrackable to patch Weak references for wx - part 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 09:58:44 +00:00 |
|
Robert Roebling
|
9dd5ff5baa
|
Updated wxWeakRef<T> to patch Weak references for wx - part 2, removed T*() and added T* get(), other minor docs corr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-08 09:55:21 +00:00 |
|
Vadim Zeitlin
|
5e0ebb716a
|
added wxNativeFontInfo() ctor from LOGFONT, this is convenient for MSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 19:02:26 +00:00 |
|
Vadim Zeitlin
|
55e04bbd7e
|
adjust the minimal menu item height to be lesser than the menubar height; some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 18:50:07 +00:00 |
|
Vadim Zeitlin
|
117f566fcc
|
don't use wxSubwindows with a single element to store the dummy radio item, store it in radiobox itself (patch 1866053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 18:46:14 +00:00 |
|
Vadim Zeitlin
|
52b90aa7ab
|
check that HWNDs are non-NULL before doing anything with them (part of patch 1866053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 18:43:23 +00:00 |
|
Robert Roebling
|
e39d30c05b
|
Correct wxObjectDataPtr<> assignment from *T to not increase the ref count
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 15:12:46 +00:00 |
|
Robert Roebling
|
89969a9128
|
Templatize wxScopedPtr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 12:09:22 +00:00 |
|
Václav Slavík
|
2712e31795
|
don't call wxString::Len() from operator==; use IsSameAs() instead of move the length check to there (for non-UTF8 builds)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 10:27:35 +00:00 |
|
Vadim Zeitlin
|
52ca4ec419
|
store ids of sub-items directly in wxSubwindows instead of using a parallel data structure (patch 1865577)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 01:54:33 +00:00 |
|
Vadim Zeitlin
|
fb25206791
|
compilation fix for MSVC: remove implicit wxStringImpl::iterator conversion to pointer as otherwise built-in operator+(void *, size_t) conflicts with our operator taking ptrdiff_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 01:46:42 +00:00 |
|
Vadim Zeitlin
|
fcd47970b8
|
correct wrong last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 01:36:24 +00:00 |
|
Vadim Zeitlin
|
3371873669
|
added another ParseFormat() overload for better backwards compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 01:35:28 +00:00 |
|
Vadim Zeitlin
|
ac2b78257b
|
removed useless inclusion of wx/datetime.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 01:33:20 +00:00 |
|
Vadim Zeitlin
|
71ebd60b06
|
make wxDateTime::ParseXXX() functions char*-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-07 00:17:45 +00:00 |
|
Vadim Zeitlin
|
b7c746d017
|
added WX_ASSERT_MESSAGE macro to simply using CPPUNIT_ASSERT_MESSAGE with wxString::Format()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 22:57:09 +00:00 |
|
Stefan Neis
|
f90913e2ac
|
Allow using socket from both wxBase and wxCore (adopting to changes from r50831)
Use Unix' gsocketiohandler files for wxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 22:47:01 +00:00 |
|
Stefan Neis
|
2c24e7adf0
|
Adopted OS/2 to DC reorganisation (r50348).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 22:37:10 +00:00 |
|
Vadim Zeitlin
|
b5343e065a
|
only provide ptrdiff_t versions of verious operator+/- working with iterators instead of overloads for both int and size_t: this seems to be enough and the existing overloads were not enough for 64 bit builds where expressions such as iter+(ptr2-ptr1) didn't compile without extra casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 22:27:01 +00:00 |
|
Vadim Zeitlin
|
75a29ef15c
|
added configure option for wxUSE_AUTOID_MANAGEMENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 21:01:38 +00:00 |
|
Vadim Zeitlin
|
db7035e48a
|
added wxWeakRef<T> (slightly modified patch 1860953)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 18:01:28 +00:00 |
|
Vadim Zeitlin
|
695f550bfa
|
use wxFlexGridSizer for layout of the labels in the progress dialog (patch 1829312); minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 15:05:57 +00:00 |
|
Vadim Zeitlin
|
8084f8b7c6
|
add check for wxUSE_AUTOID_MANAGEMENT being defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 14:49:11 +00:00 |
|
Vadim Zeitlin
|
cf2810aa39
|
use wxWindowIDRef to transparently implement auto-generated ids ref-counting (slightly modified patch 1835458)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 14:38:44 +00:00 |
|
Vadim Zeitlin
|
e2fc2bd51c
|
add wxDL_QUIET flag; use RawGetSymbol() instead of GetSymbol() in wxDL_INIT_FUNC to avoid error messages for missing functions (this is also consistent with wxDL_INIT_FUNC_AW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 01:30:58 +00:00 |
|
Vadim Zeitlin
|
a73a4ab75e
|
draw the bitmap manually under Win9x and 2000 because they don't support alpha transparency (but wxDC::DrawBitmap() does) (modified patch 1761598)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-06 00:51:38 +00:00 |
|
Vadim Zeitlin
|
8ebec7dcd8
|
clean up wxEvtHandler::m_eventsLocker weirdness: there is no need to allocate it dynamically (as it's always done anyhow), this removes the need for ClearEventLocker() and OS/2 #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-05 19:07:52 +00:00 |
|
Vadim Zeitlin
|
19c4d91638
|
process one event at once in wxEvtHandler::ProcessPendingEvents() to prevent crashes when a (pending) event handler destroys the event handler object itself; only add the event handler to wxPendingEvents list if it's not already there (and explicitly mention that an object can be present in this list only once in the comment) (replaces patch 1837719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-05 17:29:20 +00:00 |
|
Vadim Zeitlin
|
17808a7596
|
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-05 00:21:31 +00:00 |
|
Vadim Zeitlin
|
001828ed69
|
compilation fix (remove default ctor already implemented by DEFINE_STD_WXCOLOUR_CONSTRUCTORS); make copy ctor inline and remove empty dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-05 00:04:34 +00:00 |
|
Vadim Zeitlin
|
115be92b4f
|
set resolution of print preview from print data (modified patch 1851381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-01-03 22:21:04 +00:00 |
|