Francesco Montorsi
e65a6cc1ec
try to clear the device/logical unit fog; remove unused and unsupported (an assertion fails if they are used) wxMM_ constants; better docs for the supported wxMM_ constants; use MM_ANISOTROPIC in old win16 metafile code instead of wxMM_ANISOTROPIC since it's not supported by wx code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 12:08:12 +00:00
Vadim Zeitlin
5fab0c8d86
add accessors for sockaddr to wxSockAddress ( closes #10511 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 23:38:07 +00:00
Vadim Zeitlin
23239d944a
add public wxXmlResource::GetResourceNode() which can be used directly instead of deriving from wxXmlResource and using FindResource()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 21:52:00 +00:00
Jaakko Salli
8c61a9ea94
Added wxComboPopup::GetComboCtrl()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 15:13:29 +00:00
Francesco Montorsi
1f2f732921
remove wxAppConsoleBase::OInitGui and leave it only in wxApp[Base] class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 14:42:35 +00:00
Jaakko Salli
1fc5f38353
Fixed documentation of wxComboPopup::m_combo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 08:51:11 +00:00
Vadim Zeitlin
efce878a2a
add public wxLog::Log() to avoid ugly casts needed in order to call DoLog() from derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 00:46:25 +00:00
Václav Slavík
131fc12022
added asserts to check correct order of wxHtmlDCRenderer methods calls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 16:43:22 +00:00
Francesco Montorsi
8b93348e82
fix a few typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 15:40:15 +00:00
Francesco Montorsi
3c99e2fd1b
recategorize many misplaced classes; move lots of classes from miscellaneous [window] category to more specific categories; add the 'Book controls' and the 'Application and system configuration' class groups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 11:34:52 +00:00
Francesco Montorsi
22d17afa80
mention wxThreadEvent in wxEVT_CATEGORY_THREAD and in wxEvtHandler::QueueEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 22:48:43 +00:00
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