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
1d196b01ab
add support of wxTE_PROCESS_ENTER (1/2 of patch 1831995)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 14:45:46 +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
7d287e713f
don't unload libgnomevfs.so, this results in a crash on exit later so keep it loaded as a lesser evil (see Gentoo bug 203389)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 13:14:41 +00:00
Václav Slavík
2e3d68e97c
disable eVC makefiles for sockets (no CLI targets possible on this platform)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 10:25:39 +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
6e3e6c8efb
fix comparison of BYTE variable with -1 after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 00:27:41 +00:00
Vadim Zeitlin
3b118eda4e
removed extra default clause accidentally added by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 21:00:10 +00:00
Václav Slavík
2fa54004f2
explicitly request that RPM spec files have Unix line endings with bakefile 0.2.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 19:54:21 +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
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