Commit Graph

628 Commits

Author SHA1 Message Date
Francesco Montorsi
1707da0c37 repair the example code; get rid of useless wxT() from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 21:50:52 +00:00
Francesco Montorsi
d4bb7c9334 document wxWindowID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 20:42:25 +00:00
Vadim Zeitlin
56873923f3 extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:53:10 +00:00
Francesco Montorsi
878770b854 document the wxArtID and wxArtClient types; they help to understand how wxArtProvider::GetBitmap can be used to retrieve GTK native icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 20:33:08 +00:00
Francesco Montorsi
d6416655c7 remove the implementation of the conversion operators (forgot to do it in the initial commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 15:49:54 +00:00
Vadim Zeitlin
14d922d18f fix syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 15:21:08 +00:00
Francesco Montorsi
ec6278a141 document GetWheelAxis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 20:51:45 +00:00
Francesco Montorsi
af237ae405 add GetValue,GetRange and GetMessage helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:35:24 +00:00
Francesco Montorsi
6496345c33 document the main event table macros, wxEventType, wxNewEventType; create a new group_funcmacro_events group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 16:34:09 +00:00
Francesco Montorsi
c7e52709fc fix #4754 providing better description of how to set an event handler for (popup) wxMenu instances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 16:31:16 +00:00
Vadim Zeitlin
707aaf17c0 better documentation for wxEvent ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 12:00:55 +00:00
Francesco Montorsi
fde96a2fec document wx[US]Char and wxStringCharType typedefs; in docs for wxS() specify better that it makes wide strings under UTF16 builds and narrow strings under UTF8 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 22:20:39 +00:00
Francesco Montorsi
8ef2a553af initial declaration of wx*Char*Buffer and wxUniChar* classes (need someone more experienced to document the various methods)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 22:09:47 +00:00
Francesco Montorsi
7b8b73042c add 'redirection page' for wxULongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 21:37:43 +00:00
Francesco Montorsi
22f241327d add @deprecated tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 21:19:16 +00:00
Francesco Montorsi
ea82506581 remove wxNotebookSizer; it's not in wx anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 21:18:34 +00:00
Francesco Montorsi
40f343d2a0 committing the slightly-modified patch by R.U.10 for documenting some public functions of wxDocTemplate (closes #10078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 17:54:57 +00:00
Francesco Montorsi
ea2a647d38 put wxURI under networking group, next to wxURL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 17:44:27 +00:00
Vadim Zeitlin
8acad210fa don't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point to force all derived table classes to implement it when it has a default implementation which works just fine in 99% of cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 21:51:51 +00:00
Francesco Montorsi
435c1bc4d2 document default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 14:46:07 +00:00
Vadim Zeitlin
664e5ff93e add wxVector(size_t size[, const value_type& value]) ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:28:44 +00:00
Vadim Zeitlin
e408bf5257 add safe wxStrlcpy() function and replaced all wxStrncpy() calls by it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:41:02 +00:00
Francesco Montorsi
36d0c79521 fix wrong placement of the @apperance tag previously committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 23:48:58 +00:00
Francesco Montorsi
7a9a204e09 remove @appearance tag from abstract classes; add the missing screenshots of some controls to wxGTK image folder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 23:16:24 +00:00
Francesco Montorsi
c74b07ac26 provide GetSize() getters in wxBitmap and wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 22:29:29 +00:00
Francesco Montorsi
60b71826d6 return wxDefaultSize (as done in all other platforms) when the combo box is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 21:50:22 +00:00
Francesco Montorsi
11dd61cb3d move style table in the detailed description like for all other interface headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 19:33:37 +00:00
Francesco Montorsi
1adc52fd91 internal variables of wxFileHistory are protected, not public; in any case, do not document them since they are all editable safely using the accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 17:58:00 +00:00
Vadim Zeitlin
80cc5fc7ad document column reordering in wxListCtrl; fix confusion between GetColumnOrder() and GetColumnIndexFromOrder() doing this discovered; show the use of these methods in the sample and added a unit test for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 19:11:22 +00:00
Francesco Montorsi
a5cc517ff6 make wxThread::OnExit private and not public (change tested on wxMSW and wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 17:24:00 +00:00
Francesco Montorsi
5159e01481 added GetKind getter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 16:40:14 +00:00
Francesco Montorsi
2b4367d520 clarified that Raise() and Lower() only work for wxTopLevelWindows (closes #4717)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 16:18:28 +00:00
Francesco Montorsi
3c52ef9423 added note about GetTimestamp() (fixes #1986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 16:13:51 +00:00
Francesco Montorsi
c48d6cdf1f documented the wxDCBrushChanger, wxDCPenChanger, wxDCTextColourChanger; introduced a wxDCFontChanger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 15:54:08 +00:00
Francesco Montorsi
848f8788e9 fix the examples for wxThread and wxThreadHelper after field-testing on wxMSW and wxGTK; add a note to wxThread::Run about detached threads; fix the note for wxThread::Delete wrt joinable threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 00:28:15 +00:00
Francesco Montorsi
2e4f32d760 add more references to the delayed deletion of wxTopLevelWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 00:24:58 +00:00
Bryan Petty
caac780411 Reviewed, and re-organized members of wxGrid, which now makes the interface header manual reviews finally finished.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 07:07:31 +00:00
Bryan Petty
8b9ef005c3 Reviewed the rest of grid.h except for the wxGrid class itself, and re-ordered the definitions to fit the real header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 02:23:48 +00:00
Francesco Montorsi
195be56dca provide an example implementation of wxCloseEvent handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-24 00:01:37 +00:00
Francesco Montorsi
9d157d5978 add an event table for wxFrame and wxDialog: they send wxCloseEvents...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 23:53:45 +00:00
Francesco Montorsi
6d62b2e2b1 document that dragging in wxTreeCtrl needs to be explicitely allowed (fixes #3915)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 19:30:25 +00:00
Francesco Montorsi
8d13e30116 readd grouping previously removed by error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 17:45:16 +00:00
Vadim Zeitlin
2d46f281a5 added wxSocketBase::GetTimeout() to match existing SetTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 13:11:25 +00:00
Jaakko Salli
b0996c3da0 Eliminate need to call Connect() in wxPGEditor::CreateControls()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 11:00:40 +00:00
Bryan Petty
afe0e40097 Finished review of the first 1,000 lines of grid.h interface header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 01:27:03 +00:00
Francesco Montorsi
5cba3a2548 documented ExitCode typedef; revised wxThread and wxThreadHelper docs, also adding two usage examples; remove useless comment added by error in previous commits; linked threading overview from wxThread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 00:09:23 +00:00
Bryan Petty
cbd251acba Documented some DrawText() parameters missed in the last commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 23:16:55 +00:00
Bryan Petty
9cc4ab8522 Reviewed and cleaned up the rest of the graphics.h interface header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 23:03:28 +00:00
Francesco Montorsi
bb24d7088d fix minor typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 23:00:06 +00:00
Vadim Zeitlin
5a3955662a document all overloads of DrawText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 22:40:36 +00:00