Commit Graph

47018 Commits

Author SHA1 Message Date
Francesco Montorsi
57bf907d8e fix the definition of many static functions marked as 'const' or functions which had incoherent default values for their arguments or duplicated functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 22:10:54 +00:00
Francesco Montorsi
5fa507c8ca fix an important bug: ifacecheck was parsing only <sectiondef> with kind==public-func or kind==protected-func; it was ignoring kind==user-defined and in any case the access specifier must be taken from the 'prot' attribute of <memberdef> nodes instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 22:07:05 +00:00
Stefan Csomor
aaf37267a8 fixes #10358
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 21:05:07 +00:00
Stefan Csomor
fc7ba044ac making sure enabling the menus works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 20:00:59 +00:00
Stefan Csomor
3fe48198b5 guarding against NULL peers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 19:58:53 +00:00
Stefan Csomor
f93849e677 fixing wrong constant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 19:56:13 +00:00
Stefan Csomor
1b447793ea fixing default location for cocoa, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 19:01:00 +00:00
Francesco Montorsi
336aecf1c2 miscellaneous small enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 18:59:37 +00:00
Stefan Csomor
7712257ef2 calling superclass impl, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 18:52:54 +00:00
Stefan Csomor
6cd56f6e0f cocoa layout optimization, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 18:49:53 +00:00
Stefan Csomor
c6aa5cafc5 native apple event support for osx cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 18:44:38 +00:00
Francesco Montorsi
e9c3992c39 s/""/wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 18:31:45 +00:00
Francesco Montorsi
eb2b6166df do not use Ok(); use IsOk() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 18:00:53 +00:00
Francesco Montorsi
880706bedd disable test which asserted when trying to call wxListCtrl::GetItemRect() with an invalid index; not sure this is the best thing to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 17:40:32 +00:00
Francesco Montorsi
31de259657 describe wxMemory* streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 17:23:06 +00:00
Francesco Montorsi
48598c661a fix deprecation warnings when building filefn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 16:04:36 +00:00
Jaakko Salli
0eb877f2c1 Reverted to old wxPG_AUTO_SORT behavior in which only root properties and immediate children of categories are (automatically) sorted; Added Sort flags; Applied slight optimization when sorting on propgridmanager page change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 15:16:03 +00:00
Vadim Zeitlin
fa8224a15a reverted apparently accidental change of r57896
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:55:56 +00:00
Julian Smart
4ab8a5e2f1 Fixed [wxRichTextCtrl] Right Alignment sets text in the RTC too close to the border (#10277)
Also [wxRichTextCtrl] Wrong text positioning if different font sizes in the same paragraph (#10279)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:55:52 +00:00
Vadim Zeitlin
600e986ad7 fix GetGridColLabelWindow() name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:49:19 +00:00
Stefan Csomor
2cb5d2d2b7 supporting PopUp on osx cocoa as well, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:43:22 +00:00
Jaakko Salli
5e2ab81dbc Added #include for wx/propgrid/advprops.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 12:38:52 +00:00
Jaakko Salli
0371f89b7a Update propgrid minimal sample: Added wxEVT_PG_CHANGING handler and property value printing in wxEVT_PG_CHANGE handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 12:37:06 +00:00
Francesco Montorsi
87315ea262 fix a couple of typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 11:11:33 +00:00
Stefan Csomor
ca91e1eb7f cleaning up default OPEN and CLOSED HAND cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 10:40:35 +00:00
Stefan Csomor
179c2d9136 adding open and close hand cursor constants, implementation currently OSX only, closes #10360
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 09:45:16 +00:00
Stefan Csomor
2ae328d17f moving launch methods to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 09:39:49 +00:00
Bryan Petty
9c8fe27e0d Turned off brief descriptions on group pages (it just gets repeated in the detailed description).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 19:14:28 +00:00
Francesco Montorsi
d6accb8cd9 do not assert in wxFTP construction because of its 'staticness'; allocate it on the heap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 16:50:43 +00:00
Francesco Montorsi
00e3ea1c6f minor cleanup; add wxDocument::OnChangeFilename for coherence with wxView::OnChangefilename; avoid some (small) code duplication; closes #10080
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 16:13:49 +00:00
Francesco Montorsi
828c8f98d5 Minor samples/docview refactoring (closes #10081)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 16:01:34 +00:00
Francesco Montorsi
545afdcd41 add const attribute to avoid lots of warnings from GCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 15:48:13 +00:00
Francesco Montorsi
61b056a72b add Id SVN keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 15:42:26 +00:00
Francesco Montorsi
fc3762b5fc add wxImage::Clear (patch by troelsk); closes #10141
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 15:35:59 +00:00
Francesco Montorsi
ecba92ec08 patch from Utensil Candel: remove ctrlmaskout.h/cpp; clear some more code; erase any wxFB's trace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 15:15:51 +00:00
Francesco Montorsi
0d19936d71 support underlined text in wxCairoContext (Marcin's patch) (closes #9846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 14:43:41 +00:00
Stefan Csomor
b8afff01cc guarding against calls through 'non-window' instances like native file dialog, which on CentreOnParent crash otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 14:04:03 +00:00
Stefan Csomor
d2fa18d3a1 guard against NULL win (happens during debug startup of RTTI, Clone test)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 14:02:30 +00:00
Francesco Montorsi
50dd85fa01 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 13:24:26 +00:00
Francesco Montorsi
40ae960071 Fix wxTextValidator introducing a wxTextValidatorStyle enums since it does not support multiple combined styles; fix wxTextValidator::Validate when wxFILTER_EXCLUDE_LIST is used; fixes #1211
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 12:43:20 +00:00
Francesco Montorsi
79bd5e982b use #if instead of #ifdef for WX_COMPAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 12:40:11 +00:00
Francesco Montorsi
e01ea38b49 fix dialog layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 12:34:27 +00:00
Francesco Montorsi
7e86b10b7b move wxLaunch* code in utilsx11.cpp as utilsunx.cpp is not compiled for wxCore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 11:55:12 +00:00
Francesco Montorsi
166040cf59 fix the fix of r57935
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 11:31:58 +00:00
Francesco Montorsi
5dcdce25a4 blind fix for buildbot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 11:07:42 +00:00
Francesco Montorsi
50a2e26fd7 Fix wxLaunchDefaultBrowser on wxMSW for local files/directories: the bug could be reproduced using "Open screenshots folder" menu item in screenshotgen application.
Move platform-specific code in platform-specific utils source files.
Perform safer URL scheme check.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 10:36:59 +00:00
Robert Roebling
f656d37923 Tried to improve look of toogle tool under OS X, adapted from #10346: Nicer drawing of pseudo-toggle toolbar button on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 10:31:43 +00:00
Robert Roebling
1ed06824c8 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 09:07:53 +00:00
Francesco Montorsi
33ef0bdb1f build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 19:26:10 +00:00
Francesco Montorsi
9690b00654 always remember to test IsOk() after using wxFileInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 18:26:35 +00:00