Vadim Zeitlin
664e13143e
renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:01:46 +00:00
Vadim Zeitlin
0fa541e870
add support for persistent controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Vadim Zeitlin
3b7fa2069b
fix remaining cases of wxWindow::ProcessEvent() calls; add convenient ProcessWindowEvent() wrapper and document it; also document this (incompatible) change itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 13:41:43 +00:00
Vadim Zeitlin
058f225a44
added template wxScopedArray<> too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 16:40:51 +00:00
Václav Slavík
2d8b540af8
changed wxMSW's default toolbar bitmaps size from obsolete 16x15 to 24x24 used by modern apps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:16:51 +00:00
Vadim Zeitlin
232b216277
added support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl ( #10033 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:47:20 +00:00
Vadim Zeitlin
997fb31f8d
added (wxMSW-only) wxToolTip::SetMaxWidth() and improve its default behaviour ( #2817 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 13:30:46 +00:00
Vadim Zeitlin
d8efd2198f
added wxStandardPaths::GetAppDocumentsDir() and use it by default for loading/saving documents in wxDocManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:01:30 +00:00
Vadim Zeitlin
6bc176b4ab
implement SetTimes() for directories too under MSW ( #10250 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 18:03:00 +00:00
Vadim Zeitlin
3c77890141
add more flexible and safer template Connect() overloads ( #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Vadim Zeitlin
5b8b2c84f7
added SetLabelText() and EscapeMnemonics()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 14:14:07 +00:00
Vadim Zeitlin
7047d7981f
handle exceptions thrown from overridden wxView::OnCreate() gracefully
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 16:36:39 +00:00
Vadim Zeitlin
b67397a779
added wxSocket::ShutdownOutput() ( closes #9229 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:27:41 +00:00
Vadim Zeitlin
e557577d7e
mention wxEVT_GRID_CELL_CHANGED-related changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 22:05: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
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
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
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
Vadim Zeitlin
1a8a13ee88
no changes, just don't use "any more" thrice in a row
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 22:44:03 +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
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
e2517f176b
add support for creating drop down toolbar buttons from XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:11:54 +00:00
Vadim Zeitlin
8aea37a9df
use buffered streams to reduce the number of TCP packets used per IPC command from up to 7 to 1 for reasonably sized payloads, this dramatically (by 150 times for the IPC benchmark on a LAN) increases performance; also centralize all the streams used in a single wxIPCSocketStreams class and allocate only it on the heap instead of doing it for all of the streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:45:55 +00:00
Vadim Zeitlin
474207cae4
give credit for wxGrid column move hint improvement
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 11:47:12 +00:00
Vadim Zeitlin
89ff7d649f
correct some wording of recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 14:00:14 +00:00
Francesco Montorsi
6f8dd114f4
mentioned the new doc format
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 13:13:31 +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
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
Vadim Zeitlin
fcc65883db
implemented wxMemoryFSHandler::FindFirst/Next()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 13:55:39 +00:00
Vadim Zeitlin
07bfacf3a6
copied and pasted 2.8.9 change log section (was there anything there that didn't apply to trunk?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 22:42:17 +00:00
Vadim Zeitlin
8a3e536cd5
- Main change is the addition of wxGridSelectRowsOrColumns selection mode
...
(which is still probably buggy, wxGridSelection needs to be reviewed)
- Add XYToCell() overloads returning wxGridCellCoords (instead of modifying the
argument passed by reference -- where did this come from?) and document them.
- Added GoToCell() which does make the new current cell visible unlike
SetGridCursor() (which was documented as doing it, but wasn't)
- Changed SetCurrentCell() to only not change the cell if wxEVT_GRID_SELECT_CELL
it generates is vetoed, not just processed as this seems to make more sense
- Split jumbo (~400 lines) ProcessGridCellMouseEvent() function into chunks
- Add many more comments to make reading this code seem less like puzzle
solving for the next unfortunate soul to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:33:04 +00:00
Vadim Zeitlin
0e0977894a
make wxKeyEvent and wxMouseEvent derive from the same wxKeyboardState object (indirectly via wxMouseState in the case of the latter) to make Get/HasModifiers() available in wxMouseEvent as well while avoiding code duplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 18:41:41 +00:00
Vadim Zeitlin
87c819f9c9
improve display of hints during column move ( #9884 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:33:39 +00:00
Vadim Zeitlin
1c4293cb91
added wxPropertyGrid from Jaakko Salli ( #9934 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Vadim Zeitlin
a3ac93e3ac
return true from IsBeingDeleted() if any of the parent windows is marked for destruction too (see #9867 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 14:09:30 +00:00
Vadim Zeitlin
f45d6ade08
added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:37:35 +00:00
Vadim Zeitlin
ff2201cc74
added swap() for the other arrays too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:51:41 +00:00
Vadim Zeitlin
9127686895
added wxArrayString::swap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:35:32 +00:00
Vadim Zeitlin
4b02d42e37
replace the static control in wxMessageDialog with an edit control with a vertical scrollbar if the message box is too big to fit on the screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 10:39:49 +00:00
Vadim Zeitlin
b6d2b072d8
allow copying text in the log dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 19:32:12 +00:00
Vadim Zeitlin
9276358892
added support for custom labels in wxMessageBox for wxGTK too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 17:27:20 +00:00
Vadim Zeitlin
98d8a7ece5
honour user scale and source offset in wxDC::Blit() ( #2605 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 00:52:13 +00:00
Vadim Zeitlin
c6e4d276a3
don't call OnCloseDocument() from OnNewDocument(), this plainly doesn't make sense ( #1508 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 12:17:52 +00:00
Vadim Zeitlin
9016f3ad73
add support for multiline labels in wxToggleButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:47:01 +00:00
Vadim Zeitlin
8758875e0b
added enabled and hidden attributes to radio box items in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 18:21:38 +00:00
Vadim Zeitlin
0c7db140c5
add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:39:11 +00:00
Vadim Zeitlin
dfbe9d4f59
implement wxBitmap ctor from XBM data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 14:07:54 +00:00
Vadim Zeitlin
2186321ff5
big wxURI cleanup; it now handles Unicode characters correctly ( #3874 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 23:14:51 +00:00
Vadim Zeitlin
a6eac99d9e
mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 22:22:16 +00:00
Vadim Zeitlin
67ef83eb03
added wxFlexGridSizer::Add{Row,Col}Growable() ( #2603 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:06:50 +00:00