Francesco Montorsi
7bdb010f17
better docs for wxCmdLineParser (fixes a few typos, adds more comments)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 23:29:14 +00:00
Francesco Montorsi
91c82e2cac
add missing beginEventEmissionTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 22:29:00 +00:00
Vadim Zeitlin
3bab636ddf
don't incorrectly say that wxSOCKET_REUSEADDR is for servers only ( closes #10626 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 22:02:30 +00:00
Vadim Zeitlin
34085a0d4f
deprecate integer trace masks and don't define the methods related to them if WXWIN_COMPATIBILITY_2_8==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 16:00:37 +00:00
Vadim Zeitlin
f1ddb476b1
use wxALIGN_LEFT/CENTRE/RIGHT instead of wxTE_XXX to avoid problems with the latter not being defined in wx/spinctrl.h on non-MSW platforms (see #10621 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 10:55:55 +00:00
Vadim Zeitlin
7e4952db83
add alignment flags support to wxSpinCtrl[Double] ( closes #10621 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 09:18:46 +00:00
Vadim Zeitlin
657a8a3598
first round of debug/release merge: introduce wxDEBUG_LEVEL, for now defined as 1 if __WXDEBUG__ is defined, i.e. no real changes; don't use __WXDEBUG__ in the headers to keep debug and release builds ABI-compatible; add functions to customize or disable asserts handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 23:36:37 +00:00
Vadim Zeitlin
a6ebdba66c
move __WXFUNCTION__ to wx/cpp.h from wx/debug.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 17:18:01 +00:00
Francesco Montorsi
530793f0be
minimal list of wx CRT wrappers (so doxygen highlights occurrences of wxFunc() if Func() is a std CRT function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 00:40:12 +00:00
Francesco Montorsi
529e491ce0
add the ToCLong, ToCULong and ToCDouble functions, with docs and test units
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 14:50:06 +00:00
Francesco Montorsi
dad013ac01
extend wxXLocale with wxStrto[d,l,ul] functions; make wxXLocale::Init() a little bit smarter on Unix systems; make XLocaleTestCase not fail on systems where french/italian support is not installed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 18:05:49 +00:00
Francesco Montorsi
fc79419b65
document wxLocale::GetInfo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 15:08:49 +00:00
Francesco Montorsi
e0a5cfb0cb
fix typos ( closes #10611 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 15:08:12 +00:00
Francesco Montorsi
ee49f54091
revised wxString docs: don't use old style grouping of functions at the beginning of the file; rather use doxygen-style member groups; to be able to reference member groups, introduce the new @member_group_name and @ref_member_group ALIASES; fix some typos in the process
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 14:51:46 +00:00
Francesco Montorsi
f18e1cf1f1
remove implementations from interface headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 14:17:56 +00:00
Francesco Montorsi
8f1337ed68
use doxygen autolinking feature; use @ref command for the overview
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 15:30:06 +00:00
Francesco Montorsi
5449f13b12
fix leftover of previous commits about pixelSize ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 15:12:28 +00:00
Vadim Zeitlin
8933fbc62e
add combobox drop down/close up events ( closes #10587 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:42:58 +00:00
Francesco Montorsi
50b75fe318
wxStatusBarPane is not a window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 23:32:34 +00:00
Francesco Montorsi
4df02e42e7
re-add GetFieldsCount() erraneously removed in r59566
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 23:29:01 +00:00
Francesco Montorsi
7235c54d3b
leftovers from r59566
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 19:45:34 +00:00
Francesco Montorsi
b31eaa5c34
make wxStatusBarPane a 'full class' with getters and protected data; document it; provide more accessors in wxStatusBar ( closes #10574 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 17:54:05 +00:00
Francesco Montorsi
b5791cc7af
add the wxFont(const wxSize& pixelSize, ...) ctor to all ports; add some wxCHECK_MSGs to ensure that the wxSize objects contains non-negative arguments; document that passing zero for the width parameter is allowed; other minor doc fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:28:33 +00:00
Francesco Montorsi
f834ee4859
warn the user that for all basic classes wxPoint,wxRect,wxSize,wxRealPoint negative values are allowed inside the internal coordinate members; specify that their default ctors init to zero their internals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 11:33:40 +00:00
Václav Slavík
819559b2ac
better XRC errors reporting: report location of the error and use unified formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 10:29:14 +00:00
Kevin Ollivier
0f6c9085a5
Consider wxOSX the port name, and have wxOSX/Carbon and wxOSX/Cocoa as variations, so that linkages from function docs are left intact. Also, do a little cleanup and elaborate more in the docs for OS X Cocoa and OS X Carbon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 01:19:09 +00:00
Francesco Montorsi
1729acd85b
more docs and more comments in the sample code for wxObject* classes; document CreateRefData() and CloneRefData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 01:03:48 +00:00
Francesco Montorsi
aff647c1ea
more specs for wxDC::DrawRotatedText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 14:02:37 +00:00
Francesco Montorsi
732d8c74f8
add wxSize overloads to wxBitmap ctors and to wxBitmap::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 13:57:51 +00:00
Francesco Montorsi
72a9034bd4
add overloads of ctors and Create() functions taking wxSize; document the various Create() overloads; reorganize wxImage docs categorizing the various functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 13:28:28 +00:00
Francesco Montorsi
76e2b5703a
do not use @c to refer to wxDefault* objects; use :: so an hypertext link is created
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 00:49:24 +00:00
Václav Slavík
2bb9a404fb
added wxXmlResource::LoadAllFiles()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 13:26:46 +00:00
Jaakko Salli
48a32cf671
Reworked the way child properties can be added to a property that has not yet been added to a grid or page; AddChild() deprecated, now use AddPrivateChild() instead. For public children, new member functions AppendChild() and InsertChild() should do the job.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 18:17:55 +00:00
Robert Roebling
ea11aeeef0
Mention wxQsort()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 18:41:02 +00:00
Robert Roebling
862de7b3d9
Make wxDataViewModel::Compare() const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 13:37:26 +00:00
Vadim Zeitlin
ba4800d3ae
add support for multiple extensions to wxImage handlers ( closes #10570 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 23:13:34 +00:00
Robert Roebling
3e978cf7b2
Add wxDataViewEvent for vetoing label editing (see also #10495 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 20:48:04 +00:00
Vadim Zeitlin
4c7d530a26
don't use wxScopedPtr<> in wxDocTemplate::CreateDocument() as the document is implicitly deleted by InitDocument() if its initialization fails; try to explain the (complex and inconsistent) rules for deleting the document in the manual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 19:40:49 +00:00
Jaakko Salli
6086bcc8ba
Allow wxPGMultiButton to work even if primary editor control was not created in wxPGEditor::CreateControls(); Clarified related samples and documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 18:32:43 +00:00
Francesco Montorsi
cae9e7b169
add wxAppConsoleBase::DeletePendingEvents and wxEvtHandler::DeletePendingEvents.
...
Fix wxAppConsoleBase::Suspend/ResumeProcessingOfPendingEvents: locking the mutex does not prevent wxAppConsoleBase::ProcessPendingEvents from running if the mutex was locked from the main thread!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 12:58:24 +00:00
Francesco Montorsi
db034c5228
document that locking a wxMutex or a wxCriticalSection twice from the same thread doesn't result in a deadlock
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 12:56:48 +00:00
Francesco Montorsi
8f13981070
document wxProgressDialog::Update(maximumValue) behaviour and warn the user that it may generate unwanted re-entrancies because of wxDialog::ShowModal()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 12:08:39 +00:00
Francesco Montorsi
482dce2a30
fix typo; distribute docs between Open() overloads for better rendering/better function descriptions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 12:05:00 +00:00
Jaakko Salli
66fb9e1241
Added support for 'AutoComplete' attribute, automatically used by any wxTextCtrl-based property editor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 11:34:01 +00:00
Vadim Zeitlin
e5cfb314ae
replace wxGetMultipleChoices() with wxGetSelectedChoices() which allows to distinguish between cancelling the dialog and not selecting any items in it ( closes #10057 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 15:39:09 +00:00
Vadim Zeitlin
0576cd9ebe
added wxProtocolLog class for logging network requests/responses ( closes #7464 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 13:58:39 +00:00
Francesco Montorsi
c9c59db7d6
wxDataViewColumn derives from wxSettableHeaderColumn, not from wxHeaderColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 22:57:03 +00:00
Francesco Montorsi
98b04f2112
move wxDataFormat and wxDataObject docs at the beginning of the file, before the derived classes' docs.
...
Many small improvements.
Document wxTextDataObject::GetFormatCount, GetAllFormats(), GetFormat() functions as the wxDataObjectSimple docs for those functions result misleading for wxTextDataObject (closes #10431 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 22:36:03 +00:00
Robert Roebling
220bfe1596
Make all instances of HasEditorCtrl() const, not just a few
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 19:07:40 +00:00
Vadim Zeitlin
a3281dbc1c
don't allow setting readonly combobox value to a string which is not one of the valid choices in wxGTK neither and document this behaviour ( closes #10549 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 16:31:26 +00:00