Commit Graph

645 Commits

Author SHA1 Message Date
Vadim Zeitlin
396825dced rename wxHeaderCtrl DRAG events into RESIZE ones as we're also going to have column drag-reodering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 16:38:56 +00:00
Francesco Montorsi
e723ee9439 add some missing semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 16:20:51 +00:00
Vadim Zeitlin
aef252d9da implement column resizing events in wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 14:40:42 +00:00
Vadim Zeitlin
e5a1635371 added wxHeaderCtrlSimple::GetBestFittingWidth() for even more automatic column resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 12:28:41 +00:00
Vadim Zeitlin
3bfaa5a7e4 add wxEVT_COMMAND_HEADER_SEPARATOR_DCLICK and semi-automatic header resizing support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 12:15:17 +00:00
Vadim Zeitlin
fa3d4aaf0f implement click events in wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 00:57:53 +00:00
Vadim Zeitlin
e2bfe6731e - Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
number of columns in it, it turns out that getting column information from
  the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
  callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
  wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
  events are broken right now in it as they haven't been implemented by
  wxHeaderCtrl yet, this will be fixed a.s.a.p.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:47:55 +00:00
Francesco Montorsi
2859935bb1 document GetPickerCtrl() method and provide an example of how to use it to change the default 'Browse' label for wxFilePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:50:12 +00:00
Francesco Montorsi
c933f8f85b formatting change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:48:36 +00:00
Francesco Montorsi
61babb3c30 add a link to the page of the GTK+ manual stock items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:48:06 +00:00
Francesco Montorsi
3e0e389578 added a @todo about references to old wx functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 16:45:51 +00:00
Francesco Montorsi
727aa9062b moved many things from wxString reference page to the wxString overview; updated some old/incoherent informations; added some DIA-drawn graphs showing UTF8/UCS2 different representation used by wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 16:24:52 +00:00
Vadim Zeitlin
f24f657913 emulate scrolling in wxMSW header control; document the need to call ScrollWindow() when using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:11:27 +00:00
Vadim Zeitlin
a000920547 add Show/HideColumn() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:50:30 +00:00
Vadim Zeitlin
78fd3d12bc add IsShown() accessor which is sometimes more convenient than IsHidden()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:49:34 +00:00
Francesco Montorsi
4a6665c6eb document wxLogLevel, wxTraceMask antypes and wxLogLevelValues enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:06:09 +00:00
Francesco Montorsi
d5742c23be small refinements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 00:57:05 +00:00
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