Commit Graph

33101 Commits

Author SHA1 Message Date
Vadim Zeitlin
9ce754611c call SetWindowPos(SWP_FRAMECHANGED) after changing some styles (patch 1445096)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 14:12:35 +00:00
Vadim Zeitlin
0aed400874 define UDM_{SETRANGE|SETPOS|GETPOS}32 if we don't have them in the headers to allow using full 32bit range even for older compilers/SDK (patch 1439887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 14:04:41 +00:00
Vadim Zeitlin
c039fef565 don't clear clipboard if it was changed by another application since we used it (patch 1436601)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:59:31 +00:00
Vadim Zeitlin
28354d90fc made SetFirstItem() work again (patch 1445170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:47:25 +00:00
Vadim Zeitlin
0faa7620a5 fixed idle event generation logic (thanks to Paul Cornett for patch 1444602)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:44:02 +00:00
Vadim Zeitlin
c4fa282ce1 removed useless colMapAllocCounter (patch 1413456)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:38:22 +00:00
Vadim Zeitlin
848332140b moved wxapp_install_idle_handler and g_isIdle from many cpp files into gtk/private.h (patch 1435529)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:36:53 +00:00
Vadim Zeitlin
1d7e458f1a removed unused ifdef wxUSE_THREADS block (patch 1435521)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:33:01 +00:00
Vadim Zeitlin
a52d2b7974 uninitialized variable warning fixed (modified patch 1434065)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:23:52 +00:00
Vadim Zeitlin
315a49a10e fix gcc4 warning for wndproc casts (patch 1431939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:18:50 +00:00
Vadim Zeitlin
7fab07efba let _T() work with macros (modified patch 1437983)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:16:02 +00:00
Vadim Zeitlin
e5e41cfecb fixed mouse (and other?) events generation broken by recent changes (patch 1446205)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:12:18 +00:00
Vadim Zeitlin
c279d9ab2d compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:08:07 +00:00
Vadim Zeitlin
57772185bc compilation fix after last commit; some extra comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 13:02:30 +00:00
Vadim Zeitlin
c00fed0ef4 added wxListBox::HitTest() from Ryan (patch 1446207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 12:48:52 +00:00
Julian Smart
22d29469a0 Missing >
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 07:49:32 +00:00
Robin Dunn
c64371deb2 Patch #1446110: use of uninitialized variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 06:27:59 +00:00
Vadim Zeitlin
8e75dca831 don't check that the cursor is over the window calling SetCursor(), it might have captured it and so want to change the cursor even when it's outside the window boundaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 03:03:15 +00:00
Robin Dunn
61f0bec0cd Keep the key up/down event consistency without relying on toupper()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 02:20:39 +00:00
Robin Dunn
cdff13184c Applied (a slightly refactored) Patch #1445169: wxListBox bestsize fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 00:32:42 +00:00
Robin Dunn
466c166f5a Fix for bug #1436503. Delay the start of the DnD oprtation in case
the user just intended to click, not drag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 23:57:45 +00:00
Julian Smart
f75ae77cd7 Name clash correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 23:35:16 +00:00
Robin Dunn
cd2e8564d7 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 23:22:35 +00:00
Julian Smart
cfe590ae1d Added slightly better font dialog for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 19:45:51 +00:00
Włodzimierz Skiba
d35ad26eee Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 16:34:47 +00:00
Robin Dunn
f355f03e63 workaround MacSetMetalAppearance being made protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 03:06:25 +00:00
Robin Dunn
1e9bafca0f Updated to Scintilla 1.67
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 01:48:03 +00:00
Vadim Zeitlin
728f972bce don't draw focus rect for custom drawn items when the list control doesn't have focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 01:27:59 +00:00
Vadim Zeitlin
9a3952fad8 generate wxEVT_COMMAND_TEXT_ENTER for multiline controls too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:23:36 +00:00
Vadim Zeitlin
d0c3476bd6 correct gcc print format warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:20:29 +00:00
Vadim Zeitlin
41f4eb8534 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:19:19 +00:00
Vadim Zeitlin
c5dd5a3dac test EVT_TEXT_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:15:20 +00:00
Vadim Zeitlin
f120af9d56 use wxCHECK instead of wxASSERT to avoid crashing later (coverity checker CID 19)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:09:37 +00:00
Vadim Zeitlin
641c5f1a97 don't crash in case of unknown sizer type (coverity checker CID 17)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:05:44 +00:00
Vadim Zeitlin
1e5deeb2f1 don't crash in case of incorrectly specified parent type of MDI child frame (coverity checker CID 16)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:03:15 +00:00
Vadim Zeitlin
306608eb3c use wxCHECK instead of wxASSERT in CanonicalizePluginName() to avoid crashing in console apps (coverity checker CID 13)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:55:23 +00:00
Vadim Zeitlin
ce46daf91c test for dst!=NULL instead of bpp==1 in Rescale() as otherwise we'd crash on monochrome display (not very common any more, but still) (coverity checker CID 12)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:52:46 +00:00
Vadim Zeitlin
d6a7ca317f don't crash if one of GetAllCommands() parameters is NULL (coverity checker CID 11)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:47:15 +00:00
Vadim Zeitlin
fbf1ee1d09 removed unneeded test for pal!=NULL in ConvertToImage() (coverity checker CID 10)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:44:25 +00:00
Vadim Zeitlin
517cce713e oops, undid last commit, the extra test is unneded (but a comment explaining why it isn't probably wouldn't hurt)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:40:06 +00:00
Vadim Zeitlin
10793ebfbb make sure we don't use uninitalized output stream in OnSysWrite() (coverity checked CID 7)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:38:09 +00:00
Vadim Zeitlin
37b6a42697 fixed crash in case of not subclasses wxWizardPage in the resources (coverity checker CID 18)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:34:34 +00:00
Vadim Zeitlin
32592f4a80 fixed yet another memory leak in LoadGnomeDataFromKeyFile() (coverity checker CID 51)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:32:09 +00:00
Vadim Zeitlin
926ce9e3ac fix another memory leak in SetCommand() (coverity checker CID 52)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:30:43 +00:00
Vadim Zeitlin
cb0b7b7d81 fix memory leak (coverity checker CID 53)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:27:51 +00:00
Vadim Zeitlin
47e6466439 make it clear that m_page is not NULL in OnBackOrNext() (coverity checked CID 20)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:24:55 +00:00
Vadim Zeitlin
455f6b8d94 fixed memory leaks in case of errors during file load in wxSound::Create() (coverity checker CID 54)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:21:08 +00:00
Vadim Zeitlin
e1026179ef fixed a memory leak in case server name couldn't be resolved in MakeConnection() (coverity checker CID 56)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:16:58 +00:00
Vadim Zeitlin
c56ae04274 fixed a big memory leak in DoDrawBitmap() (coverity checker CID 57)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:14:14 +00:00
Vadim Zeitlin
0d2ef7a802 fixed a double free bug in SetBufferIO(size_t) (coverity checker CID 62)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:04:10 +00:00