Commit Graph

1234 Commits

Author SHA1 Message Date
Vadim Zeitlin
d5d363321c don't return the next line text from GetLineText() for empty lines (patch 1697208) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:19:59 +00:00
Václav Slavík
89b6915f14 added wxString::[w]char_str() to 2.8 for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 12:25:40 +00:00
Vadim Zeitlin
5f814f27d9 don't handle orderly socket shutdown by the peer as an error (patch 1688222) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:04:25 +00:00
Vadim Zeitlin
993ad8f9b4 don't call gtk_label_set_line_wrap() from DoGetBestSize() as this results in an infinite resizing loop when the control is inside a GTK+ widget doing its own layout (such as wxToolBar) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:16:10 +00:00
Vadim Zeitlin
1059208429 fixed bug in wxThread::Wait() in console applications introduced in 2.8.3 (bug 1690777)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:28:21 +00:00
Vadim Zeitlin
9ce84d105d make wxNO_BORDER work with wxRadioBox (patch 1525406) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 02:03:27 +00:00
Vadim Zeitlin
7a6043ae7c don't use TPM_RECURSE under NT4, it results in TrackPopupMenu() not showing the menu at all (bug 1663216) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 16:23:12 +00:00
Vadim Zeitlin
c0459b5cfa correct the checked flag in the event generated by checkable menu items (fixes bug introduced in 1.143.2.1, patch 1685634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 03:04:09 +00:00
Vadim Zeitlin
5d511d9b6e don't lose the combobox text when it's opened and closed (patch 1684252, closes bug 1612994) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:46:21 +00:00
Vadim Zeitlin
0f97497fcf corrected static box label appearance when its foreground colour was set and either background colour was set too (it was ignored) or font of non default was used (label wasn't drawn correctly) (backport of patch 1683573 from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:31:35 +00:00
Vadim Zeitlin
4b4faab50c fixed handling of accelerators using PageUp/Down keys (bug 1683613) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:20:22 +00:00
Vadim Zeitlin
574a10327f fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:41:37 +00:00
Vadim Zeitlin
a3e7853b08 shutdown sockets gracefully instead of doing it with TCP reset (patch 1682438) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 02:15:31 +00:00
Julian Smart
f4c858ac7b Change log and readme/manual contents update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:45:17 +00:00
Vadim Zeitlin
a1ac47b927 fix GetSize() for large files (patch 1680876) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:21:59 +00:00
Vadim Zeitlin
3a5c9d1005 don't add extra GetCharHeight() pixels to the top border if our label is empty (patch 1581459) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:29:43 +00:00
Vadim Zeitlin
788cc3ac41 added wxSafeConvertMB2WX/WX2MB() and use them when interfacing with C functions which crash if we pass them NULL pointers [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:40:32 +00:00
Vadim Zeitlin
8ff7d4b06d fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (patch 1667145) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:21:48 +00:00
Vadim Zeitlin
bebb6b2f05 fix base64 computation for strings whose length modulo 3 is 2 (patch 1665520; bug 1661616) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 23:07:17 +00:00
Vadim Zeitlin
8059fb2713 fix hang on startup in Unicode build if any standard GTK+ command line arguments were passed (patch 1665203; bug 1663597) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:45:32 +00:00
Vadim Zeitlin
7568c3a29c fixed detection of number of processors under Linux 2.6 [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:25:17 +00:00
Vadim Zeitlin
0c2aec0e8f return correct client area for at least the primary display, fixes the problems with incorrect positioning of the Center()d windows [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:51:00 +00:00
Julian Smart
a5ef3ff1d9 Updated change log, date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-05 17:21:08 +00:00
Julian Smart
24ef688ebe Added some change logs, updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 10:05:49 +00:00
Vadim Zeitlin
484f1362b2 update wxChoice value when SetSelection() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 17:43:03 +00:00
Włodzimierz Skiba
53ab8e0d5f Fixed wxComboBox always sorted in all univ builds (see wxforum.shadonet.com/viewtopic.php?p=53661)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 12:26:33 +00:00
Vadim Zeitlin
5520cb30af Added wxSizerFlags::Top() and Bottom()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:34:00 +00:00
Robin Dunn
69d4bbb974 Added wxToolBar::SetTool[Normal|Disabled]Bitmap for wxMSW, wxGTK and wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:35:07 +00:00
Vadim Zeitlin
3aba082d50 don't crash in dtor if the X11 window hadn't been created (patch 1640153)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 14:32:18 +00:00
Robin Dunn
a0232aa520 Added support for the wxFRAME_FLOAT_ON_PARENT style
Also add a mode for the wxPOPUP_WINDOW style as a temporary hack to
make it easier using a wxFrame as a replacement for wxPopupWindow.
See how it is used in wxStyledTextCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:23:43 +00:00
Robin Dunn
0149e27783 Add a note about wxSearchCtrl::[Get|Set]DescriptiveText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 20:15:22 +00:00
Vadim Zeitlin
04af2f5ce3 added wxCONFIG_USE_SUBDIR flag to wxFileConfig (patch 1620876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 22:38:21 +00:00
Vadim Zeitlin
0f0298b10c added wxCSConv::IsOk() (patch 1637944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:39:10 +00:00
Vadim Zeitlin
6594faa98e make wxTextFile work with unseekable files again (patch 1632613, bug 1629581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 20:29:12 +00:00
Vadim Zeitlin
fb96cf856e added wxDateTime::GetDateOnly()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 14:06:37 +00:00
Vadim Zeitlin
0d3997fd6d corrected drawing of the bitmaps for the disabled menu items (replaces patch 1632891, closes bug 1632888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 20:59:17 +00:00
Vadim Zeitlin
d95527de9a added wxSizerFlags::Shaped() and FixedMinSize() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:52:55 +00:00
Vadim Zeitlin
e816f5c736 fix lack of spin control update event when control lost focus (replaces patch 1630906, corrects bug introduced in rev 1.66)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:45:31 +00:00
Vadim Zeitlin
9fcf8144d9 added EVT_TASKBAR_CLICK and use it to show taskbar icon menu on right button release, not press, under MSW (bug 1623761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:44:14 +00:00
Vadim Zeitlin
2c03d7714c fix attribute memory leak in wxGrid::ShowCellEditControl() (patch 1629949)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:09:54 +00:00
Vadim Zeitlin
35c4b4da0a fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:36:54 +00:00
Vadim Zeitlin
82950569f9 mention RTL fixes by Diaa Sami
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:19:46 +00:00
Vadim Zeitlin
9248adc8da added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() methods; documented wxTreeItemId (patch 1622125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:02:57 +00:00
Vadim Zeitlin
cc197ed421 restored (as deprecated) accidentally removed wx{Dir|File}Dialog::Get/SetStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-21 19:26:48 +00:00
Vadim Zeitlin
cd840087aa fix compilation with wxUSE_STL=1 for VC6 (and presumably others) (bug 1614814)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:47:26 +00:00
Vadim Zeitlin
9c5fd8a319 respect background colour of wxStaticText in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:32:26 +00:00
Vadim Zeitlin
5fe6c02bb8 correct GetBestSize() to return correct best size, i.e. the same size as AutoSize() would give to the control since the fix in 1.407
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 01:30:52 +00:00
Vadim Zeitlin
0ec8d8f72c mention bcc Unicode build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 19:04:19 +00:00
Vadim Zeitlin
265db88d61 don't crash in Unicode build if command line arguments are not valid UTF-8 strings (bug 1614363)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-13 19:03:34 +00:00
Vadim Zeitlin
7420cf5bf3 mention wxSearchCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:48:56 +00:00