Commit Graph

25772 Commits

Author SHA1 Message Date
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
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
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
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
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
Jouk Jansen
f96a610d31 Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 22:02:50 +00:00
Jaakko Salli
433969811e Added wxPropertyGrid::SetSortFunction(); moved Sort() and SortChildren() to wxPropertyGridInterface; default sorting is now case-insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 18:53:09 +00:00
Francesco Montorsi
58045daa7c use wxArrayString instead of wxStringList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 17:29:38 +00:00
Paul Cornett
bff035cf5a build fix for GTK+ 2.12 and earlier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 16:59:00 +00:00
Julian Smart
b315b9c405 Always use live sash update on Mac since it can't paint the splitter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 15:58:24 +00:00
Julian Smart
68030cae69 Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 14:45:27 +00:00
Francesco Montorsi
939fdcf6b7 MYcopystring is not required anymore when compat2.8 is off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 14:17:44 +00:00
Julian Smart
9f5b54d1ef Fixed assert caused by incorrect number of flex grid sizer rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 11:44:43 +00:00
Julian Smart
730078f8ac Added missing includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 08:51:47 +00:00
Julian Smart
b815db2226 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 08:49:48 +00:00
Paul Cornett
7456fe19dd do minimal invalidations to get border to redraw properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 05:26:25 +00:00
Francesco Montorsi
bd365871aa s/wxSplitPath/wxFileName::SplitPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:47:47 +00:00
Francesco Montorsi
47d281e6b7 deprecate wxDos2UnixFilename, wxUnix2DosFilename, wxStripExtension, wxGetTempFileName, wxExpandPath, wxContractPath, wxRealPath, wxCopyAbsolutePath, wxSplitPath and provide deprecation description in the docs (for the documented functions) or directly in the header (for undocumented functions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:29:54 +00:00
Francesco Montorsi
1a7bfacc8a s/wxGetTempFileName/wxFileName::CreateTempFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:08:02 +00:00
Francesco Montorsi
6ad43fc3d1 use wxFileName instead of ::wxStripExtension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:04:01 +00:00
Francesco Montorsi
a51e601e17 s/wxGetTempFileName/wxFileName::CreateTempFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:01:35 +00:00
Francesco Montorsi
395f3aa8bd rewrite wxContractPath as wxFileName::ReplaceEnvVariable and wxFileName::ReplaceHomeDir; add test units and docs for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 00:38:46 +00:00
Francesco Montorsi
24c4d27f2a use WXWIN_COMPATIBILITY_2_8 instead of WXWIN_COMPATIBILITY_2_6 for wxUsleep even if it was deprecated since wx2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 20:25:31 +00:00
Francesco Montorsi
2382f4db7c add #if WXWIN_COMPATIBILITY_2_6 around wxUsleep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 13:59:47 +00:00
Francesco Montorsi
13cfc51d63 only formatting changes. s/FALSE/false and s/TRUE/true; remove excessive empty lines; remove TABs; s/ ;/;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 19:12:41 +00:00
Francesco Montorsi
5f172ca3c9 use GetCopyrightToDisplay instead of GetCopyright; part of commit 57245
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 15:20:44 +00:00
Jaakko Salli
a64a1bf767 Fixes in wxPGProperty::StringToValue(): Prevent it-- from iterating into negative index; only really mark/add nested children as changed if child's StringToValue() returned true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 19:05:44 +00:00
Jaakko Salli
ae82388e3c In wxPGProperty::StringToValue(), variant.SetName() really has to be called after child->StringToValue() has been called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 18:39:23 +00:00
Jaakko Salli
e84ed895ea Significant check box editor refactoring, including fix to UpdateControl() not doing its job correctly if property value was unspecified. Also, unspecified value is now drawn as a faint rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 10:38:58 +00:00
Paul Cornett
a909ef16ad build fix for GTK+ versions prior to 2.14
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 05:56:07 +00:00
Paul Cornett
173d67aa51 properly handle DC origin and scale in wxDoFloodFill()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 02:59:09 +00:00
Paul Cornett
e7f83cccd8 native implementation of DoGetPixel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 02:58:52 +00:00