Commit Graph

10243 Commits

Author SHA1 Message Date
Stefan Neis
491a17e855 Don't choke on NULL pointer passed into wxRadioBox::GetSize.
Take the inverted coordinate system into account when computing size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@27068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 17:07:47 +00:00
Stefan Neis
1e3bec1495 Don't choke on NULL pointer passed into wxSlider::GetSize.
Take the inverted coordinate system into account when computing size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@27066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 16:48:22 +00:00
Václav Slavík
078bf0a2d5 applied 928163: zlib truncated output fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 20:47:39 +00:00
Václav Slavík
d05f18df40 backported fix for 64bit archs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 18:39:20 +00:00
Robin Dunn
82ede9d1dc Set m_window to NULL after destroying it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 22:40:23 +00:00
Vadim Zeitlin
b433ecc132 fixed DLL build (patch 879706)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:43:18 +00:00
Vadim Zeitlin
8c3bc82529 fixed priority of the mailcap entries (patch 935954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:15:12 +00:00
Julian Smart
f7780364d6 Only call Select within SetString when internal data has been restored,
else assert results if the item was selected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:51:13 +00:00
Roger Gammans
4441ece149 * fix bug where editing of the bootom and right most cell is not
corectly completed.
 * Some tidying of end edit code paths. (such as in AutoSizeRowOrCol)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 19:58:39 +00:00
Václav Slavík
be565a5abe added wxTE_AUTO_SCROLL and wxTE_NO_VSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 19:11:27 +00:00
Stefan Neis
a209e1a011 Avoid core dumps when SetImageList is used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 16:09:05 +00:00
Robert Roebling
abcd1812df Small patch for notenbook encoding.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-06 13:10:32 +00:00
Robin Dunn
570106ca10 Fix for [ 907679 ] segfault on SetSizerAndFit after SetSizer
Don't do anything if setting the same sizer again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 02:06:09 +00:00
Václav Slavík
c7418665cb compilation fix for wxUSE_FILESYSTEM=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 22:41:12 +00:00
Julian Smart
4b0fd422bd Specify tree control in event table to avoid problems with stray tree events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 13:05:20 +00:00
Stefan Neis
c3e69a02c4 Compilation fix for gcc-3.x.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 18:54:13 +00:00
Julian Smart
c8898a5e44 Remove crash due to reference being kept after object destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 15:04:54 +00:00
Julian Smart
36c5f728e7 Added wxDIALOG_NO_PARENT style to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-18 09:35:46 +00:00
Julian Smart
2f60684844 Fixed a bug in DoGetBestSize that would make wxSpinCtrl too tall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 14:44:22 +00:00
Dimitri Schoolwerth
1eb71e4efb Backport: Fixed invalid background colour of controls on a notebookpage when using certain XP themes/WindowBlinds skins (bug 897965).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-17 04:23:45 +00:00
Stefan Neis
fd035889c7 Really fixed separator handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 17:35:55 +00:00
Vadim Zeitlin
b46db46f30 added ws2_32.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 23:57:25 +00:00
Stefan Csomor
25c9f4394e panther fixes for static box distances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 18:23:29 +00:00
Stefan Csomor
314bbbacb3 because some sash code draws whether the window is visible or not, the easiest thing is to make the MacGetVisibleRegion return an empty region for this case, so the wxDC is always entirely clipped
added wxStaticBox fix for panther


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 17:31:38 +00:00
Stefan Neis
ddec88573d On 'make clean' don't remove the resource file on OS/2
(It's shared between all apps!).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 22:51:05 +00:00
Stefan Neis
923963291f Handle separators in menus correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 17:04:28 +00:00
Vadim Zeitlin
dc1fc1bf65 fix for hanging in wxThread::Delete() (patch 882198)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:47:56 +00:00
Chris Elliott
2194b1ec8f fix case bug for linker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 13:43:19 +00:00
Chris Elliott
013675321e fixes from Arjan Knepper for D Mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 14:16:32 +00:00
Václav Slavík
93f6e6df19 prefix symbols with wx_ to reduce risk of collision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-30 12:20:40 +00:00
Bryan Petty
5654b0cc52 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 10:01:45 +00:00
Julian Smart
05b43e428d Applied patch [ 882493 ] Added XRC support for wxStatusBar
By Brian Ravnsgaard Riis


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 10:01:44 +00:00
Václav Slavík
bfdad56521 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-21 17:53:52 +00:00
Julian Smart
496a268d17 Filter index wasn't being set for multiple file dialog
Added several filters to multiple files test in dialogs sample
to test that it's now working


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-21 13:41:12 +00:00
Julian Smart
e3a9183200 Applied [ 876737 ] menu item with bitmap uses wrong font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-17 17:05:35 +00:00
Bryan Petty
b640ef4662 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 17:45:10 +00:00
Julian Smart
cb0d72afa3 Reverted last change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 17:32:09 +00:00
Julian Smart
5a0b5afd2b Applied patch [ 849212 ] Sets SO_REUSEADDR flag on server sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 16:54:39 +00:00
Julian Smart
e733c80f10 Applied patch [ 850483 ] Toolbar bugfix (Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 16:42:47 +00:00
Julian Smart
a2c347938b Applied patch [ 800086 ] GridCellTextEditor wxTE_RICH misbehaving
Don't set the value of the hidden editor control (useless)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 14:28:38 +00:00
Julian Smart
5caa794131 Removed duplicated style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-09 08:41:55 +00:00
Julian Smart
063f51a6ad Added wxWS_EX_BLOCK_EVENTS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 22:20:33 +00:00
Julian Smart
cd03160244 Applied patch [ 863936 ] wxGrid scroll bars not drawn.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 15:52:35 +00:00
Julian Smart
b1781a3c47 Applied [ 872574 ] fix of fatal error of preview without printer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 08:29:59 +00:00
Václav Slavík
f530896a7a htmlproc.h wasn't installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-07 14:53:37 +00:00
Julian Smart
2805d3de8b Added missing event.Skip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-06 08:54:57 +00:00
Robert Roebling
1d416e48df Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-05 21:03:38 +00:00
Julian Smart
80bd023cca Removed duplicate code introduced during wxUniv merge in revision 1.132
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-03 18:00:24 +00:00
Julian Smart
aec5e1f2e7 WXK_PRIOR/WXK_NEXT are aliases for WXK_PAGEUP/WXK_PAGEDOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-26 11:43:51 +00:00
Václav Slavík
7845e34a61 backport of initialization from xfont fix (patch #863847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 20:23:13 +00:00