Commit Graph

1447 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
9379b3f68d mention that GetItemRect() is new in 2.9.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:02:38 +00:00
Vadim Zeitlin
f75e0c15ae show busy cursor in wxLaunchDefaultBrowser and add a new flag to avoid it (#9678)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 02:32:16 +00:00
Vadim Zeitlin
e974c5d258 implement wxListCtrl::GetSubItemRect() for generic version and fix bug in it in wxMSW one; also added a test for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 18:21:33 +00:00
Vadim Zeitlin
929b79014a support wxListCtrl::GetViewRect() in report view too; test it in the sample (#9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:12:12 +00:00
Vadim Zeitlin
f3beaa9908 forward port 2.8.8 changelog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:56:14 +00:00
Vadim Zeitlin
053ac76fa2 deprecate wxTE_AUTO_SCROLL as it's always on in the ports which support it anyhow (#2176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:18:54 +00:00
Vadim Zeitlin
edc5134402 initialize wx{Client,Paint,Window}DC with fonts/colours of its window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:17:00 +00:00
Vadim Zeitlin
a30e702974 added wxGenericStaticBitmap (#9608)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:32:33 +00:00
Václav Slavík
25a3fca2e5 Implemented high-quality preview for wxMSW (this approach doesn't work
on other platforms). The preview is now accurate representation of printed
page and wxHtmlEasyPrinting preview shows identical layout to what will
be printed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:41:51 +00:00
Vadim Zeitlin
f380544a4c use std[::tr1]::unordered_map if available in wxUSE_STL build (#9532)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:43:41 +00:00
Vadim Zeitlin
dfc220831a propagate style changes correctly to buttons with images (#3939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 00:50:07 +00:00
Vadim Zeitlin
591d3fa210 remember the last type used for loading or saving the image and return it from GetType() (#9551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 00:28:23 +00:00
Vadim Zeitlin
fdaad94e75 deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceClippingRegion() to avoid confusion due to use of different kind of coordinates in this and other overloads of the same function; also rename wxDCImpl::DoSetClippingRegionAsRegion() to DoSetDeviceClippingRegion(); finally use bounding box of the region passed to wxDCClipper ctor to avoid interpreting coordinates differently for different ctors of the same class (see #8970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 01:45:56 +00:00
Vadim Zeitlin
c39d2e0a38 added multisampling (anti-aliasing) support to wxGLCanvas (#9145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 00:12:12 +00:00
Vadim Zeitlin
cd1ff792d2 make wxLogWindow thread-safe (#8783)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 16:20:23 +00:00
Vadim Zeitlin
533171c287 support multiline labels in wxCheckBox (#9495)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 01:54:44 +00:00
Vadim Zeitlin
e98e625cbb change longs used for bitmap types to wxBitmapType (#9126)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:33:58 +00:00
Vadim Zeitlin
f7541d4807 corrected bug in wxTimeSpan::IsShorterThan() for equal time spans (ticket #9539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 23:51:04 +00:00
Vadim Zeitlin
9d653e810c rewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream uses the converters; also converted a couple off by 1 bugs and unit test finally pass now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:08:45 +00:00
Vadim Zeitlin
3e50a139b4 fixed wxImagePixelData compilation (ticket #3003); added a unit test for it (to be extended to cover more wxImage methods...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:30:23 +00:00
Vadim Zeitlin
500b128d0e mention the problem with writing enums to wxConfig (see #8656)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 13:49:12 +00:00
Vadim Zeitlin
73ba5ab90c mention the ambiguities which arise when passing wxString[.c_str()] to functions overloaded to take both char* and wchar_t* (see #9507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 13:31:28 +00:00
Václav Slavík
e0e7a34117 re-added accidentally omitted 'ANSI'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 10:47:13 +00:00
Václav Slavík
3dac8f8a99 fixed confusingly complicated sentence to make sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 10:33:40 +00:00
Vadim Zeitlin
e559d790fb add wxCmdLineParser::AddUsageText() and wxCMD_LINE_USAGE_TEXT (modified patch 1957542)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 00:03:06 +00:00
Vadim Zeitlin
2d63583fba don't blit more than necessary in wxBufferedDC::UnMask() (patch 1943622)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:19:58 +00:00
Vadim Zeitlin
9c8116f8f7 take const wxConfig object in wxDocManager::FileHistoryLoad() and wxFileHistory::Load() (patch 1942316)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 20:32:35 +00:00
Vadim Zeitlin
fd11f77773 fix appending items to sorted control (patch 1940384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 19:59:17 +00:00
Vadim Zeitlin
2c66581eaa show resize grip on resizeable dialogs (slightly modified patch 1910654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:12:36 +00:00
Vadim Zeitlin
006ecb226f move last change to the correct section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:08:08 +00:00
Vadim Zeitlin
bcbb13598c make class names used for our windows unique between different wx instances (modified patch 1898289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 16:17:34 +00:00
Vadim Zeitlin
4f29051b4e use std::[w]string for wxString implementation unless wxUSE_STD_STRING==0 but even if wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 00:46:45 +00:00
Vadim Zeitlin
f01a77c795 add an assert indicating that old code overriding OnExecute() must be updated with 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-02 22:05:43 +00:00
Vadim Zeitlin
c3f941621e added wxQueueEvent() avoiding the bug of wxPostEvent() with the events having wxString fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 18:49:42 +00:00
Vadim Zeitlin
fa7134b05a use kind, not id, of a menu item to test whether it's a separator: this allows having separators with ids other than wxID_SEPARATOR in case it's useful to distinguish between them (patch 1929039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:55:42 +00:00
Vadim Zeitlin
5131749617 initial native implementation of wxCalendarCtrl for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 04:17:03 +00:00
Václav Slavík
16361ec941 Generalized wxScrolledWindow into wxScrolled<T> that can derive from
anything (typically wxPanel or wxWindow). Fixed generic wxListCtrl to
use wxScrolled<wxWindow> - this fixes focus problems with label-editing
text control. Fixes to wxScrolledWindow doxygen docs.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 15:07:03 +00:00
Vadim Zeitlin
628e155d8c added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Vadim Zeitlin
d2a48d5cbc added convenient wxON_BLOCK_EXIT_SET() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:13:50 +00:00
Václav Slavík
a7c01bb155 documented that Freeze and Thaw are now recursive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:43:36 +00:00
Vadim Zeitlin
8cd6a9ad50 added wxSpinCtrlDouble (slightly modified patch 1835864)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 14:04:19 +00:00
Francesco Montorsi
41ae85f868 restore previous encoding, changed for error to UTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 17:33:57 +00:00
Francesco Montorsi
82cddbd97a fix also wxPen to use wxPenStyle,wxPenJoin,wxPenCap enums instead of plain int; remove from wxBrushStyle the styles wxPen-specific; add backward-compatible ctor to wxPen; don't include brush.h and pen.h from gdicmn.h, rather move wxPenList,wxBrushList,wxFontList in the relative headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 21:11:12 +00:00
Francesco Montorsi
3e6858cdcb introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 16:47:57 +00:00
Vadim Zeitlin
9243700fb2 add support for asynchronous execution in wxBase (patch 1906889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 16:46:38 +00:00
Vadim Zeitlin
03d4194d6b implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the text control part (slightly modified patch 1914190)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 04:10:43 +00:00
Vadim Zeitlin
b1859b1a1b added support for double arguments to wxCmdLineParser (patch 1907289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:33:25 +00:00
Francesco Montorsi
89c95a7b81 mention wxMenuItem::* deprecations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 21:40:08 +00:00
Vadim Zeitlin
dfba244cbf added wxNativeContainerWindow and implemented it for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-10 15:50:48 +00:00
Vadim Zeitlin
8ce68f7fc0 add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:33:47 +00:00
Vadim Zeitlin
c50c6fb23b add SetNativeTheme() (slightly modified patch 1884553)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:46:14 +00:00
Vadim Zeitlin
3bbd9580df better wording for the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 02:46:26 +00:00
Vadim Zeitlin
d238d403f1 implement support for display enumeration under WinCE (patch 1890936)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-25 02:45:27 +00:00
Vadim Zeitlin
8ffc2f063c mention wxXLocale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:45:40 +00:00
Vadim Zeitlin
3f20f7d8a3 added wxGLCanvas::IsDisplaySupported() (patch 1879906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:55:05 +00:00
Vadim Zeitlin
f3f2e255b4 added wxDateTime::FormatISOCombined() and ParseISODate/Time/Combined()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 13:04:56 +00:00
Vadim Zeitlin
67c5dabb64 fix assert when using owner-drawn menu items with the newest (Vista) SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 01:34:00 +00:00
Václav Slavík
3358af0f87 added wxWindow::HasFocus() for more convenient way of determining if a (possibly composite) window has focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 13:30:24 +00:00
Francesco Montorsi
6f67af05ca mention also the contrib libraries removal/movements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 12:29:52 +00:00
Vadim Zeitlin
22de6a4083 add wxDatePickerCtrl support in wxGenericValidator (patch 1870174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-20 22:40:14 +00:00
Vadim Zeitlin
00f7f5a71f don't enable disabled windows when showing them (patch 1871879)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:49:36 +00:00
Robert Roebling
711b238d9b Mention wxSizer::Fit() change and wxWrapSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:10:58 +00:00
Vadim Zeitlin
022a8a5af2 call OnExec() taking wxString argument from OnExecute() by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 21:04:10 +00:00
Robert Roebling
69d0fe8315 mention some more changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 11:01:26 +00:00
Vadim Zeitlin
4b8af4ac87 return false from Dispatch() if gtk_main_quit() was called (patch 1864846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 15:26:16 +00:00
Vadim Zeitlin
17808a7596 move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:21:31 +00:00
Vadim Zeitlin
b9e6623377 don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 01:13:44 +00:00
Vadim Zeitlin
1cf57808cb fix bug with parsing negative time zones in ParseRfc822Date()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 23:35:40 +00:00
Julian Smart
3aa8e4ea6d Added automatic dialog scrolling ability
Added ability to resize wizard bitmaps automatically
Made it easier to derive from wxWizard and override behaviour,
mainly by making members protected instead of private



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 16:35:39 +00:00
Vadim Zeitlin
1d89da8a5c allow centering wxMessageDialog on its parent window (patch 1836072)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 16:52:31 +00:00
Vadim Zeitlin
66a9201df8 implement wxListCtrl::ScrollList() (in report view and vertical direction only) (slightly modified patch 1843647)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:58:38 +00:00
Vadim Zeitlin
c7a284c79b fixes to wxImage::ResambleBox() (patch 1843902)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:52:48 +00:00
Vadim Zeitlin
cab9b205c3 discard any pending messages for the socket being destroyed to avoid the problem with having them delivered to the next socket we create which reuses the same message number (patch 1856012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 14:05:25 +00:00
Vadim Zeitlin
2804f77d88 more socket cleanup to allow using wxSocket from both wxBase and wxCore (replaces patch 1756260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 16:45:08 +00:00
Vadim Zeitlin
804eeca5d5 don't misinterpret the time after the date as a weekday (patch 1836708)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 21:03:21 +00:00
Vadim Zeitlin
9135f74e69 mention some of the major changes in 2.9 so far
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 18:11:51 +00:00
Václav Slavík
b86c4f960e added <scrollrate> parameter to wxScrolledWindow XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 19:03:50 +00:00
Vadim Zeitlin
ddc0ac4ad8 mention wxDC change (more details would be welcome)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 20:25:33 +00:00
Vadim Zeitlin
376d7d9764 added Show/HideWithEffect() and implemented them using AnimateWindow() for Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 16:15:08 +00:00
Vadim Zeitlin
e36a173933 added wxNotificationMessage and implemented it generically and natively for Maemo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 01:56:13 +00:00
Vadim Zeitlin
c944775f72 added wxWindow::GetPrev/NextSibling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 15:57:51 +00:00
Vadim Zeitlin
8575ff507f experimental IPv6 implementation (patch 1771429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 20:53:33 +00:00
Vadim Zeitlin
08f1c27c39 document Next/PrevControlId() removal (should have been part of r50007)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 23:59:30 +00:00
Vadim Zeitlin
58b33f504d move wxGetClientDisplayRect() fix into 2.8.7 section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 00:22:31 +00:00
Vadim Zeitlin
67d3fc4926 added functions for setting the columns order in wxListCtrl (modified patch 1828074)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-10 00:55:14 +00:00
Vadim Zeitlin
ba1a59622e cleanup wxURLModule after wxSocketModule to avoid crash when destroying default proxy (patch 1828964)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 23:17:49 +00:00
Vadim Zeitlin
7921a093fa forward ported changes in 2.8.7 from WX_2_8_BRNACH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:28:43 +00:00
Vadim Zeitlin
0a7b022960 fixed bugs with moving/centering the file dialog (replaces patch 1825170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:02:47 +00:00
Vadim Zeitlin
676c8c1d39 implement wxGetCientDisplayRect() correctly for X11-based ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-06 22:27:15 +00:00
Vadim Zeitlin
59396417d3 added wxTextEntry::AutoCompleteFileNames() and implemented it for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 23:08:26 +00:00
Vadim Zeitlin
ecaed0bcda added wxTextEntry::AutoComplete() and implemented it for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 22:39:54 +00:00
Vadim Zeitlin
dff6cf576a implement wxLocale::GetInfo() using CFLocale (modified patch 1760939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 16:01:05 +00:00
Vadim Zeitlin
c114200348 added wxWindow::AlwaysShowScrollbars() and its wxMac implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:14:29 +00:00
Vadim Zeitlin
6aaee6afdc added wxMessageQueue class for inter-thread communications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 01:35:20 +00:00
Vadim Zeitlin
8866abbb17 add wxMouseEvent::GetClickCount() and implement it for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 22:31:18 +00:00
Vadim Zeitlin
1e6b2edfc8 remove ODBC and DBgrid libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:40:27 +00:00
Vadim Zeitlin
4488a1d332 added wxBG_STYLE_TRANSPARENT and implemented it for wxMac; documented various transparency-related functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 21:15:04 +00:00
Vadim Zeitlin
50c549b98d many wxIPC Unicode and UTF-8 fixes (use void* instead of wxChar* in the API and UTF-8 as wire format for wxStrings) (patch 1812926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:54:26 +00:00
Vadim Zeitlin
c0030ca789 load message catalogs using wxFileSystem; use wxMemoryBuffer instead of raw pointers (slightly modified patch 1810106)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:33:24 +00:00
Vadim Zeitlin
624f89c2d7 don't update the tree unnecessarily in Expand/CollapseAllChildren() (patch 1809520)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:55:50 +00:00
Julian Smart
c8058a09e5 Added wxVariantData::Clone and wxVariant::Unshare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 15:01:54 +00:00
Julian Smart
44cc96a80c Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
to wxRichTextBuffer to reduce wxFont consumption and increase performance.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 11:20:36 +00:00
Vadim Zeitlin
f73eddd2a5 made wxTreeCtrl::GetNextVisible() behave in the same way in Win32 as in the generic version and implemented GetPrevVisible() in the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 21:58:51 +00:00
Václav Slavík
21b2dde583 generate #line references to source .xrc files in wxrc --gettext (patch #1803492 by Heikki Linnakangas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:11:51 +00:00
Vadim Zeitlin
00a77b7c5d added wxWindow::GetPopupMenuSelectionFromUser() (modified patch 1793823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 23:42:31 +00:00
Vadim Zeitlin
1032aee2d4 predefine _WIN32_IE before including shellapi.h too to allow tooltips longer than 64 (up to 128) characters in wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 17:51:11 +00:00
Vadim Zeitlin
3ee6201fb8 added Portuguese translation from Antonio Cardoso Martins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 12:20:45 +00:00
Vadim Zeitlin
e86882e38d fix bug with deleting and recreating entries in wxFileConfig (patch 1796866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 00:41:55 +00:00
Vadim Zeitlin
985acf8734 reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:22:05 +00:00
Vadim Zeitlin
0cf3e587a2 added new and improved wxFileCtrl implementation (patch 1763164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:14:34 +00:00
Vadim Zeitlin
22b6de6a70 more fixes for using wxSocket in console applications (patch 1756260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 14:29:42 +00:00
Vadim Zeitlin
86909f4c89 added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch 1782080)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 10:50:01 +00:00
Vadim Zeitlin
f3b84896e0 mention that support for reading alpha from TIFF images was added (rev 47204)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 23:22:07 +00:00
Vadim Zeitlin
0d5ab92f84 reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:05:12 +00:00
Vadim Zeitlin
376b252c63 added attribution for wxSYS_DCLICK_TIME time change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 16:02:43 +00:00
Vadim Zeitlin
1c06345ab6 mention that NULL/"" changes also affect struct fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:04:26 +00:00
Vadim Zeitlin
9cf3d21870 added wxApp::Set/GetAppDisplayName() (patch 1780414)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 23:26:18 +00:00
Vadim Zeitlin
5595181f48 add wxSYS_DCLICK_TIME system metric constant; use it for the generic list control rename timer interval (patch 1782472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:57:12 +00:00
Vadim Zeitlin
5f77ee3b87 fixed off by 1 bug in wxDC::GradientFillLinear() (patch 1788549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:36:50 +00:00
Vadim Zeitlin
37ba70a520 added support for reading resolution information from TIFF, JPEG and BMP formats; corrected some bugs with saving resolution; added command allowing to see the image resolution (if available) to the sample (heavily modified patch 1790546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 18:32:36 +00:00
Vadim Zeitlin
4baf78001e better document some of the incompatibilities introduced by the Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:47:52 +00:00
Vadim Zeitlin
e6d4038a8b don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 21:47:45 +00:00
Vadim Zeitlin
a07bf2d003 fix translation of wx priority values to the standard Unix ones in SetPriority()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:52:38 +00:00
Vadim Zeitlin
85866f52b3 fix WX_GL_STEREO attribute handling: value for it was missing in the attribute list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:35:43 +00:00
Vadim Zeitlin
c7db82dced add XRC handler for wxSearchCtrl (extended patch 1751516)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:10:14 +00:00
Vadim Zeitlin
becac1ef57 added wxToolTip::SetAutoPop() and SetReshow() (patch 1768804)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:57:36 +00:00
Vadim Zeitlin
48271822ef use one shot timers in wxAnimationCtrl (patch 1774535)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:36:50 +00:00
Vadim Zeitlin
39f0cb547f added wxTaskBarIcon::Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:43:39 +00:00
Julian Smart
3cc305b2b4 Added periods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:04 +00:00
Vadim Zeitlin
de34bb081b make wxTmemchr() return (and take) char* instead of void* in ANSI build too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 21:33:42 +00:00
Vadim Zeitlin
01101e2da6 added support for 2 extra mouse buttons (patch 1757630)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:04:33 +00:00
Vadim Zeitlin
a7af285d1a added the mention of library in which each class is defined to the documentation (patch 1756715)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:21:03 +00:00
Vadim Zeitlin
a236aa2058 many wxItemContainer-related changes:
1. the main function for item insertion is now DoInsertItems() which allows
   for much more efficient addition of many new items at once
2. the items client data management is done entirely in wxItemContainer
   itself, the derived classes don't have to distinguish between void and
   object client data
3. many fixes for sorted controls, in particular implemented wxCB_SORT support
   in wxGTK combobox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 13:54:14 +00:00
Vadim Zeitlin
3e1512cdfe added support for user-defined types to wxConfig (patch 1753875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:47:22 +00:00
Václav Slavík
288b6107e1 renamed wxXmlProperty to wxXmlAttribute, plus implied method names changes (bug #1751761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:07:41 +00:00
Václav Slavík
6a4cbac17a removed broken and global GetLine() function from wx/protocol/protocol.h; there's already wxProtocol::ReadLine() that actually works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:30:36 +00:00
Vadim Zeitlin
c70557da08 set the string field of the wxEVT_COMMAND_CHECKLISTBOX_TOGGLED event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 14:16:14 +00:00
Vadim Zeitlin
46753a7ce5 fixed showing busy cursor for disabled windows and during wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 14:09:08 +00:00
Vadim Zeitlin
5814e8ba4e added support for binary data to wxConfig (slightly modified patch 1736788)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 00:11:03 +00:00
Vadim Zeitlin
bd63020652 added --optional-libs wx-config argument (patch 1747239)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 10:28:12 +00:00
Vadim Zeitlin
0a904ed2c8 generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 14:58:44 +00:00
Václav Slavík
d03dab2a64 documented removal of unsafe wxGets() and wxTmpnam() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-08 20:23:11 +00:00
Vadim Zeitlin
60edcf4535 added support for broadcasting to UDP sockets (patch 1740266)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 21:33:11 +00:00
Vadim Zeitlin
cde76cf2a9 added wxAtomicInc/Dec() functions (patch 1739486)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:54:14 +00:00
Paul Cornett
0200fb2788 fix XPM SaveFile for more than 92 colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 03:08:26 +00:00
Vadim Zeitlin
30519b021a mention wxLogInterposer(Temp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 01:55:56 +00:00
Vadim Zeitlin
ab29bb87b2 don't invalidate the font in SetNativeFontInfo[Desc]() to conform to the documented behaviour (patch 1743548)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 15:55:48 +00:00
Vadim Zeitlin
7b1bf3ad2d added wxLog::DisableTimestamp() to be used as a synonym for SetTimestamp(wxEmptyString)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 12:09:55 +00:00
Vadim Zeitlin
1c871fe2a4 don't always add wxCAPTION to wxMiniFrame style unconditionally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:10:04 +00:00
Vadim Zeitlin
d6a41cc7d5 single line wxTextCtrl fg colour fix is now in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 21:29:07 +00:00
Václav Slavík
d38f70b249 use wxString in wxRegKey methods; make it compile without implicit wxString->char* conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 07:09:14 +00:00
Vadim Zeitlin
ba0f12ef24 mention changes from 2.8 branch too, at the very least keeping the 2 versions of this file on 2 branches in sync facilitates backporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:16:17 +00:00
Vadim Zeitlin
eb86e7755e don't free "static" alpha data (patch 1738966)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:10:35 +00:00
Vadim Zeitlin
d476275306 correct setting of pSymbol->SizeOfStruct (patch 1737789)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 00:51:36 +00:00
Vadim Zeitlin
724b119a15 replace wxDocument::GetPrintableName(wxString&) and wxDocManager::MakeDefaultName(wxString&) with GetUserReadableName() and MakeNewDocumentName() which return wxStrings directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:49:56 +00:00
Václav Slavík
5bce3e6feb use wxString argument and not wxChar* in wxHtmlParser::AddText(), for compatibility with STL build without implicit wxString conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 12:11:15 +00:00
Václav Slavík
52de37c78f 1. made CRT wrappers definitions indepenent of wxUSE_UNICODE: both ANSI and Unicode variants are now defined
2. split wxcrt.h into wxcrtbase.h with lowlevel compiler-specific definitions and wxcrt.h with ANSI- and Unicode-compatible wx wrappers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:14:14 +00:00