Commit Graph

25310 Commits

Author SHA1 Message Date
Václav Slavík
55ad60c94c wxHTML: don't include extra whitespace in table cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 07:24:36 +00:00
Vadim Zeitlin
22a9029e23 VC6 compilation fix after last change (thanks buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 00:32:24 +00:00
Vadim Zeitlin
8aea37a9df use buffered streams to reduce the number of TCP packets used per IPC command from up to 7 to 1 for reasonably sized payloads, this dramatically (by 150 times for the IPC benchmark on a LAN) increases performance; also centralize all the streams used in a single wxIPCSocketStreams class and allocate only it on the heap instead of doing it for all of the streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:45:55 +00:00
Vadim Zeitlin
f42c1512dd provide ctors allowing to specify the non-default buffer size for buffered streams and wxStreamBuffer itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:42:45 +00:00
Vadim Zeitlin
de56f24082 added wxDocument::AlreadySaved() and use it in OnUpdateFileSave() to ensure that the "Save" menu item is enabled for new documents, even although they're not modified yet (otherwise the standard Ctrl-S key doesn't work in this case which is pretty annoying)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:23:25 +00:00
Vadim Zeitlin
838dd956a4 fix assert when adding an entry to an already full file history (closes #10118)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:04:06 +00:00
Jouk Jansen
958b430ac7 Update OpenVMS compile support (problem cairo logical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 07:53:45 +00:00
Francesco Montorsi
a805142d93 move wxVListBoxNameStr into vlbox.cpp source file (as for all other wxWidgets *NameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:03:37 +00:00
Francesco Montorsi
303c6f20d2 make IsKindOf() taking a const wxClassInfo* instead of a wxClassInfo*, just like the homonym method in wxClassInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 14:54:40 +00:00
Václav Slavík
9e570f836b fixed interpretation of line breaks in <pre> to conform to the spec (#10120)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 10:04:36 +00:00
Vadim Zeitlin
7e73fb9c99 no real changes, just reformat before starting really modifying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 00:02:38 +00:00
Vadim Zeitlin
438febca6e don't sleep too long to avoid missing the timers; added a simple test for timer events processing in console apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 22:04:42 +00:00
Vadim Zeitlin
ae3b14872b don't save the initial selection if it's invalid in CBN_DROPDOWN (refixes #8474 without breaking #9995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:47:07 +00:00
Vadim Zeitlin
9eb2347dc3 disable workaround for lack of alpha support in native static bitmap control for WinCE, apparently it breaks the display (#10093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:15:19 +00:00
Jaakko Salli
cfcc02a8a4 Removed dummy wxFont == operator implementation (IIRC was needed to compile with some old version of wx)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:26:46 +00:00
Robert Roebling
e3cb990e68 Set cursor to <from> in wxTextCtrk::SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 14:29:16 +00:00
Robert Roebling
5edfb38495 Disable focus out events during menu popup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 14:19:18 +00:00
Robert Roebling
36a845fe5b Added method to disable focus_out handling temporarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 14:02:54 +00:00
Vadim Zeitlin
4e10de45a6 rename ca@valencian description to "Valencian (Southern Catalan)" at translators request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-25 15:48:52 +00:00
Vadim Zeitlin
90523bdb22 fix a couple of typos pointed out by a translator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 14:53:01 +00:00
Robert Roebling
bf7160a83e Ticket #10108 (bitmap from wxImage depth regression)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 16:58:51 +00:00
Jaakko Salli
78f2d746a0 Merged wxBaseEnumPropertyClass (intermediate property class with obsolete purpose) to wxEnumPropertyClass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 15:23:07 +00:00
Robert Roebling
788432e343 Correct TAB handling for generic wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-21 19:10:25 +00:00
Jaakko Salli
98c0463399 Removed deprecated functions wxPGChoices::HasValue(), HasValues()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-21 15:17:06 +00:00
Jaakko Salli
b50e81c696 Added workaround for wxGTK tab traversal problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-21 14:35:17 +00:00
Jaakko Salli
f275b5dbfd User should no longer be able to modify disabled or read only child properties by editing their parent (wxPG sf bug #2181860)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 17:01:17 +00:00
Paul Cornett
e253521dda fix for assert failure when first paint event occurs before first idle event, #10085
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 16:50:20 +00:00
Robert Roebling
4ee5edc799 Fix wxListCtrl::Insert() bug reported by Riccardo Cohen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 11:33:58 +00:00
Vadim Zeitlin
53b849eadf use wxRegKey::QueryDefaultValue() explicitly to fix DMC compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 11:08:05 +00:00
Vadim Zeitlin
dd639a4f27 a couple of more left over Borland unused variable/code warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:52:17 +00:00
Vadim Zeitlin
f1430ac766 slightly better error reporting (could still be improved)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:43:17 +00:00
Vadim Zeitlin
bd8b65be3d 2006 version of Borland compiler still doesn't grok operator?: involving wxStrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:31:29 +00:00
Vadim Zeitlin
e822d1bd5f fix more Borland release build warnings about unused variable/code without effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:30:49 +00:00
Vadim Zeitlin
107b52ed17 avoid an unnecessary and unused (resulting in release build warning) variable in GetMimeTypeFromExt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 09:57:34 +00:00
Vadim Zeitlin
3232da9d90 work around Borland compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 09:00:19 +00:00
Vadim Zeitlin
ddc7f0c975 fix virtual function hiding warnings introduced to changing wxSockAddress argument of Connect() to be passed by const reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 08:59:45 +00:00
Vadim Zeitlin
419875a6f5 use renderer for drawing the item background on ports other than GTK2 and Mac too (why not?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 08:58:52 +00:00
Vadim Zeitlin
d8defde6b0 remove unused abits variable from DoLoadDib()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 08:51:30 +00:00
Jaakko Salli
404b9c623a Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:48:49 +00:00
Jaakko Salli
9bc1121429 In wxPropertyGridManager, alphabetic mode is now sorted even if wxPG_AUTO_SORT flag is absent (fixes wxPG sf bug #2162053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:29:36 +00:00
Jaakko Salli
c904964610 Fixed wxSystemColourProperty::ValueToString(). It now once again properly formats custom colour selection as (R, G, B) when displayed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:16:29 +00:00
Jaakko Salli
2cbd2892e7 Connect wxEVT_KEY_DOWN for both editor controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 16:32:59 +00:00
Jaakko Salli
4d11369db6 Do not skip key events so eagerly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 16:09:48 +00:00
Stefan Csomor
b4afc5ec37 adapting to API change from GetContentAreaInset to GetContentArea, fixes #10071
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 16:09:33 +00:00
Jaakko Salli
b47d6bc416 Forgot event.Skip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:27:58 +00:00
Jaakko Salli
68f9e025b9 Simplistic tab support is now default (tab focuses editor if unfocused, otherwise goes out of grid), no longer recognizes wxTAB_TRAVERSAL, unified key handling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:11:44 +00:00
Robert Roebling
4b230a33c5 Allow create of 24-bit bitmap, use Pixbuf when not a 24-bit visual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 14:32:56 +00:00
Jaakko Salli
c82a80e81f wxPGProperty::GenerateComposedValue() -> protected DoGenerateComposedValue(), added simple public GenerateComposedValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 16:46:38 +00:00
Vadim Zeitlin
157a8f7002 handle error in GetDataSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 13:54:05 +00:00
Jouk Jansen
a343ac03ce OpenVMS compile support update for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:47:13 +00:00