Commit Graph

24435 Commits

Author SHA1 Message Date
Vadim Zeitlin
1033a7cc58 fix assert in ANSI build in wxConsoleStderr::GetCommandHistory() (ticket 9146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 12:47:27 +00:00
Robin Dunn
fa34bc5331 Add wxWebKitNewWindowEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:33:46 +00:00
Paul Cornett
e828d3fc80 fix leak introduced by r53753
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:15:35 +00:00
Vadim Zeitlin
7ead384579 get rid of MSVC warning about possibly uninitialized variable in CalcAndSendEvent() and also make its code somewhat more structured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 23:21:29 +00:00
Vadim Zeitlin
575cabba69 fix some harmless compilation in (release) MSVC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 22:48:54 +00:00
Vadim Zeitlin
ae1675944b ifdef fixes for PalmOS6 (part of ticket 4700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:35:13 +00:00
Vadim Zeitlin
2d7388d3e8 Palm compiler needs const_cast for passing const int parameters to function taking int (part of ticket 4700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:34:50 +00:00
Václav Slavík
f94d33c584 silence warnings about not using double-buffered surface in wxScreenDC ; add comment explaining why (and how) is wxScreenDC implementation in wxDFB broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:28:28 +00:00
Vadim Zeitlin
a0d6f21464 translate comments in English (part of ticket 4700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:26:11 +00:00
Vadim Zeitlin
66930b351f distinguish between Server 2003 and XP 64-bit (closes 3359)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:17:16 +00:00
Vadim Zeitlin
d4885e10dd add a mention to OS description string if running under a 64-bit Windows version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:00:22 +00:00
Vadim Zeitlin
a284cce85f recognize Vista by name in wxGetOsDescription()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 15:48:23 +00:00
Robert Roebling
e78c1d7855 Native wxBitmapComboBox patch for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 10:17:56 +00:00
Robert Roebling
7a04b64409 Clear columns on destruction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:52:26 +00:00
Robert Roebling
ef11ea71bb Use wxList::DeleteContents() to delete columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:26:09 +00:00
Robert Roebling
b3a3c9d82c Use wxList::DeleteContents() to delete columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:19:41 +00:00
Robert Roebling
1afad0ac74 Reapply wxWeakRef patch again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:17:56 +00:00
Robert Roebling
3e040a2981 Use wxWindowRef to hold pointer to default button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 08:53:48 +00:00
Stefan Csomor
47c1bb9515 fixing arc filling for angles > 180
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 04:49:30 +00:00
Paul Cornett
afd83fb797 fix removing menu item, ticket 3387
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-26 17:28:41 +00:00
Kevin Ollivier
c88d91ba07 (Port to trunk) Fix for wxClientDC::GetAsBitmap, which partially resolves ticket #9486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 21:54:32 +00:00
Kevin Ollivier
c489cc51e9 Build fix for non-pch builds, e.g. for universal binary building.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 21:48:39 +00:00
Robert Roebling
1ddb283ad5 Defer SetHorizontalExtent to idle, also fixes (wxListBox::Delete ignores Freeze/Thaw and is verrrrry slow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 20:54:30 +00:00
Vadim Zeitlin
5af86f4df5 don't take the min size into account when setting the window size explicitly in wxGTK, just as wxMSW doesn't do it; mention this in the docs and added a unit test to enforce this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 03:08:31 +00:00
Robert Roebling
ea6cbf486a Dont send spin text update event from SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 20:24:58 +00:00
Robert Roebling
d5d20078e0 Don't use font encoding in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 19:16:47 +00:00
Chris Elliott
997c7e4616 Borland still hates ternary ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 17:24:38 +00:00
Vadim Zeitlin
9a0c5c012a do case normalization after long path one, this fixes the problem with incorrect paths case under Vista (closes 9162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 14:42:40 +00:00
Vadim Zeitlin
784ee7d511 improve wxMessageOutputBest console output under Windows (closes 9146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 23:28:13 +00:00
Robert Roebling
e9863f4ea1 wxTextCtrk::GetRange() shouldn't crash on out of range request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 19:41:32 +00:00
Robert Roebling
d1263a3992 Simplify SetValue() with empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 19:40:28 +00:00
Vadim Zeitlin
9a8d75f1ed call base class version from SetWindowStyleFlag() to update common styles such as border ones too (closes #9480)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:56:24 +00:00
Robert Roebling
f796e8f0a8 Invocation of default button by <ENTER> was impossible in wxLB_MULTIPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:31:58 +00:00
Vadim Zeitlin
777f9cef02 fix MSVC warnings about conversions between pointers and longs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 12:18:27 +00:00
Robert Roebling
22892deac9 Move event generation in multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:03:55 +00:00
Robert Roebling
6645d46572 Move event generation in multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:03:00 +00:00
Robert Roebling
84c5c49bca Move event generation in multiple selectino mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:02:32 +00:00
Robert Roebling
bc60925fb3 Update selection cache when inserting items, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 10:19:31 +00:00
Robert Roebling
05d790f834 Move event generation code for multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 10:12:50 +00:00
Robert Roebling
2154130cd1 Disable events upon item deletion (just in case) and update selection cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 09:46:19 +00:00
Robert Roebling
415ab72e8d Forgot client data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:47:20 +00:00
Robert Roebling
e8c72fce14 Make events match better with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:31:47 +00:00
Robert Roebling
1e6ffd6691 Remove m_blockEvents and use Disable/Enable instead, some more rearraging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 20:53:10 +00:00
Robert Roebling
8c22378737 Also allow UP and DOWN if we reached max number of characters, part of [ 1947652 ] Improves keyboard behavior in wxTextCtrl on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 18:19:43 +00:00
Robert Roebling
dc0cea5e0e [ wxwindows-Patches-1947680 ] wxMac: Fixes number of printouts and more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 18:11:46 +00:00
Paul Cornett
3432c148c2 add missing static keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 16:46:08 +00:00
Vadim Zeitlin
0662f99096 add back wxChoice::DoGetBestSize() removed by the previous refactoring, it's still needed (#9150)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:55:59 +00:00
Vadim Zeitlin
154014d681 added wxDateTime::SetFrom/GetAsMSWSysTime() (#9161)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:49:27 +00:00
Vadim Zeitlin
026d727651 don't reserve space for the icons if none are used, even if we're in icon view (closes 9472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:36:48 +00:00
Vadim Zeitlin
63b37a4e64 add handling of wxWrapSizer flags (part of ticket 9468)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:33:12 +00:00