Robert Roebling
223255fd44
Add missing SWAP macros for 64-bit signed int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:22:45 +00:00
Robert Roebling
177e38e645
Don't let MSW's wxSpinCtrl emit spin up and down events as in the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:17:33 +00:00
Vadim Zeitlin
bc735a68b1
declare future-deprecated SetStyle(int) in wxPen/Brush and not wxPen/BrushBase as it's useless there (compilation of user code doing pen.SetStyle(wxDOT) still fails)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-17 17:28:26 +00:00
Robert Roebling
03966fcb3f
#9591 : Item state (icons) for wxTreeCtrl on any platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 17:50:40 +00:00
Robert Roebling
3f16e52c13
Ticket #9592 : gtk-choice-setcolumns.2.diff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 13:32:43 +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
Václav Slavík
88b987876d
fixed printing preview to not report errors in infinite loop (bug introduced by r54133)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 07:43:59 +00:00
Vadim Zeitlin
fafb2b0531
overload Write() for char and unsigned char too, otherwise code writing them fails due to lack of exact match and absence of overloaded wxToString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 23:38:11 +00:00
Vadim Zeitlin
02e22828eb
added a unit test for input/output file streams and fixed the problem it exposed ( #3335 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 17:34:50 +00:00
Vadim Zeitlin
fafd43c578
another 64 bit fix: make SendMsg() return wxIntPtr instead of long too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:17:35 +00:00
Vadim Zeitlin
47bec43d70
correct wxIntPtr definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:16:59 +00:00
Vadim Zeitlin
b796ba3931
fixed STC under Win64: as wxStyledTextCtrl::SendMsg() used (32 bit) long arguments, passing (64 bit) pointers to it almost certainly didn't work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 13:56:59 +00:00
Vadim Zeitlin
609577038a
ignore mouse wheel events which are coming too fast to be processed ( #9057 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:31:31 +00:00
Vadim Zeitlin
9357892714
derive wxSTC from wxTextEntryBase to provide even more wxTextCtrl-like methods (see #9114 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 01:16:52 +00:00
Vadim Zeitlin
2bfca191bf
derive wxSTC from wxTextAreaBase to provide wxTextCtrl-like methods (see #9114 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 00:59:38 +00:00
Vadim Zeitlin
a5c2ccf2e7
state clearly that the entire contents of generated files is generated; put special {{{ and }}} markers around the generated sections (these are special and extra-convenient for ViM but can probably be used to at least go to the end/beginning/other extremeity of the generated block from any other decent editor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:33:03 +00:00
Vadim Zeitlin
06b2f04bb7
remove extra ')' in EVT_STC_CALLTIP_CLICK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:09:51 +00:00
Vadim Zeitlin
8e0945dae5
translate Scintilla getters to const methods of wxStyledTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 15:59:07 +00:00
Vadim Zeitlin
82bf63a08c
recreate the window if FSAA is requested (changeset_r54022_Fix.patch from #9145 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 01:44:13 +00:00
Vadim Zeitlin
f6a46bb028
exclude pieces of wx hash map implementation which were wrongly included when std::unordered_map was used in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 23:28:25 +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
0042c76f29
fix some wrong declarations which upset mingw32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:12:55 +00:00
Robert Roebling
c2193ac911
#4479 : wx.ComboBox needs a SetFont method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 12:16:42 +00:00
Václav Slavík
b88bf07395
render pages in print preview at idle time, not from OnPaint, to make the UI appear more responsive when preview takes long time to create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 20:56:41 +00:00
Stefan Csomor
ef0e92205a
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:17:41 +00:00
Paul Cornett
e2147e6d3c
simplify menu item callbacks by passing in wxMenuItem instead of wxMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 17:07:07 +00:00
Stefan Csomor
29ed833473
renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:44:18 +00:00
Stefan Csomor
5c6eb3a84b
renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:30:48 +00:00
Stefan Csomor
63b5e786d4
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:09:45 +00:00
Stefan Csomor
72bad861e6
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:09:14 +00:00
Stefan Csomor
514fddd591
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:08:31 +00:00
Stefan Csomor
31f9fc24d6
committing changes before renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:06:28 +00:00
Stefan Csomor
f4dda581a4
common private decls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:05:58 +00:00
Stefan Csomor
16bf319040
common private decls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:05:46 +00:00
Stefan Csomor
ea27623912
removing double includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 15:54:15 +00:00
Stefan Csomor
712d087f0c
switching to OSX naming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 15:53:10 +00:00
Vadim Zeitlin
d1a64f69cb
use more general pointer-to-member representation for wxEvtHandler methods to make it possible to use as event handlers methods of classes multiply inheriting from it and some other class ( #9556 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 14:22:21 +00:00
Vadim Zeitlin
c245a01202
use native calendar control in wxDatePickerCtrl if available ( #9548 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 11:45:57 +00:00
Stefan Csomor
fc32630a5e
removing outdated files for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 06:56:47 +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
Stefan Csomor
f28da83a6f
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:56:13 +00:00
Stefan Csomor
2c5fd1aed9
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:54:46 +00:00
Stefan Csomor
6c960f2e81
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:47:38 +00:00
Stefan Csomor
5bd471fc07
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:47:20 +00:00
Paul Cornett
1deef99727
wxMenuItem code cleanup, removing duplicate and unneccessary code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 03:54:43 +00:00
Vadim Zeitlin
425eee4164
correct some compatibility problems with the existing Unicode-mode code ( #9513 ), more remains to be done ( #9560 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 22:50:55 +00:00
Stefan Csomor
78b8320770
RGBColor on QD only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:51:48 +00:00
Stefan Csomor
469c3bcb71
setup font defines for iphone correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:50:56 +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