Commit Graph

47546 Commits

Author SHA1 Message Date
Stefan Neis
35524f615e Removed extraneous semicolons and commas (partly fixes #10456).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 04:48:19 +00:00
Vadim Zeitlin
3350ab0cf2 allow calling SetItemLabel() for menu items with NULL menu parent too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 23:16:55 +00:00
Vadim Zeitlin
4a3c54bfa5 log error message in wxRmdir() for consistency with wxMkdir() and some code cleanup (e.g. get rid of gly OS_FILENAME macro) (closes #10435)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:56:02 +00:00
Vadim Zeitlin
7b2e024e8a document FindChildItem() (closes #10455)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:51:37 +00:00
Vadim Zeitlin
c7c8fac6f8 attempt to fix DLL samples link with VC6 which has trouble instantiating template methods of dll-exported classes apparently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:47:28 +00:00
Vadim Zeitlin
5c6aad4737 allow calling SetItemLabel() for items not attached to the menu or menu bar yet (comment 9 of #10452)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:46:43 +00:00
Francesco Montorsi
fcd209b6a2 add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators when scanning wxStrings; fix typo in ContainsExcludedCharacters (reversed return values); modify the sample to show wxTextValidator with wxFILTER_EXCLUDE_CHAR_LIST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:41:51 +00:00
Vadim Zeitlin
c27dce1818 load ImageList_Copy() dynamically to allow wx apps to start up under Win95 (state image display in wxTreeCtrl still won't work though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:54:11 +00:00
Vadim Zeitlin
d4290fa5b8 corrections after last commit, (see #10452 comment:6)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:53:03 +00:00
Francesco Montorsi
180d62d808 better docs for wxValidator::SetWindow and Validate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:28:24 +00:00
Francesco Montorsi
1406dc01b2 give better names to wxTextValidator::IsInCharIncludes and to wxTextValidator::IsNotInCharExcludes; add wxFILTER_SIMPLE_NUMBER style; remove specialized global helpers used by wxTextValidator in favour of wxStringCheck templated calls; better document the wxFILTER_* styles which use ctype standard functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:27:27 +00:00
Francesco Montorsi
a008d6e585 a few typo-fix and cosmetic changes to wxFlexGridSizer docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:23:43 +00:00
Francesco Montorsi
9174364320 add operator* taking doubles to wxSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:22:37 +00:00
Francesco Montorsi
2e7a6b030c add an example of a custom wxValidator-derived class; cleanup a bit the dialog layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:21:08 +00:00
Francesco Montorsi
cbec0f401a add wxStringCheck templated utility function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:19:37 +00:00
Vadim Zeitlin
92715f1fea fix warnings about conversion between DWORD and pointers in MSLU=1 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:15:10 +00:00
Robert Roebling
2dc0115330 Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:12:32 +00:00
Vadim Zeitlin
33f4afdbc0 define MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp now needs them too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 20:52:44 +00:00
Francesco Montorsi
52ceb90e10 fix typo; document wxFlexSizerGrowMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 20:10:13 +00:00
Robert Roebling
491bb4ba78 Disable wxSIZE_FORCE_EVENT and demonstrate its bug in the wxCollapsiblePane sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 19:15:25 +00:00
Vadim Zeitlin
a371a0104f remove extra line breaks which prevents Doxygen from numbering list items correctly (closes #10459)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 18:28:04 +00:00
Vadim Zeitlin
29cd57f79b use margin width after updating it in OnMeasureItem() (see #10452)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 18:20:58 +00:00
Vadim Zeitlin
37ddd6ea64 don't use built-in support for menu bitmaps if they are too big, they don't come out correctly then (see #10452)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 18:12:14 +00:00
Vadim Zeitlin
3d45718de5 use SetMenuItemInfo() to update the item label to avoid reseting its bitmap and so use the same code for the desktop and CE versions (see #10452)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 17:51:02 +00:00
Vadim Zeitlin
4863e55108 don't list SetSelection() as being deprecated, it isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 17:14:41 +00:00
Francesco Montorsi
ca164e2337 better define what an ASCII character is considered to be in IsAscii()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 15:57:45 +00:00
Vadim Zeitlin
0580ddb24f no real changes, just remove unnecessary code; use wxScopedArray instead of raw one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 14:04:23 +00:00
Francesco Montorsi
8f182e0a3c document only char* variant of all string utility functions (don't use wxChar nor templates; they're only confusing; add a note for the funcmacro_string group that all functions documented also have wchar_t variants; document wxStrnlen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:58:45 +00:00
Francesco Montorsi
6ac7ddd334 say that use of _T() is discouraged in new code, just like wxT() is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:57:05 +00:00
Vadim Zeitlin
ddc170523c don't override the toolbar height with too small value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:53:50 +00:00
Robert Roebling
dc8928439f Fixes #10437 (wxDataObjectComposite::Add may add objects having data formats that already exist in the composite object)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:41:11 +00:00
Robert Roebling
0dd48109b4 Fixes #10432 (wxDataObjectComposite::GetAllFormats() does not work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:36:32 +00:00
Robert Roebling
4a3d495c0c Commit Hartwig's patch for DnD in wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:29:21 +00:00
Chris Elliott
a0c800ed14 http://trac.wxwidgets.org/ticket/10457 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:28:51 +00:00
Vadim Zeitlin
b3eb776ad6 include errno.h to fix buildbot compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 13:22:49 +00:00
Francesco Montorsi
00666804a7 remove anchor colouring not only for H2 but also for H3 and H4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 12:52:51 +00:00
Jaakko Salli
94b8ecf1cd Fixed broken 'hidden categories' mode (aka. alphabetic mode); Added distinct names and labels for the two root properties (to help with debugging); Refactored wxPropertyGridState::DoInsert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 11:48:28 +00:00
Václav Slavík
3f8cdda485 don't include private headers from wx/unix/evtloop.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 10:58:10 +00:00
Robert Roebling
7499628f59 Explain reasoning behind using wxSIZE_FORCE_EVENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 23:23:31 +00:00
Robert Roebling
fcdb954037 Don't call SetMinSize() on the pane as this prevents GetBestSize() from ever calling DoGetBestSize() again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 23:04:17 +00:00
Robert Roebling
8a150a2430 Remove debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 23:03:01 +00:00
Robert Roebling
b53aea81d2 Reorganize wxCollapsiblePane event and layout code under GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 22:40:42 +00:00
Vadim Zeitlin
9966c62b28 DisableSaving/Restoring() should be void, not bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 22:10:14 +00:00
Vadim Zeitlin
0fa541e870 add support for persistent controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Stefan Csomor
b69470e4ee workaround for crashes in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 20:58:08 +00:00
Robert Roebling
e47e063af2 Add wxSIZE_FORCE_EVENT and use is from wxSizerItem::SetDimension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 20:10:44 +00:00
Robert Roebling
26f7724c4b Don't use a cached best size if the window has a sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 20:08:14 +00:00
Francesco Montorsi
10b0f4894b cleanup code and reorganize it to reuse the same switch() for both OnChar() and Validate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 17:22:05 +00:00
Jaakko Salli
253b70f1aa Let's make sure embedded wxPropertyGrid does not get negative size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 17:07:18 +00:00
Francesco Montorsi
398e314854 document the wxIntXX/wxFloatXX/wxCharXX types; add some comments to wxKeyCode docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 16:10:38 +00:00