Commit Graph

32833 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
66619ee50c removed useless checks for tree==NULL in wxGenericTreeItem::DeleteChildren(), as tree==this of the calling object (coverity checker CID 6)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:56:11 +00:00
Vadim Zeitlin
91894db3d7 simplified the code in ProcessGridCellMouseEvent() to get rid of unreachable code (coverity checked CID 3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:53:10 +00:00
Vadim Zeitlin
af5c81b3fa don't compile the code used only in wxUniv build in the other ports (coverity checker CID 5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:30:01 +00:00
Julian Smart
97148373b3 Tweaks for demos on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:02:37 +00:00
Julian Smart
1d1a4b71e8 Zip up Windows demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 21:04:05 +00:00
Włodzimierz Skiba
8d5ff32d33 Removed unused and outdated Watcom build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 20:59:31 +00:00
Julian Smart
21e354f107 Applied patch [ 1445031 ] wxString passed as ellipsis argument in richtexthtml.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 20:40:31 +00:00
Włodzimierz Skiba
4aa14001d2 DMC build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 19:53:43 +00:00
Julian Smart
16c5f4ae6d Fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 19:36:11 +00:00
Włodzimierz Skiba
cececf4db5 Don't send dummy wxCommandEvent. Make members private and use wxW coding standards for them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:54:41 +00:00
Włodzimierz Skiba
0e4e783cf0 ::GetFileAttributes takes Unicode in Unicode build, don't use fn_str() (Borland Unicode build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:49:17 +00:00
Włodzimierz Skiba
548b537752 Don't send dummy wxCommandEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:41:27 +00:00
Václav Slavík
73de5077ce preserve window's content when changing the fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:31:49 +00:00
Włodzimierz Skiba
3568f700f6 Borland build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:16:24 +00:00
Vadim Zeitlin
46c48053f4 don't leave evtType uninitialized in gtk_slider_callback() (thanks coverity checker)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 18:13:11 +00:00
Julian Smart
51128f7dab Added script for building and archiving a small range of demo binaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 16:50:07 +00:00
Julian Smart
0652567356 Reordered symbols since MinGW wasn't getting HDN_GETDISPINFOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 16:21:37 +00:00
Włodzimierz Skiba
e0b15ca795 Don't link with media lib with USE_MEDIA==0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 15:15:59 +00:00