Francesco Montorsi
3a5677401f
name wxThreadEvent and YieldFor in wxProgressDialog and in thread overview; update the sample code to use new event macros; minor other changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 19:32:00 +00:00
Francesco Montorsi
3051a44a73
make distinction between classes which send events (use @beginEventEmissionTable for them) from event classes (use @beginEventTable for them); add event tables for wxWindow, wxFrame, wxTopLevelWindow, wxApp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 17:58:51 +00:00
Bryan Petty
830b7aa7b2
Fix manual references to the events overview after it's page ID was changed in r58712 (VZ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 00:19:22 +00:00
Jaakko Salli
d85635c5d8
Improved documentation for GetProperty(), GetPropertyByName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 18:36:35 +00:00
Stefan Csomor
ec3110ae1a
formatting fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 21:22:55 +00:00
Stefan Csomor
7395c7d669
documenting new compositing, layering and antialiasing calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 20:08:41 +00:00
Francesco Montorsi
dde19c2180
second part of #10320 : move wxApp event handling functions to wxEventLoopBase (in particular move Yield() functions); add backward compatible redirections to wxApp; update docs; remove global lists wxPendingEvents and wxPendingEventsLocker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 14:25:08 +00:00
Jaakko Salli
58b6a13764
Fixed wxPropertyGrid::HitTest() documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-14 08:48:46 +00:00
Jaakko Salli
e276acb530
Clarified wxPropertyGrid::HitTest() docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 16:15:12 +00:00
Vadim Zeitlin
d11c9d86b6
made wxArrayString::assign(iterator, iterator) a template function; also fixed a bad bug in it: it didn't call clear(); mention existence of std::vector-like methods in the docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-12 12:09:13 +00:00
Francesco Montorsi
0cd159592e
save the current status text for each pane inside wxStatusBarPane: native controls now store the (eventually) ellipsized version of the string; remove code for managing the status strings currently inside the [native|generic] control; add ellipsization support under wxMSW; now that all SetFieldsCount() implementation rrely on wxStatusBarBase::SetFieldsCount document how it behaves when adding new panes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 00:33:19 +00:00
Francesco Montorsi
a78618b062
split wxControl::Ellipsize() in two functions for better readability of the code; add support for ellipsization flags which allow to disable special processing of TAB/mnemonics characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 12:56:14 +00:00
Vadim Zeitlin
c0c133e13b
add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Vadim Zeitlin
4475b41041
update custom event definition documentation; document wxDEFINE/DECLARE_EVENT()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 16:07:59 +00:00
Vadim Zeitlin
3e083d652d
update/reorganize events overview and changed links to it to reflect the fact that it speaks about events in general and not just about handling them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:22:14 +00:00
Francesco Montorsi
9a6fda2288
do not use preprocessor macros in interface headers; doxygen doesn't know about preprocessor symbols used in the real headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:09:48 +00:00
Francesco Montorsi
51c0d02b65
document the wxWindow::Get/SetLayoutDirection functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 14:42:40 +00:00
Francesco Montorsi
2efaf75451
fix some typos (return types)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 21:43:31 +00:00
Francesco Montorsi
141794f13f
mention wxwindow::SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY ) in the validator overview; cosmetic changes in the rest of the validator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 17:00:47 +00:00
Francesco Montorsi
e64cadcb8b
fix LoadPanel() docs ( closes #10467 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:54:49 +00:00
Francesco Montorsi
c78d8a70f5
document the protected functions of wxTextValidator; it helps user to eventually derive classes from wxTextValidator ( closes #10474 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:50:43 +00:00
Francesco Montorsi
ae93dddfaf
remove mention of wxMutexGuiEnter/leave from the multithreading topic overview; document that wxMutexGuiEnter only works for wxMSW as the code seems to confirm this (see #10366 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:24:27 +00:00
Francesco Montorsi
e12152104f
always use wxSTAY_ON_TOP ( closes #10447 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:46:00 +00:00
Francesco Montorsi
d9ced90bcf
add many references to the overview_windowsizing topic in wxWindow's size functions; add maximum size and virtual size to the topic overview
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:40:10 +00:00
Bryan Petty
ea6e8ec55d
Documented wxAuiManagerEvent and it's related event macros.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 01:03:31 +00:00
Bryan Petty
457f3abf14
Properly distribute docs on string comparison operators, and remove from named groups.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 22:50:11 +00:00
Francesco Montorsi
74d60f66ee
add a wxEventType argument to wxThreadEvent for coherency with other event classes; rewrite its Clone() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 19:44:55 +00:00
Jaakko Salli
5bc244b802
Added useful comment to a code sample snippet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 17:54:31 +00:00
Francesco Montorsi
d48b06bd90
check in the 'selective yield' patch (see ticket #10320 ):
...
- implements YieldFor() with event filtering for wxMSW and wxGTK,
adds TODO markers in other ports;
- replaces wxYield() in GTK's clipboard code with a wxTheApp->YieldFor() call, thus fixing possible reentrancies
(and modifies clipboard sample to test synchronous IsSupported calls)
- replaces wxYieldIfNeeded() calls in wxProgressDialog with wxTheApp->YieldFor() calls, so that it processes only
UI/user-input events, thus fixing the race condition visible in the "thread" sample
- documents the new functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 17:42:28 +00:00
Francesco Montorsi
939dafa6d4
document new wxBLUE_PEN object; add some more details for standard object instances; cosmetic fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 16:49:32 +00:00
Jaakko Salli
2728c3bfe7
Added proper COW to wxPGChoices, moved wxPGChoices code from propgrid.cpp to property.cpp (to match header organization), removed some now-unneeded helper functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 16:45:23 +00:00
Francesco Montorsi
d818458781
add standard wxBLUE_PEN for coherency with the colours available for standard brushes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 16:30:27 +00:00
Francesco Montorsi
52f2299cdd
update list of classes supported by wxGenericValidator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 12:41:43 +00:00
Vadim Zeitlin
040d3c2ebf
restore the default bitmap icons size to 16*15, making them larger if necessary is enough and doesn't result in having ugly 16*16 bitmaps in a 24*24 button rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 12:19:45 +00:00
Francesco Montorsi
58fa61dbad
Re-add support for multiple text validator styles but
...
1) catch some invalid configurations in SetStyle()
2) document the order of the checks in wxTextValidator
3) implement wxFILTER_EMPTY
4) rename wxFILTER_SIMPLE_NUMBER => wxFILTER_DIGITS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 21:21:47 +00:00
Vadim Zeitlin
77cc73a78e
added wxPersistentRegisterAndRestore() function to work around VC6 brokenness in debug DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:02:20 +00:00
Vadim Zeitlin
664e13143e
renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:01:46 +00:00
Robert Roebling
51fbe4cc1d
Make wxCheckListBox call event.SetString() on all platforms, not just wxMSW. Mention again, that wxCommandEvent::IsChecked() cannot be used for it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 23:43:59 +00:00
Vadim Zeitlin
6c5e1aa764
emphasize that you need to specify eventSink when connecting to a different object method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 21:15:50 +00:00
Francesco Montorsi
1e0e263e31
document as typedefs the various wxArray* classes so that doxygen links them and it's easier to visit wxArray<T> docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 20:34:13 +00:00
Francesco Montorsi
413eac73fd
remove implementations from interface headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 19:56:06 +00:00
Francesco Montorsi
03faec761d
fix a couple of typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 19:34:05 +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
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
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
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
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
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