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
Michael Wetherell
dd0af4bb63
Always write end record unless one has already been written.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 17:09:10 +00:00
Vadim Zeitlin
b9e6623377
don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 01:13:44 +00:00
Vadim Zeitlin
7ef2c8e163
no changes, just updated the URL of KB article in a comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:05:15 +00:00
Václav Slavík
c157b27e66
Use realloc() and placement new to manage vector's memory instead of
...
copying objects in T[] array. This is both more efficient and
matches std::vector<> semantics (erase() destroys the object immediately,
T doesn't have to be default-constructible).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 22:58:29 +00:00
Vadim Zeitlin
dbaa16de07
don't lock the gs_prevCS critical section recursively (replaces patch 1857581)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:18:15 +00:00
Václav Slavík
d9359369af
removed wxSTRING_TEXT() macro in favour of wxS()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 17:33:31 +00:00
Vadim Zeitlin
b23bc769d3
remove redundant m_buffer_size member (patch 1861348)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 16:51:53 +00:00
Vadim Zeitlin
a05166568c
added wxS(); use it in a couple of places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 16:31:38 +00:00
Vadim Zeitlin
455f7c8205
do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Vadim Zeitlin
f172cb8200
removed support for Salford compiler (which was almost certainly broken anyhow) (patch 1861133)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 10:05:00 +00:00
Vadim Zeitlin
1cf57808cb
fix bug with parsing negative time zones in ParseRfc822Date()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 23:35:40 +00:00
Paul Cornett
5e6f89276d
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 19:12:04 +00:00
Julian Smart
f464ecc775
Reduction of includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 16:09:29 +00:00
Robert Roebling
f6f0ef852c
initial drag interface for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 12:41:39 +00:00
Julian Smart
3aa8e4ea6d
Added automatic dialog scrolling ability
...
Added ability to resize wizard bitmaps automatically
Made it easier to derive from wxWizard and override behaviour,
mainly by making members protected instead of private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 16:35:39 +00:00
Robert Roebling
fc8c1a15b2
Implement rest of MSW's wxDataViewCtrl's native column reordering
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 23:07:30 +00:00
Robert Roebling
73f462913d
Fix wxX11 crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 21:38:20 +00:00
Julian Smart
41a031cf98
Return type correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-27 17:00:29 +00:00
Stefan Csomor
f189d2de1b
fixing exports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-26 18:34:38 +00:00
Robert Roebling
99c75ebc5e
Patch from Hartwig and me for implementing reorderable dataview columns. Works on OS X and GTK+, breaks OS X a litte
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-26 18:30:56 +00:00
Stefan Csomor
6954e0f6f3
fixing exports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-26 18:28:27 +00:00
Václav Slavík
b9909c6eb6
compilation fix for wxStrspn and wxStrcspn: WX_STR_FUNC should be used after all, WX_STR_FUNC_NO_INVERT is incomplete
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-24 19:25:24 +00:00
Paul Cornett
50ccc908dc
update mac gl, after rev 50900
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-24 00:05:24 +00:00
Robert Roebling
0a9ca9c424
Add HideCol/RowLabels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 19:46:12 +00:00
Robert Roebling
e483dfcb9d
Added API for column reordering
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 18:29:14 +00:00
Vadim Zeitlin
1d89da8a5c
allow centering wxMessageDialog on its parent window (patch 1836072)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 16:52:31 +00:00
Vadim Zeitlin
eeb0bee1d3
unset the window as invoking window of wxCurrentPopupMenu (which now exists in all ports and not just wxMSW-based ones) if it being destroyed before the menu itself (modified patch 1837214)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 16:29:38 +00:00
Vadim Zeitlin
5ec69e9666
made SetCurrent() and SwapBuffers() return boolean status indicator instead of void (slightly modified patch 1844090)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:48:03 +00:00
Vadim Zeitlin
07c0e08a26
replace wxWindowDC with wxDC in generic wxOverlayImpl too to fix compilation after r50886--50890 changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:14:24 +00:00
Vadim Zeitlin
9ef6890f0b
added wxColourBase::Init() and use DEFINE_STD_WXCOLOUR_CONSTRUCTORS() in all ports now (patch 1851600)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:03:58 +00:00
Stefan Csomor
3f434666bf
changing to wxDC, so that wxGCDC can be used as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:10:38 +00:00
Stefan Csomor
1d7ed72986
changing to wxDC, so that wxGCDC can be used as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:07:56 +00:00
Stefan Csomor
30d54e2732
changing to wxDC, so that wxGCDC can be used as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:06:39 +00:00
Stefan Csomor
1f991c9d52
keeping the constness
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:05:13 +00:00
Václav Slavík
7d616e99ed
fixed wxScrolledWindow best size calculation: compute something (this was broken after 2.8) and don't use current size in computation; also removed now-unused ScrollGetWindowSizeForVirtualSize() method to simplify the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:47:55 +00:00
Jouk Jansen
76c32e7b97
Updates For OpenVMS support and some extra includes to define wx(xxxx)DC types.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 09:58:20 +00:00
Václav Slavík
57c5c10fb3
skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:30:38 +00:00
Robert Roebling
71cf399ff0
Playing with wxgrid, adding optionnally native columns labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 15:05:03 +00:00
Robert Roebling
ad684023c5
Remove old event type compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 11:24:44 +00:00
Paul Cornett
956e6c7b9c
remove extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:08:17 +00:00
Paul Cornett
901a462fd5
make access for virtuals match base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:08:00 +00:00
Paul Cornett
18591d70d9
DC headers don't need to be in gtk/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:07:40 +00:00
Vadim Zeitlin
9183da066e
no need to reenable VC warning 4251 now as it's globally disabled in wx/defs.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 00:55:03 +00:00
Vadim Zeitlin
32aa5bda92
made deprecated erase() overload inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 00:53:24 +00:00
Václav Slavík
06b9c2a22f
when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 19:21:52 +00:00
Václav Slavík
46c7e1a120
implemented wxExecute() for wxDFB; share the implementation with wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 18:52:55 +00:00
Vadim Zeitlin
2804f77d88
more socket cleanup to allow using wxSocket from both wxBase and wxCore (replaces patch 1756260)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 16:45:08 +00:00
Václav Slavík
fc01e9b380
clarified wxRect::Contains(wxRect) comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 20:33:02 +00:00
Stefan Csomor
6bf7d10b9a
derive wxColourBase from wxObject on msw as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 14:06:52 +00:00
Stefan Csomor
3c419e8111
moving things to private headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 13:23:26 +00:00
Stefan Csomor
3adadab482
moving things to private headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 13:22:37 +00:00
Stefan Csomor
e8db0e1e5c
adding explicit copy and assignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 13:15:05 +00:00
Stefan Csomor
c5ad4777e0
changing colour derivation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-18 13:13:46 +00:00
Robert Roebling
33ba5a0562
Added wxDataViewListIndexModel::Reset(), clarified and corrected wxDataViewModel::Cleared(), corrected sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 13:56:28 +00:00
Robert Roebling
8b6cf9bf10
Added wxDataViewListIndexModel::RowsDeleted() and various related corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 11:28:02 +00:00
Paul Cornett
ea3a345f1c
factor out a whole bunch of duplicated code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 07:31:35 +00:00
Paul Cornett
d254213eb2
add MutexGuiEnter/Leave to wxAppTraits, integrate native GTK+ GUI locking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 05:37:00 +00:00
Chris Elliott
243ef54b39
fix bug VC6 with returning void function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 20:10:17 +00:00
Robert Roebling
6af3eec222
Add dataview context menu event definitions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 14:48:13 +00:00
Robert Roebling
ab70c3bb5c
probably fixed blit crash in X11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 13:54:05 +00:00
Vadim Zeitlin
7776d70e7f
undid incorrect replacement of WXDLLEXPORT with WXDLLIMPEXP_ADV, wxAnimationDecoder is a core class (because it's the base class for wxANIDecoder which is itself in core because it's used by wxBitmap); remove unnecessary dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 23:16:56 +00:00
Vadim Zeitlin
10d302224e
fixed wxGTK1 compilation after wxDC changes (still doesn't work)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 18:20:59 +00:00
Vadim Zeitlin
8f884a0dcc
Fix Ok/IsOk() mess in wxGDIObject-derived classes; also added
...
wxGDIObject::Create/CloneGDIRefData() and implemented them for (almost) all
ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 17:54:20 +00:00
Vadim Zeitlin
6184558583
wxMotif should use wxX11 wxPalette instead of duplicating it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 15:48:29 +00:00
Vadim Zeitlin
46f3731f5a
another unused parameter warning (plenty left in .mm files...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 13:55:08 +00:00
Vadim Zeitlin
2d80da5f25
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 13:52:58 +00:00
Václav Slavík
f944aec0cf
removed SetVirtualSizeHints() and related code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 12:07:32 +00:00
Robin Dunn
7e0c58e92c
Update Scintilla to version 1.75
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 04:07:00 +00:00
Vadim Zeitlin
e2fc40b478
PalmOS 6 compilation fixes (patch 1849757)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 01:25:56 +00:00
Vadim Zeitlin
fce127d758
wxMotif compilation fixes after wxDC changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 00:06:08 +00:00
Vadim Zeitlin
4a624f6ed3
fixed wxDFB compilation after wxDC-related changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-14 22:41:07 +00:00
Robin Dunn
0dd9b9e2be
Applied patch [ 1845819 ] wxMSW Top level window freeze fix for trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 20:56:15 +00:00
Mart Raudsepp
f07d9b9777
Include defs.h before checking if wxUSE_GRAPHICS_CONTEXT is requested in build.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 20:20:21 +00:00
Vadim Zeitlin
8257d7cd47
corrected/removed forward declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 14:32:49 +00:00
Vadim Zeitlin
163b3ad72c
replace wrong WXDLLEXPORT declarations with correct WXDLLIMPEXP_BASE/ADV/GL (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 01:35:53 +00:00
Vadim Zeitlin
3d2085a422
don't overload SizeInM{aj,in}orDir() on const/non-const, VC6 has troubles with this as does DMC, so use different names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 12:42:58 +00:00
Stefan Csomor
05b735af0d
moving common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-10 20:09:53 +00:00
Stefan Csomor
43cf637fac
moving common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-10 20:07:19 +00:00
Robin Dunn
8fde39dfea
Add GetSelectedBitmap methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-10 20:03:31 +00:00
Stefan Csomor
162adae55b
missing forward decl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-09 16:46:56 +00:00
Stefan Csomor
9468cc47e6
moving collapsible pane a few steps forward os OSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 22:31:12 +00:00
Vadim Zeitlin
23bd008a7f
add wxUSE_TASKBARICON_BALLOONS to make it possible to turn off their usage if our SDK is too old (mainly for VC6 with its original ancient SDK)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 20:51:21 +00:00
Vadim Zeitlin
174e8f45df
translate wx{File,Dir}PickerWidgetLabel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 20:49:21 +00:00
Stefan Csomor
c7135017cc
easier expression
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 20:04:06 +00:00
Robert Roebling
4792288831
Use native DisclosureTriangle control for wxCollapsiblePane, II
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 18:49:08 +00:00
Stefan Csomor
6fc6659da9
unifying CFTypes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 18:26:11 +00:00
Robert Roebling
8f782954d1
Compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:55:37 +00:00
Stefan Csomor
a97fbf04c6
unifying CFTypes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:36:44 +00:00
Stefan Csomor
f35e4634f3
unifying CFTypes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:35:54 +00:00
Stefan Csomor
c47e732c7a
fn_str encoding symmetry fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:33:29 +00:00
Robert Roebling
480be76aae
Make wxGenericColourButton derive from wxBitmapButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:29:19 +00:00
Robert Roebling
15f7c30516
Added wxWrapSizer (modified patch: [1826950] Wrapping Sizer) from Arne Steinarson
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 11:37:17 +00:00
Robert Roebling
a0b5751160
Derive from wxToggleButtonBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 10:43:38 +00:00
Robert Roebling
803cab4da9
Derive from wxToggleButtonBase
...
-i Diese und die folgenden Zeilen werden ignoriert --
M gtk1/tglbtn.h
M palmos/tglbtn.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 10:43:10 +00:00
Robert Roebling
77325c7088
Forgot this one.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 10:37:45 +00:00
Robert Roebling
10ff9c616e
Document wxBitmapToggleButton, add update UI event in Base class for all toggle buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 10:36:59 +00:00
Václav Slavík
b7527dde39
fixed wxSpinCtrl's client size computation in wxMSW to return something sensible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 19:52:57 +00:00
Paul Cornett
512cfcc341
make access for virtuals match base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 16:22:00 +00:00
Paul Cornett
15041ff9c8
match CFTypeRef declaration to the one in defs.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 16:10:38 +00:00
Paul Cornett
d7e0343413
remove extra semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 16:10:24 +00:00
Robert Roebling
f8b13b5868
Added wxToggleBitmapButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-05 15:01:13 +00:00
Paul Cornett
53e3cd047c
Only account for WM frame extents in tlw size if WM supports _NET_FRAME_EXTENTS. Extents cache no longer needed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 17:26:57 +00:00
David Elliott
938156b255
Make wxCocoa compile with new pImpl wxDC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 04:22:16 +00:00
Vadim Zeitlin
9d55bfef2c
don't use 8 bit characters in sources, this results in level 1 warning with VC8 (patch 1841741)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 22:09:26 +00:00
Stefan Csomor
4dd36d1d69
fixing warning about missing virt destructor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 16:34:29 +00:00
Robert Roebling
1a07a730f0
Add support for wxDC_ROW_LINES for GTK+ and OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 09:44:29 +00:00
Paul Cornett
204abcd474
remove unneccessary header dependencies on wx/thread.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 02:55:14 +00:00
Paul Cornett
11a0827d14
non-pch build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 02:15:43 +00:00
Vadim Zeitlin
e5dbea4951
added support for icon flags to wxGenericNotificationMessage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 19:43:04 +00:00
Vadim Zeitlin
5e6b39c9d6
added wxNotificationMessage::AlwaysUseGeneric() MSW-specific method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 19:42:15 +00:00
Vadim Zeitlin
1970409e33
added wxArtProvider::GetMessageBoxIcon() to avoid duplicating the same code in generic message and log dialogs (and soon notification message too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 19:39:59 +00:00
Vadim Zeitlin
e2d5abbf52
implemented wxNotificationMessage for wxMSW using wxTaskBarIcon and fallback to generic implementation on older systems; added wxNotificationMessage::SetFlags()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 17:02:30 +00:00
Vadim Zeitlin
5e9b921dc6
added wxApp::GetShell32Version() to test for shell32.dll support of balloon tooltips
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 16:12:19 +00:00
Vadim Zeitlin
d3f1209867
added wxEVT_TASKBAR_BALLOON_TIMEOUT/CLICK which will be used by the wxMSW wxNotificationMessage implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 22:48:06 +00:00
Vadim Zeitlin
477c48bf58
add wxPrintData forward declaration (blind fix for Mac compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 20:04:53 +00:00
Robert Roebling
a75124d0da
Added wxDataViewTreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 19:01:47 +00:00
Paul Cornett
380740af5d
non-pch build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 18:37:08 +00:00
Vadim Zeitlin
cdcfde5d20
added MSW-specific wxTaskBarIcon::ShowBalloon() method; use it in the taskbar sample (and also clean it up significantly)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 16:25:30 +00:00
Vadim Zeitlin
53c75dc2f2
test for wxUSE_UNICODE_UTF8 in wxUTF8Buf definition was reversed, correct it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 15:14:39 +00:00
Vadim Zeitlin
8ecf734646
compilation fix after argv changes (move initialization from OnInitGui() to Initialize() where the original command line arguments are accessible)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-01 13:26:42 +00:00
Robert Roebling
b2da749f06
compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 23:12:58 +00:00
Robert Roebling
80052501c8
forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 23:03:22 +00:00
Vadim Zeitlin
b1f0e54a75
compilation fix after removing default wxDC ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 21:17:23 +00:00
Vadim Zeitlin
f2498c4e33
free wxDCFactory::m_factory; also renamed SetDCFactory() to just Set()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 21:11:00 +00:00
Vadim Zeitlin
f087550131
remove default wxDC ctor to make it impossible to construct DCs without the associated wxDCImpl (this breaks compilation of classes such as wxMirrorDC instead of crashing at run-time); fixed wxMirrorDC compilation after breaking it; renamed wxDCFactory::GetFactory() to just Get(), no need to be repetitive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 20:56:12 +00:00
Stefan Csomor
bab4b13d39
atsu for textctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 20:52:13 +00:00
Stefan Csomor
ac43092b9d
using common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 20:51:32 +00:00
Robert Roebling
78cededfdc
remove test for new dc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 20:00:19 +00:00
Robert Roebling
6b4f4d4731
Compile with printarch off
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 19:59:43 +00:00
Robert Roebling
05dff6b075
wxOverlay compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 18:06:10 +00:00
Robert Roebling
e6514d0ea0
more DC changes for wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 17:51:36 +00:00
Vadim Zeitlin
1a2c763ccb
corrected DECLARE_DYNAMIC_CLASS use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 17:47:55 +00:00
Robert Roebling
abc4685ebd
remove superfluous visibility attribute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 17:43:24 +00:00
Stefan Csomor
da52a4e023
fixing 10.5 only compiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 15:31:52 +00:00
Robert Roebling
2b77c3fce7
converted most of X11 DC code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 15:26:05 +00:00
Vadim Zeitlin
6f34862c6a
build fixes for wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 14:16:11 +00:00
Robert Roebling
888dde65f4
DC reorganization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 13:48:22 +00:00
Stefan Csomor
0ce70bf3c9
fixing 10.5 only compiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 10:26:03 +00:00
Stefan Csomor
b81f668c1b
using the cf string conversions exclusively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 07:37:44 +00:00
Stefan Csomor
16bdd5e4a3
adding CoreText implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 21:36:30 +00:00
Václav Slavík
937013e0fd
1. added wxEvtHandler::SafelyProcessEvent() and wxWindow::HandleWindowEvent() to correctly handle exceptions in even handlers in wxGTK
...
2. use HandleWindowEvent() everywhere as more obvious and convenient shortcut for GetEventHandler()->ProcessEvent(); also for consistency with wxGTK where it's required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 17:00:58 +00:00
Stefan Csomor
577246ef3a
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 12:34:54 +00:00
Julian Smart
b6359a0785
Use wxStdDialogButtonSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 14:10:25 +00:00
Vadim Zeitlin
1bd01c5162
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 13:57:10 +00:00
Stefan Csomor
3e109f6d78
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 10:42:13 +00:00
Stefan Csomor
4ccb5877f7
cleanup, fixing exports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 05:52:02 +00:00
Stefan Csomor
8c02d0f87a
cleanup, fixing exports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 05:48:15 +00:00
Vadim Zeitlin
088dd4c9c9
initialize m_ownsConv (part of patch 1836644)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 02:50:31 +00:00
Václav Slavík
b150bffc9e
fixed linking with visibility enabled on Ubuntu and some other systems (any gcc 4.2 amd64?) by removing superfluous virtual wxColour::Ok() (already in wxColourBase) -- do this in all ports, not just wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:37:06 +00:00
Václav Slavík
615a8ae166
once again removed #ifdefs that conditionally included the exact same code on Mac and non-Mac, instead of having just one copy of it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:28:47 +00:00
Stefan Csomor
bf83191aad
fixing cases for mac / quickdraw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 10:59:57 +00:00
Stefan Csomor
7f801f8575
cleanup / adding effects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 07:45:07 +00:00
Stefan Csomor
629b5a8746
universal fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 07:43:06 +00:00
Vadim Zeitlin
49ec3b67dd
wxStr[c]spn_String fixes: use size_t, not int, as return type; use WX_STR_FUNC_NO_INVERT for wrappers declarations as they're not symmetric; also corrected mistaken use of int instead of rettype in WX_STR_FUNC_NO_INVERT itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 14:34:23 +00:00
Vadim Zeitlin
1b6d87d08e
use size_t instead of unsigned int to avoid MSVC warnings about converting the former to the latter when compiling with /Wp64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 14:28:54 +00:00
Paul Cornett
19abd352e8
remove unused/unneeded stuff from gtk/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 03:33:26 +00:00
Paul Cornett
04109b2296
remove check for missing gtk_icon_size_lookup, since it is for GTK+ 2.1, and 2.4 is required now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 19:11:19 +00:00
Stefan Csomor
9c16962b62
mac more native types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 16:51:36 +00:00
Stefan Csomor
6fe8830e92
mac more native types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 16:50:06 +00:00
Vadim Zeitlin
376d7d9764
added Show/HideWithEffect() and implemented them using AnimateWindow() for Win32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 16:15:08 +00:00