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