Commit Graph

768 Commits

Author SHA1 Message Date
Francesco Montorsi
2ed73c7363 documented IsExtensionSupported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 16:38:41 +00:00
Francesco Montorsi
84094285c5 list also wxSystemOptions next to wxSystemSettings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:50:46 +00:00
Francesco Montorsi
ec5984e358 document the wince.dialog.real-ok-cancel option (closes #10242)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:50:27 +00:00
Francesco Montorsi
d181e877b0 use a common m_isInsideYield flag instead of static booleans in all ports; add a IsYielding() test which can help to fix unwanted re-entrancies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:03:39 +00:00
Francesco Montorsi
f045c7f52d done various @todo items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 14:14:39 +00:00
Francesco Montorsi
5c87527c5a move Ellipsize() to wxControl so it can be easily used by other controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-28 21:16:00 +00:00
Francesco Montorsi
f8f31de610 fix miscellaneous doxygen warnings; IMPORTANT: never leave empty lines inside a @beginEventTable/@endEventTable block (or similar blocks); it results in difficult-to-fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-28 19:50:21 +00:00
Francesco Montorsi
4520d5836a refactor wxStaticText::Ellipsize so it's a static public utility function; document it and a couple of other useful functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-28 19:24:13 +00:00
Francesco Montorsi
cf2918d40e name also QueueEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 13:46:31 +00:00
Francesco Montorsi
798c0d873b do not document Clone() overloads only for some classes; Clone() is reimplemented in all event classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 13:46:00 +00:00
Francesco Montorsi
fa2370f16a remove wxClassInfo::InitializeClasses docs; that function does not exist anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 13:42:14 +00:00
Francesco Montorsi
e5794f50e7 do not use @b when referencing to functions; use final () to enable doxygen autolink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 10:20:33 +00:00
Vadim Zeitlin
9af42efda6 added wxEventLoop::DispatchTimeout()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-26 22:28:34 +00:00
Jaakko Salli
f521bae665 Have wxPGTextCtrlEditor::UpdateControl() update wxTextCtrl font boldness based on property's modified-status
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-26 18:46:08 +00:00
Francesco Montorsi
6b6663be88 don't use dot in brackets as doxygen renders dot with a line break
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-26 12:24:18 +00:00
Vadim Zeitlin
e4de7a7759 don't use the client data for storing wxOwnerDrawn in wxCheckListbox implementation as we already store them in internal array anyhow, this allows the user to use his own client data with wxCheckListbox (#10290)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:10:55 +00:00
Vadim Zeitlin
9f2968ad0b make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:03:24 +00:00
Vadim Zeitlin
1ddb6d2857 allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be disabled and use this to implement wxSHOW_SB_ALWAYS in the generic wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 21:58:05 +00:00
Vadim Zeitlin
6362d82b3e add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic implementation coming soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 15:58:37 +00:00
Vadim Zeitlin
0b0f6f87d5 add convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2 int[ pointer]s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 15:11:00 +00:00
Bryan Petty
8763842294 Added grid event classes to the events group in docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 16:38:30 +00:00
Robert Roebling
53081fa5a4 wxDataViewCtrl::IsExpanded should work now under OS X, as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 14:57:19 +00:00
Robert Roebling
4219d8b027 Add wxDataViewCtrl::ExpandAncestors() and call it from both EnsureVisible() and Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 14:56:07 +00:00
Vadim Zeitlin
763163a80a split wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency with all the other controls; provide access to new/old value of the cell in the event object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 22:58:49 +00:00
Francesco Montorsi
c6427d4da4 mention multi-core systems and wxThread::GetCPUCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-20 21:26:25 +00:00
Jaakko Salli
91c818f829 Fixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChildren()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-20 15:47:05 +00:00
Robert Roebling
dc61b49e6a wxImage::ConvertToBitmap() doesn't exist anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-19 15:43:17 +00:00
Robert Roebling
f95032cab9 Correct AssignTempFile docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-18 21:26:34 +00:00
Vadim Zeitlin
69e037ac39 many improvements and corrections from Charles (see #10276)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:03:50 +00:00
Vadim Zeitlin
482d06f8b5 made wxHeaderCtrl::GetColumn() const to get rid of the const_cast<>s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 00:11:57 +00:00
Vadim Zeitlin
af67f39da8 added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 23:56:56 +00:00
Robert Roebling
739a839903 Added wxDataViewCtrl::IsExpanded(item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 21:23:55 +00:00
Francesco Montorsi
4ce846b17c typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 20:42:12 +00:00
Francesco Montorsi
9eab0f6c3a don't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 19:44:49 +00:00
Vadim Zeitlin
31ec8b4e15 added wxGrid::SetColumnsOrder() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 15:53:38 +00:00
Robert Roebling
5801b3ec87 Mention header control in Category page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 15:27:04 +00:00
Vadim Zeitlin
92dbce737d mention that mouse events carry position in window coordinates of the window which generated the event (#10274)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 14:52:29 +00:00
Bryan Petty
d9a092733d Moved wxWeakRef template docs from the misc category to the smart pointers category.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 07:15:44 +00:00
Vadim Zeitlin
a1e62aaaa6 the dialogs documented here are defined in wxcore, not wxbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 22:54:29 +00:00
Vadim Zeitlin
613de0e89e handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived class must implement UpdateColumnVisibility()); also renamed wxHD_DRAGDROP to wxHD_ALLOW_REORDER as it will be possible to reorder columns interactively using a customization dialog and not just by dragging them soon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 22:42:37 +00:00
Vadim Zeitlin
e8f25dbbce added a helper function to show the popup menu allowing to configure the columns in header control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 11:03:59 +00:00
Vadim Zeitlin
565382de29 disable UI updating during GetPopupMenuSelectionFromUser() execution to avoid unexpected clashes between the ids used in it and the update UI handlers elsewhere in the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 11:02:49 +00:00
Vadim Zeitlin
fe79f76ba9 added helper Is{Col,Row}Shown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 10:44:29 +00:00
Vadim Zeitlin
3039ade95d renamed GetColHeader() to GetGridColHeader() for consistency with the other existing accessors (even if this is redundant) and made it public/documented (also documented the others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 10:34:04 +00:00
Vadim Zeitlin
da5a641fc8 added wxHeaderCtrl::ResetColumnsOrder() function; use it from wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 20:02:44 +00:00
Vadim Zeitlin
009c72169f add support for hiding columns when using native header control in wxGrid; also added convenient Hide/ShowCol() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 17:28:57 +00:00
Francesco Montorsi
d5c8403a37 force doxygen autolink wrt wxLanguage enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 16:11:22 +00:00
Francesco Montorsi
72dc02c6a7 document wxFileOffset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 15:05:18 +00:00
Francesco Montorsi
eb63011d3f reformat stream overview and provide a description hopefully correct, even if very short, for wxStreamBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 14:51:42 +00:00
Francesco Montorsi
3d46a376b1 distribute in the right places documentations for the overloads/structs used with wxCmdLineParser; mention wxAppConsole::OnInitCmdLine and wxAppConsole::OnCmdLineParsed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 14:06:47 +00:00
Francesco Montorsi
ebfa01338b fix note about OpenGL-enabling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 14:03:48 +00:00
Vadim Zeitlin
11393d2900 add support for sorting to grid columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 00:02:30 +00:00
Vadim Zeitlin
2b1f9fa062 explain EVT_GRID/EVT_GRID_CMD difference and don't duplicate the events documentation for both of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-13 22:08:18 +00:00
Vadim Zeitlin
cd68daf58a support column reordering using drag and drop when using wxHeaderCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-13 00:24:39 +00:00
Francesco Montorsi
0801f345c0 put zlib streams in the archive category, too; fix some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 19:34:42 +00:00
Francesco Montorsi
e2c4ccaf8a fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 16:10:08 +00:00
Francesco Montorsi
fa7e10a43f document wxInitializer and wxInitialize and wxUninitialize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 15:56:19 +00:00
Francesco Montorsi
ea53cb4abf fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 15:41:22 +00:00
Francesco Montorsi
a0a4c5aa14 split AddCatalog docs for the two overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 15:40:54 +00:00
Vadim Zeitlin
1bb7462687 don't duplicate the column reordering in generic wxHeaderCtrl and wxGrid, extract it into a (public) helper function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 22:27:02 +00:00
Vadim Zeitlin
ad805b9e0d added wxGrid::UseNativeColHeader() (column reordering doesn't work yet); more wxGrid clean up: refactor Init/InitVars/Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 19:21:20 +00:00
Vadim Zeitlin
4635abaca6 added wxHeaderCtrl::OnColumnCountChanging()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 17:15:43 +00:00
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