Commit Graph

46952 Commits

Author SHA1 Message Date
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
Paul Cornett
35510e483f revert slop from previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 16:54:04 +00:00
Francesco Montorsi
94a007ece4 a few more int/wxPolygonFillMode substitutions in wxRegion and wxGraphicsContext code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 16:43:56 +00:00
Francesco Montorsi
ccf39540bb even more fixes detected using ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 16:33:08 +00:00
Francesco Montorsi
7351769afc fix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 15:41:43 +00:00
Francesco Montorsi
d56f17d882 automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 15:36:37 +00:00
Francesco Montorsi
3adf5bcf2d fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 15:10:54 +00:00
Robert Roebling
05cc88c0c6 use wxRound(x), not int(x+0.5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 15:09:45 +00:00
Robert Roebling
674f0f2783 use wxRound(x) instead of int( x+0.5 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 14:36:18 +00:00
Francesco Montorsi
51d4875177 lastest patch from Utensil Candel: remove some legacy code; clarify the logic in the construction of ScreenshotFrame; fix some wxFlexGridSizer issues; update README and TODO list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 14:28:55 +00:00
Francesco Montorsi
89efaf2b65 change generic ints to enums in wxDC (closes #9959)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 14:21:53 +00:00
Robert Roebling
11a449ac9b Add the same margin to wxBitmapToggleButton as to wxBitmapButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 13:56:03 +00:00
Jouk Jansen
844cada162 my previous commit patched the wrong file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 13:49:27 +00:00
Robert Roebling
eb56793e26 Update allocation of all child widgets after scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 12:29:46 +00:00
Robert Roebling
e2512c2373 Make wxWrapSizer respect border around items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 11:20:43 +00:00
Jouk Jansen
3a249a9fb3 Insert missing include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 11:13:19 +00:00
Robert Roebling
7f25155930 Override mouse wheel scrolling steps from GTK and make the default 3 steps, also catch mouse wheel when over scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 10:46:18 +00:00