Commit Graph

45906 Commits

Author SHA1 Message Date
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
Robert Roebling
236a34ef3e Fix crash again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 10:02:35 +00:00
Robert Roebling
2a555dcf20 Trying to make introduction reappear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 08:44:49 +00:00
Robert Roebling
d7cda9b290 Fix crash with NULL pointer dereferencing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 07:36:36 +00:00
Robert Roebling
2571a33fd3 implement GetSizeAvailableForScrollTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 19:18:28 +00:00
Robert Roebling
e9a7fde568 Use g_signal_connect_after for wxRadioButton as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 18:12:41 +00:00
Robert Roebling
f938aa996b Blind guess fix for wxRB_SINGLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 18:09:11 +00:00
Francesco Montorsi
046fce4786 fixed a bug caused by passing a wxChar[] buffer to a function taking a wxString; the buffer was automatically converted but since it was not NULL-terminated, a crash resulted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 17:00:32 +00:00
Francesco Montorsi
6c107bd20d doxygen warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 16:42:52 +00:00
Francesco Montorsi
9e7ad1cab8 revised richtext headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 16:30:57 +00:00
Francesco Montorsi
22c5cac637 fix typo (missing P2 argument in template)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 14:23:06 +00:00
Francesco Montorsi
4f48d306f4 use standard tags @class,,@lib,@category for wxScopeGuard, too (to keep the documentation style uniform)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 13:45:25 +00:00
Vadim Zeitlin
fc31181d2c use wxScopeGuard instead of an explicit try/catch(...)/throw: this suppresses wxUSE_EXCEPTIONS tests and also avoids MSVC unreachable code warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 11:27:59 +00:00
Vadim Zeitlin
bcffb4d1a9 add 3 parameter scope guard; improve its documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 11:26:50 +00:00
Vadim Zeitlin
d8a16cc8c9 use /nologo nmake switch to avoid many annoying copyright notices in output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:49:18 +00:00
Vadim Zeitlin
af31dd975b exclude contrib from build for as long as there is no makefile.vc there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:48:24 +00:00
Vadim Zeitlin
08f20edc5b trying to fix visibility problems for ObjC++ files after bakefile 0.2.4 upgrade
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:39:31 +00:00
Vadim Zeitlin
252ead2e54 fix bug in the test in STL build (where std::vector uses operator=() and not copy ctor to copy objects around, at least with g++)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:33:13 +00:00
Vadim Zeitlin
e7bed112b8 fix errors due to missing wxPrintf() declaration in STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:02:27 +00:00
Stefan Csomor
9412295ef1 rebaked with glgrab again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 07:46:12 +00:00
Stefan Csomor
22a927e426 forgot to commit this file ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 05:36:34 +00:00
Robert Roebling
a400d56be1 Added test for Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:55:23 +00:00