Commit Graph

45827 Commits

Author SHA1 Message Date
Francesco Montorsi
1de14b4ade use wxEmptyString instead of wxString() for default values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:51:45 +00:00
Francesco Montorsi
88300af4db remove ugly AD-HOC FIX for wxHyperlinkCtrl; use the generic facilities of RegisterControl() instead (patch by Utensil Candel)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:39:10 +00:00
Francesco Montorsi
101adcd54c patch by Utensil Candel to improve wxMac autocapture code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:32:32 +00:00
Francesco Montorsi
010df3801c modified text for wxRichTextCtrl to show more features in less space (modified patch by Utensil)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:31:05 +00:00
Francesco Montorsi
60d7250b74 build fix (SetBitmaps is only for wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:22:12 +00:00
Francesco Montorsi
416fddd315 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:11:48 +00:00
Francesco Montorsi
7e59b88579 re-enabled all @appearance tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:05:18 +00:00
Vadim Zeitlin
c2116a3579 no changes at all, just reformatted to use consistent indentation before the upcoming real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 23:04:33 +00:00
Vadim Zeitlin
7b9b06e323 create local event loop for the operations which need it; test reading with wxSOCKET_BLOCK flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:55:56 +00:00
Vadim Zeitlin
b8d1915daf use the currently active event loop for the event dispatching instead of wxYield(), this allows to create local event loops when using non-blocking sockets; assert if there is no active event loop under MSW as sockets won't work without it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:55:14 +00:00
Vadim Zeitlin
11866e8e33 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:32:41 +00:00
Vadim Zeitlin
71179c67de get rid of unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:30:04 +00:00
Vadim Zeitlin
6b6b233ac0 wxUSE_STL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:27:49 +00:00
Vadim Zeitlin
3afc646cae don't allocate a too big buffer on stack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 20:57:19 +00:00
Vadim Zeitlin
62fb86a515 add simple (and disabled by default) wxSocket client test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 20:45:29 +00:00
Robert Roebling
5acb9127c5 Correct spelling and signature of FixIndexesOfChildren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 18:07:01 +00:00
Vadim Zeitlin
ea6319cb38 don't replace . and .. with the corresponding directoties names in GetLongPath() as this breaks the normalization of file names without wxPATH_NORM_DOTS flag (#9814)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 15:15:32 +00:00
Vadim Zeitlin
8a493b67ac fix off by one bug in the buffer size (fixes #10039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:51:45 +00:00
Vadim Zeitlin
a31dfee7e6 renamed the subdirectory to indicate that it contains stock icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:41:48 +00:00
Vadim Zeitlin
808b128e90 add stock images to the stock items page (closes #9533)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:24:26 +00:00
Vadim Zeitlin
456e28d28d compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:12:57 +00:00
Vadim Zeitlin
916eabe60e add wxGenericStaticText (#9656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:04:00 +00:00
Václav Slavík
aa163cb549 removed a warning that should only be a FIXME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:03:53 +00:00
Vadim Zeitlin
6221357baa add a unit test for reading non existent values (to check for #10030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 12:52:43 +00:00
Jaakko Salli
68bcfd2c10 Eliminate (or at least reduce) 64-bit build warnings (as described in wxPG sourceforge bug report #2156069)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 12:23:48 +00:00
Jaakko Salli
4e7a37b4b0 Re-added GetSelectProperty() to wxPropertyGridManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 11:29:41 +00:00
Jaakko Salli
f3932d5ac4 Also update description text when wxPG_DESCRIPTION window style is toggled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 11:25:18 +00:00
Jaakko Salli
d35947a23f Set focus back to canvas when child editors are being destroyed (fixes wxGTK property selection focus bug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 11:13:21 +00:00
Václav Slavík
9f330429af get help frame's icon using wxART_FRAME_ICON wxArtClient hint, not wxART_HELP_BROWSER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 20:17:55 +00:00
Francesco Montorsi
b85e7dcfac init the file and dir pickers with dummy files/folders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 16:03:59 +00:00
Francesco Montorsi
1bda839923 fix the menu item bitmaps for wxMSW;
fix the name of the screenshot generated for wxHyperlinkCtrl on platforms != wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 15:55:23 +00:00
Francesco Montorsi
c615d6491f Act as wxMSW and make an assert fail, if the user forgot to give a "type flag" (previously it assumed wxLC_LIST type flag).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 15:54:14 +00:00
Francesco Montorsi
5ac2f07513 added automatically generated screenshots of wxMSW controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 15:53:30 +00:00
Francesco Montorsi
de1610c87a added automatically-generated bitmaps of wxWidgets controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 13:15:06 +00:00
Francesco Montorsi
ba1d7a6cec revised m*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 13:10:48 +00:00
Stefan Csomor
bd412bc6b6 adding missing cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 06:00:17 +00:00
Stefan Csomor
ac23569987 superfluous embedding API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 05:18:26 +00:00
Francesco Montorsi
fce3374f35 fix two bugs: 1) the missing NOT in the if (real) test; 2) the missing +1 in getID() function; add many checks and log messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 22:51:26 +00:00
Vadim Zeitlin
7a0007346b STL build compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 21:20:46 +00:00
Vadim Zeitlin
a08711325b fix C strings comparison in LoadSave() test in STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 21:12:51 +00:00
Francesco Montorsi
57ea89975e fixed the status of the second radio button; now (on wxGTK at least) it appears correctly as unchecked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 20:56:45 +00:00
Francesco Montorsi
dd72e7678d fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 19:14:22 +00:00
Francesco Montorsi
f632e27b3f group hit-test flags into an enum (like I did in docs); this makes easier to document them, but is also logically the best thing since wxRichTextBuffer::HitTest is documented to return only _one_ of those flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 19:13:50 +00:00
Stefan Csomor
c4825ef73a moving embedding to common API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 19:01:32 +00:00
Francesco Montorsi
d0aff30277 better use of <wx-data>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 18:46:13 +00:00
Vadim Zeitlin
e767076e80 just return false instead of crashing if the document contents can't be converted to the target encoding (#10064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 16:13:53 +00:00
Vadim Zeitlin
ddf01bdb96 don't crash when streaming out a wxString into an std::ostream, just set the failbit instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 16:11:40 +00:00
Paul Cornett
830910cc28 use correct background color when drawing borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:51:09 +00:00
Vadim Zeitlin
4c493e0bc5 add a very simple test for Load/Save()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:37:50 +00:00
Jaakko Salli
703ee9f5ec GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:22:08 +00:00