Commit Graph

24618 Commits

Author SHA1 Message Date
Vadim Zeitlin
386a2898e3 fix a hang up in wxExecute(wxArrayString& output) overload (#4380)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 23:37:56 +00:00
Vadim Zeitlin
e974c5d258 implement wxListCtrl::GetSubItemRect() for generic version and fix bug in it in wxMSW one; also added a test for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 18:21:33 +00:00
Vadim Zeitlin
a2fd8a45ec VC6 compilation fix: using access declaration can only be used with immediate base class members with this compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 13:40:08 +00:00
Robert Roebling
29886d1bf8 Removed most of the pre-XDG MIME code from the Unix implementation, many speed-ups by simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 11:58:41 +00:00
Julian Smart
c268eb3272 Further style preview fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 09:42:41 +00:00
Vadim Zeitlin
f95abb9d3d blind fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 22:11:52 +00:00
Vadim Zeitlin
619ddbbe36 compilation fix for ASCII STL build (#9661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 21:46:29 +00:00
Julian Smart
2a94806c9a Corrected problem of wrong paragraph receiving style in formatting dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 17:03:45 +00:00
Stefan Neis
86647b53e9 Don't force ColWidth to always grow for wxGridCellAutoWrapStringRenderer (#1798)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 15:14:42 +00:00
Vadim Zeitlin
b64845917a don't call SetInsertionPointToEnd() on read-only combobox in wxGridCellChoiceEditor::Reset() neither (this had been already fixed for StartEdit() before) (#8843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:19:44 +00:00
Vadim Zeitlin
929b79014a support wxListCtrl::GetViewRect() in report view too; test it in the sample (#9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:12:12 +00:00
Vadim Zeitlin
d035e423e4 don't ignore changes of empty string to 0 or vice versa in float grid cells (#4764)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 23:14:35 +00:00
Vadim Zeitlin
2ccc6650ca support wxDP_ALLOWNONE in generic wxDatePickerCtrl (#3164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:58:07 +00:00
Vadim Zeitlin
053ac76fa2 deprecate wxTE_AUTO_SCROLL as it's always on in the ports which support it anyhow (#2176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:18:54 +00:00
Vadim Zeitlin
ec27ba21ed don't activate items on Alt-Space or Alt-Enter (#9615)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:49:44 +00:00
Vadim Zeitlin
4095fb14c4 don't call OnData() if OnEnter() rejected the drag (#9634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 01:40:42 +00:00
Stefan Neis
5b7668004b Restricted column/row resizing in cell window to left button for consistency
with label windows and because ending the resize is only handled in
        case of LeftUp() (Fixing #4212).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 00:10:20 +00:00
Stefan Csomor
92b6654b66 use default fonts that have also bold and italic variants present on the system (CoreText does not synthesize font variants) fixes #4751
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 15:27:21 +00:00
Robert Roebling
1dea1566c8 Added mostly empty wxLaunchDefaultApplication
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 14:14:13 +00:00
Robert Roebling
88684daa70 gtk wxStaticText and wxALIGN_CENTER_VERTICAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 13:19:19 +00:00
Stefan Csomor
cde80c9284 was incorrectly forcing the font to 12 in most cases, fixes #4745
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 09:50:08 +00:00
Vadim Zeitlin
249259e753 still support wxNB_XXX and wxADJUST_MINSIZE in XRC files even if they're deprecated at C++ level, not all tools have been updated to not use them any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 12:44:14 +00:00
Vadim Zeitlin
7f173c3349 don't forget to output new line in wxMessageOutputStderr::Output() even if conversion to multibyte fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 11:49:25 +00:00
Vadim Zeitlin
831b64f32f fix the wrong #ifdef WXWIN_COMPATIBILITY_2_8 checks, #if should be used (#9644)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 11:16:40 +00:00
Julian Smart
f31f319f0a Fixed bug whereby sash would disappear under left hand pane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 10:55:46 +00:00
Stefan Csomor
d89af57a1a fixing an incorrect conversion path from utf8 to plain ascii instead of unicode, closes #9629
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 07:19:05 +00:00
Julian Smart
c895624b13 Allow an app to cut down start time by not doing unnecessary mime types initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 08:38:10 +00:00
Vadim Zeitlin
6ad7799c0b don't use deprecated wxIconizeEvent::Iconized()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-24 23:42:43 +00:00
Robert Roebling
4754ab1630 Next part of tree state icon patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-24 12:48:01 +00:00
Vadim Zeitlin
b4de6e0d25 wxLB_MULTIPLE is same as wxLB_EXTENDED in wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-23 22:49:21 +00:00
Paul Cornett
d3ad397447 avoid setting a negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-23 17:43:09 +00:00
Julian Smart
84513dcb32 Fixed mime type recognition under Gnome by reading appropriate
.desktop files and application defaults


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-23 13:42:08 +00:00
Vadim Zeitlin
e453fe9656 fix problem with label characters starting with -1 in ANSI build (#9572)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 15:49:12 +00:00
Vadim Zeitlin
6c70323fcb fix handling of wxDP_SHOWCENTURY for some non-C locales (one of the problems of #4743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 15:06:57 +00:00
Vadim Zeitlin
9cd28f4815 allow creating items without parent menus (#3425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 14:47:40 +00:00
Vadim Zeitlin
dc28b8564e allow wxDialog::ShowModal() after Show() (see #1416, #4658, #4664)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-22 14:40:25 +00:00
Vadim Zeitlin
edc5134402 initialize wx{Client,Paint,Window}DC with fonts/colours of its window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:17:00 +00:00
Vadim Zeitlin
9928536b3a remove Create{Window,Client,Paint}DC() methods without window parameter -- they don't make sense as these DCs must always be associated with a window and are unusable if created without it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:05:45 +00:00
Vadim Zeitlin
0f5a779f12 don't allow editing listbox entries; better handling of scrollbar styles (#9084)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:59:26 +00:00
Vadim Zeitlin
4e2a377838 assert if ShowModal() is called after a previous Show() (#1416)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:51:42 +00:00
Vadim Zeitlin
48e487e37f compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:13:07 +00:00
Vadim Zeitlin
1a9a6eed36 disable report view mode under Mac as it hangs the native wxListCtrl implementation (continuation of #9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:10:52 +00:00
Vadim Zeitlin
8ca1b2c502 use the real clipping region and not just its bounding box in :DoDrawBitmap() (#9597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:50:58 +00:00
Vadim Zeitlin
624f82cc94 implement wxWinINetInputStream::GetSize() (#9600)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:42:20 +00:00
Vadim Zeitlin
a30e702974 added wxGenericStaticBitmap (#9608)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:32:33 +00:00
Robert Roebling
e98c065545 Use wxMenuBase:SendEvent() to emit event, shoudl also fix #801: Menu cmd events: Inconsistent GetEventObject()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:03:44 +00:00
Vadim Zeitlin
f96f6a880c don't pass negative height to wxWindow::SetSize(), this results in GTK+ warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 14:41:24 +00:00
Robert Roebling
177e38e645 Don't let MSW's wxSpinCtrl emit spin up and down events as in the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:17:33 +00:00
Stefan Neis
96ca74cdda Cleaned up/Fixed wxGrid{Cell,RowOrCol}AttrData::SetAttr, adding some comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-18 11:24:34 +00:00
Robert Roebling
03966fcb3f #9591: Item state (icons) for wxTreeCtrl on any platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 17:50:40 +00:00