Commit Graph

806 Commits

Author SHA1 Message Date
Jaakko Salli
f915d44b3f Added wxPropertyGridInterface::RemoveProperty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 17:11:35 +00:00
Vadim Zeitlin
059979d848 fix wxTextCtrl::Replace() under wxGTK; added unit test for it and describe its effect on the insertion point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 16:46:25 +00:00
Jaakko Salli
18e046a7c5 SpinCtrl editor's 'value change by mouse motion' feature is made optional, enabled via 'MotionSpin' attribute. Also, for now only enabled on MSW (mouse capture etc. inconsistent on native wxGTK spinbutton?).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 16:14:55 +00:00
Vadim Zeitlin
e068310a5a added wxVector::resize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 13:45:04 +00:00
Vadim Zeitlin
dcb6cbecc8 extract setters from wxHeaderColumnBase into a separate wxSettableHeaderColumn class as we don't always need to implement them in order to use this class; also renamed wxHeaderColumnBase to just wxHeaderColumn as we didn't have any wxHeaderColumn at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 13:05:48 +00:00
Vadim Zeitlin
893039c03f clarify wxFlexSizerGrowMode description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-10 23:38:58 +00:00
Vadim Zeitlin
565804f2b9 added EVT_HEADER_DRAGGING_CANCELLED event sent when either resizing or reordering operation is cancelled instead of having a special cancelled flag in normal END_RESIZE/REORDER events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-10 16:05:21 +00:00
Vadim Zeitlin
702f5349c6 implement column reordering support in wxMSW wxHeaderCtrl; use it in wxDataViewCtrl (and make difference between column indices and positions more clear in it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-10 15:56:11 +00:00
Vadim Zeitlin
1efd7bc655 document UpdateColumn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 14:05:07 +00:00
Francesco Montorsi
558e89e74d add an event table; even if wxMenuItem is not a widget, it emits events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 23:22:41 +00:00
Francesco Montorsi
b476cde6d5 formatting change; added @c in front of wxEVT_ constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 23:21:58 +00:00
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
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
Francesco Montorsi
b155797819 clarify role of wxToolBarToolBase (fixes #9874)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:53:10 +00:00
Francesco Montorsi
1bc693a9ca fix for doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:36:50 +00:00
Francesco Montorsi
4e878f44ab document wxFSVolume (fixes #3977)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 15:29:08 +00:00
Francesco Montorsi
e3d1fc26b2 fix wxList<T>::resize description (fixes #10207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:36:32 +00:00
Francesco Montorsi
6a0f372ca0 document mac.textcontrol-use-spell-checker (fixes #10165)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:29:00 +00:00
Francesco Montorsi
9cfebe8ccc fixes #10131
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:20:28 +00:00
Francesco Montorsi
94d17b78d8 be more precise about range in indeterminate-mode wxGauges (fixes #10125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:18:05 +00:00
Francesco Montorsi
76ef2d3935 documented wxTaskBarIconEvent (fixes #10021)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:00:35 +00:00
Francesco Montorsi
59b9603aa6 minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 13:56:16 +00:00
Francesco Montorsi
c86b476dd5 clarify wxListCtrl::GetItem (fixes #9640)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 13:42:42 +00:00
Francesco Montorsi
afc31d8ad8 clarify how top-level windows are used by wxApp (fixes #9448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 13:12:32 +00:00
Francesco Montorsi
5b86c331ec fix docs for wxInputStream::GetC(); fixes #4461
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:44:17 +00:00
Francesco Montorsi
c909e90788 fix docs for wxRect::Intersect overloads (fixes #4445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:39:45 +00:00
Francesco Montorsi
dcc5fcbf1f fix docs for wxWindow::Layout (fixes #4297)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:29:09 +00:00
Francesco Montorsi
4c0258758d fix description for wxWS_EX_CONTEXTHELP; fixes #4276
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:17:19 +00:00
Francesco Montorsi
4a15036c35 add event table for wxAuiNotebook (partially fixes #4175)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:10:54 +00:00
Francesco Montorsi
6873eb5b38 minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 11:56:05 +00:00
Francesco Montorsi
956f3da353 wxCursor derives (on almost all ports) from wxGDIObject (closes #3711)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 10:52:28 +00:00
Francesco Montorsi
920b92a3fd few other fixes for wxChar => wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 10:41:52 +00:00
Francesco Montorsi
704171f290 add description for GetFrameParameters() function; some other minor fixes (closes ticket #10146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 10:32:14 +00:00
Francesco Montorsi
bb69632a56 minor fixes; replace references to Windows95 with references to wxMSW where possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 00:21:10 +00:00
Francesco Montorsi
30f23bcc56 use @onlyfor tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:15:09 +00:00
Vadim Zeitlin
e227438f24 change Has/SetFlag() to take int instead of unsigned as the latter provokes VC7 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 13:13:27 +00:00
Vadim Zeitlin
e196e5232a store the value to be set inside wxON_BLOCK_EXIT_SET(), this allows to use temporaries with it and also fixes the test failure when built with icc and optimizations on (not sure if it is a compiler bug or not but in any case it seems better to fix it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 12:06:17 +00:00
Vadim Zeitlin
09b898e0fb document all currently defined image options and their values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 14:26:05 +00:00
Vadim Zeitlin
36abe9d421 added the possibility to rescale the image during loading, especially useful with JPEGs (#8390) (change to the sample accidentally committed as r56820)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 13:54:42 +00:00
Vadim Zeitlin
48c90c6e1e preliminary documentation of wxEventLoop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 09:59:33 +00:00
Francesco Montorsi
ebd75440d5 removed redundant wxClassName:: prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:49:24 +00:00
Francesco Montorsi
4ccf056633 interface fixes; removed many functions which were deprecated in past and have already been removed from wx; renamed others wrongly named; added some @onlyfor tags to avoid false warnings in ifacecheck logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:37:43 +00:00
Vadim Zeitlin
12fd0e1d61 more Doxygen warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 18:17:21 +00:00
Vadim Zeitlin
088441b57c fix parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 08:39:42 +00:00
Václav Slavík
4f24cbbd3d implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 22:30:40 +00:00
Francesco Montorsi
11e3af6e7e further ifacecheck fixes (now only 3.3% of documented methods have a wrong signature\!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 21:32:53 +00:00
Francesco Montorsi
0a98423eb0 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 21:33:25 +00:00
Francesco Montorsi
a44f3b5a89 ifacecheck manual fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:46:52 +00:00
Francesco Montorsi
bce9df55c7 fix typo: s/SetTimestamp/DisableTimestamp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 15:20:49 +00:00
Francesco Montorsi
2681874846 ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 15:25:07 +00:00
Francesco Montorsi
408776d034 ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 15:17:16 +00:00
Jaakko Salli
1621f192d9 Removed property editor validation failure assertions when implicitly clearing selection. Added relevant notes into documentation of member functions that previously asserted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-06 18:05:09 +00:00
Vadim Zeitlin
6126da35a8 document wxRESIZE_BORDER side effect under Windows (see #9989)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-05 15:27:34 +00:00
Vadim Zeitlin
d2824cdb7f Review/simplify/cleanup MDI classes for all platforms and introduce base
classes for wxMDI{Parent,Child}Frame and wxMDIClientWindow.

Also use generic MDI implementation for wxMotif as it seems to be more
functional and definitely is more maintained (we probably should use the
generic version for wxGTK too).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-04 02:46:19 +00:00
Jaakko Salli
e2ca659906 Moved Get/SetPropertyText/BackgroundColour() member functions from wxPropertyGrid to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 17:02:04 +00:00
Francesco Montorsi
9cc56d1fc0 remaining h* interface header revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 14:37:14 +00:00
Francesco Montorsi
f21dd16b46 fixed doxygen warnings produced by the ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 11:57:07 +00:00
Jaakko Salli
d7e2b52235 Reworked wxPGCell. It is now reference counted, and therefore much more user friendly, and is used internally as basis for most property colour values instead of separate row text and bg colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 18:53:37 +00:00
Bryan Petty
23d291c2d2 Reviewed some g* interface headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 01:22:58 +00:00
Francesco Montorsi
78e37b46a4 fixed missing semicolons, as reported by check_syntax.sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:11:00 +00:00
Francesco Montorsi
d6d0011db9 added a simple script to detect interface headers with missing semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:06:06 +00:00
Francesco Montorsi
37220641e0 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 10:53:56 +00:00
Francesco Montorsi
bf505dfce5 fixed the error '& may not appear in macro parameter list' reported by running gcc preprocessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 10:39:54 +00:00
Francesco Montorsi
d7b99b162f fixed the error 'macro parameters must be comma-separated' reported by running gcc preprocessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 10:32:10 +00:00
Francesco Montorsi
5e6e278dc1 moved to appropriate 'protected' sections all functions wrongly placed in 'public' sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 18:55:57 +00:00
Vadim Zeitlin
f42c1512dd provide ctors allowing to specify the non-default buffer size for buffered streams and wxStreamBuffer itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:42:45 +00:00
Vadim Zeitlin
de56f24082 added wxDocument::AlreadySaved() and use it in OnUpdateFileSave() to ensure that the "Save" menu item is enabled for new documents, even although they're not modified yet (otherwise the standard Ctrl-S key doesn't work in this case which is pretty annoying)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:23:25 +00:00
Vadim Zeitlin
d7b3a73d07 document wxDocument::GetDocumentSaved()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:15:03 +00:00
Francesco Montorsi
5e27edecac fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:00:56 +00:00
Francesco Montorsi
5267aefd85 automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 15:34:31 +00:00
Francesco Montorsi
43c48e1e53 automated ifacecheck fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:36:26 +00:00
Francesco Montorsi
cfbe561401 ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 14:29:36 +00:00
Francesco Montorsi
fadc2df682 automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:26:54 +00:00
Francesco Montorsi
50ec54b656 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:18:55 +00:00
Francesco Montorsi
7323ff1aee other ifacecheck fixes, resulting in removal of the non-existing functions wxDatagramSocket::ReceiveFrom() and wxCloseEvent::SetForce()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 17:12:27 +00:00
Francesco Montorsi
04e7bc9f90 no real change; moved wxDataObject and wxDataFormat class declarations after all their derived classes, at the end of the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 17:08:44 +00:00
Francesco Montorsi
5bddd46dde other interface revisions of html headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-25 20:44:52 +00:00
Francesco Montorsi
c87f263ea5 first part of revisions of html/h* interface headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 13:55:07 +00:00
Francesco Montorsi
0ad10f3055 fixed doxygen warnings; also restyled (partially) the interface headers to conform to wx doc style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 20:48:31 +00:00
Francesco Montorsi
c4e5720224 interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 20:03:19 +00:00
Francesco Montorsi
41e69d79ea doxygen warnings and formatting fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 16:07:00 +00:00
Francesco Montorsi
3a74a290a9 fixed the anchor names for @section used in interface headers; documented the general rules used for its naming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 15:30:20 +00:00
Francesco Montorsi
6a93e7940b interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 15:14:14 +00:00
Francesco Montorsi
320ab87c57 interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 12:49:07 +00:00
Jaakko Salli
404b9c623a Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 11:48:49 +00:00
Francesco Montorsi
89bb3f0244 interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 20:55:12 +00:00
Francesco Montorsi
969daeea66 revision of wxLocale; documented the list of language constants into the wxLanguage enum; modified genlang.py to generate a .h with doxygen comments and removed generation of a .tex script; moved docs for wxXlocale to the right header (xlocale.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 20:27:36 +00:00
Jaakko Salli
c82a80e81f wxPGProperty::GenerateComposedValue() -> protected DoGenerateComposedValue(), added simple public GenerateComposedValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 16:46:38 +00:00
Vadim Zeitlin
51725fc0c2 reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Václav Slavík
0f278d7763 assert in wxTopLevelWindowMSW::SetIcon[s]() if none of the provided icons has required size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:13:32 +00:00
Václav Slavík
a158acac6d Cleaned up wxArtProvider:
1. Move platform-specific code for both GetSizeHint() and GetBitmap()
   into platform-specific files.
2. Introduced GetNativeSizeHint() to make native sizes better accessible,
   without having to understand weird GetSizeHint() semantics.
3. Fixed GetNativeSizeHint() to return sensible values in non-GTK ports;
   it returns wxDefaultSize if it can't make a good guess instead of
   returning arbitrary value.
4. Use 16x16 icons on MSW instead of 16x15: it works and is more
   'natural' size.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 19:07:42 +00:00
Jaakko Salli
1425eca550 Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:19:50 +00:00
Vadim Zeitlin
a62e6836ae added wxConnection::IsTextFormat()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:32:06 +00:00
Vadim Zeitlin
1d7b600d63 document GetSizeAvailableForScrollTarget()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 19:33:00 +00:00
Jaakko Salli
174b59acee Remove old workarounds to get cut, copy, and paste working in embedded wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:07:26 +00:00
Francesco Montorsi
427c415b93 interface header revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:36:15 +00:00
Robert Roebling
e4821c39c4 Add appearance tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 09:49:58 +00:00
Francesco Montorsi
9f5737d793 misc fixes to function signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 19:48:14 +00:00
Francesco Montorsi
9f1ce8bfa9 clarify the usage of debug macros, in particular for wxFAIL (which doesn't need () brackets) as reported by Jim Battle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 19:40:39 +00:00
Jaakko Salli
2fd4a52415 wxPGProperty::AddChild() can now be used to add normal child properties (previously it was only used to add private children of derived property classes such as wxFontProperty and wxFlagsProperty). However, to allow backwards compatibility, SetParentalStyle(wxPG_PROP_MISC_PARENT) needs to be called before doing so. Also done: merged property initialization code from PrepareToAddItem() and PrepareSubProperties() to InitAfterAdded().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 17:15:59 +00:00
Vadim Zeitlin
cc378c2d75 added wxXmlResource::FindXRCIDById() (#10026)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 11:44:10 +00:00
Robert Roebling
7c14fc8cca add appearance tag to book controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 19:55:46 +00:00
Robert Roebling
a946542e54 Add appearance of wxSpinCtrlDouble
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 19:13:18 +00:00
Robert Roebling
8ed522d9aa Corrected library association
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 18:50:54 +00:00
Francesco Montorsi
8067ee1174 misc fixes of ctor signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 13:46:42 +00:00
Francesco Montorsi
da1ed74c85 automated changes: many (pure) virtual specifiers added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 13:24:43 +00:00
Francesco Montorsi
551266a969 access-specifier fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 11:29:37 +00:00
Francesco Montorsi
0004982c83 virtual/static attributes automated fixes by ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 11:09:56 +00:00
Francesco Montorsi
d8231db24d add docs for the #define of wxBookCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 11:03:01 +00:00
Francesco Montorsi
340e9651e1 revised the documentation of the book controls; moved common API to wxBookCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 10:27:19 +00:00
Francesco Montorsi
e8a8aa37ea revised n*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:55:12 +00:00
Francesco Montorsi
7e59b88579 re-enabled all @appearance tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:05:18 +00:00
Jaakko Salli
68bcfd2c10 Eliminate (or at least reduce) 64-bit build warnings (as described in wxPG sourceforge bug report #2156069)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 12:23:48 +00:00
Francesco Montorsi
ba1d7a6cec revised m*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 13:10:48 +00:00
Francesco Montorsi
dd72e7678d fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 19:14:22 +00:00
Jaakko Salli
703ee9f5ec GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:22:08 +00:00
Robert Roebling
2a555dcf20 Trying to make introduction reappear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 08:44:49 +00:00
Francesco Montorsi
6c107bd20d doxygen warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 16:42:52 +00:00
Francesco Montorsi
9e7ad1cab8 revised richtext headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 16:30:57 +00:00
Francesco Montorsi
4f48d306f4 use standard tags @class,,@lib,@category for wxScopeGuard, too (to keep the documentation style uniform)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 13:45:25 +00:00
Vadim Zeitlin
bcffb4d1a9 add 3 parameter scope guard; improve its documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 11:26:50 +00:00
Jaakko Salli
9b5bafcf38 Removed dysfunctional wxPGPropery::PrepareValueForDialogEditing(); Replaced its functionality with wxPropertyGrid::GetPendingEditedValue(); Added wxPropertyGrid::PerformValidation() flags so it can be called in generic context.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:15:10 +00:00
Jaakko Salli
ff1e1474ed Removed SetPropertiesFlag() (high-level function using 'undocumented' wxPGProperty flags, IIRC was mostly used as poor-man's SetEditableState() and possibly for internal use until very recently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:35:06 +00:00
Jaakko Salli
d61d8cffa9 Eliminated last property generation macros from props.h (colour property gen ones, now use subclassing facilities present in wx(System)ColourProperty)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:28:05 +00:00
Francesco Montorsi
4701dc0983 revised st*.h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 16:57:34 +00:00
Jaakko Salli
3a89adc1f0 Removed wxLongStringProperty derived property creator macros (just subclass and implement OnButtonClick()); Partially fixed wxPGProperty::PrepareValueForDialogEditing()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 16:56:43 +00:00
Francesco Montorsi
b2bd89e35c add missing semicolon; add some @see commands to link wxExecute/wxLaunchDefault* functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 16:16:57 +00:00
Vadim Zeitlin
7de202a64d document that Set/ChangeValue() set the insertion point to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 11:34:46 +00:00
Jaakko Salli
5a45dd6fd9 When registering editor, try wxRTTI class name in additon to result of wxPGEditor::GetName(). Allows creating custom editors without needing to implement GetName().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:48:27 +00:00
Jaakko Salli
75b6c4ce92 Removed GetExpandedProperties() (used to act as poor man's GetEditableState())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:24:05 +00:00
Jaakko Salli
de0037976c Fix RCS-IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:14:06 +00:00
Jaakko Salli
ba9ed9d0c6 Removed wxPropertyGridInterface::ClearPropertyValue() (use SetPropertyValue(defaultValue) instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:10:00 +00:00
Vadim Zeitlin
9c498e84bf correct the example/documentation of GetDocumentsDir() return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 22:56:23 +00:00
Francesco Montorsi
e725ba4fc2 other s*h interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 11:24:00 +00:00
Vadim Zeitlin
9f7aee0198 added the possibility to draw grid lines across the entire window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 23:23:01 +00:00