Commit Graph

42641 Commits

Author SHA1 Message Date
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
ad294cb8f6 fix handling of OEM VKs in wxCharCodeWXToMSW() (patch 1810940)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:59:09 +00:00
Vadim Zeitlin
5c58a3a97c meaning of left/right keys should be inversed in RTL locale (patch 1863866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:53:12 +00:00
Vadim Zeitlin
1f2a1c3cd7 correct handling of positive quality values (2nd part of patch 1851381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:44:36 +00:00
Vadim Zeitlin
23abaeaecd more fixes to handling of the resolution chosen in GTK print dialog (patch 1864504)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:41:59 +00:00
Vadim Zeitlin
cd844951fa don't remove handlers from wxPendingEvents list, they now do it themselves when they don't have any more events or are destroyed (should have been part of r51021)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 17:37:17 +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
728cf0ad42 compilation fix for wxUSE_DISPLAY==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:02:29 +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
Paul Cornett
e60f8377be fix for last commit: didn't work if mask was white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 06:58:11 +00:00
Paul Cornett
8805143613 Fix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second-most frequent color.
Simplify color cursor code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 05:28:22 +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
e81fa3850e also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:52:42 +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
Julian Smart
cfa42cb87f Suppressed the themed border by defining GetDefaultBorder
Set custom background style


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:39:10 +00:00
Vadim Zeitlin
6f6b48f176 don't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow; do call it from Flush() however (replaces patch 1857589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:27:31 +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
Vadim Zeitlin
9d59b50a9f allow creating empty ZIP archives (patch 1861030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 20:31:31 +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
efc5f7eb98 reorder the methods in alphabetical order (patch 1861348)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 16:53:07 +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
Stefan Neis
038c03337f Blind fix for typo in 50972.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 13:09:17 +00:00
Michael Wetherell
31c0639151 Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 08:04:30 +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
95883d6c0f CentreOnScreen() is in wxTLW, not wxWindow (bug 1861670)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:04:12 +00:00
Robin Dunn
d67c33888f Ensure AutoComp items with no type will set the item's image index to -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 20:12:42 +00:00
Vadim Zeitlin
a3cf8dca33 ensure that gsockmsw.obj is linked in, it was optimized away by MSVC linker resulting in socket manager not being initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 10:32:21 +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
Václav Slavík
f396e5a7ca fixed incorrect use of wxVector<> in wxXRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 09:45:19 +00:00
Václav Slavík
769dd0cee1 use iterator in wxTextBuffer::Translate() instead of c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 08:58:05 +00:00
Mart Raudsepp
b35388de3e Remove declaration of wxScaledFontList wxHashMap, as that's used only in gtk1 port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 06:49:23 +00:00
Paul Cornett
0c0f973fd8 fix leak when creating wxCURSOR_BLANK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 06:45:20 +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
Vadim Zeitlin
8bb0880114 define wxCurrentPoppuMenu for wxUniv too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 22:23:51 +00:00
Vadim Zeitlin
e8dacf99d8 clarify when wxMaximizeEvent is [not] sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 22:20:58 +00:00
Paul Cornett
a242662331 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 19:27:44 +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
Julian Smart
c21f3211ea Fixed pasting inefficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 14:20:49 +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
81d2719d5d Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 10:10:13 +00:00
Julian Smart
d9af3670ee Added missing includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 17:27:19 +00:00
Julian Smart
52519733ce Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 17:13:59 +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
85136e3bf5 wxDataViewCtrl DnD stubs, some reformating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 13:46:18 +00:00