Commit Graph

24507 Commits

Author SHA1 Message Date
Paul Cornett
cabb286d30 move 8 copies of the same function to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 05:23:53 +00:00
Stefan Csomor
ecac22d09a forward port of fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 04:14:40 +00:00
Stefan Csomor
de536319f1 removing old files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 04:13:35 +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
266fe3655f removing outdated files on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:59:48 +00:00
Stefan Csomor
59e41dc7ad removing outdated files on mac, adding new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:40:11 +00:00
Stefan Csomor
80f243ee79 removing outdated files on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 17:44:07 +00:00
Stefan Csomor
82e3913d76 removing outdated files on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 17:42:34 +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
c1bc8d9f92 don't use deprecate SetClippingRegion(wxRegion)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 15:52:04 +00:00
Robert Roebling
09958a80f7 blind fix for: #9549: crash in wxDataViewMainWindow::GetEndOfLastCol() after column reordering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:49:39 +00:00
Stefan Csomor
78617c75df adding correct include explicitely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:38:47 +00:00
Stefan Csomor
eabd20520e clipping to empty if not visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:37:59 +00:00
Stefan Csomor
2f29e8dfe7 only available on carbon or cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:36:53 +00:00
Stefan Csomor
35c9a66079 removing unneeded code for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 16:56:17 +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
05b4b8ee88 more compilation fixes for VC6 (#9492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:06:32 +00:00
Vadim Zeitlin
6c2cd2a211 compilation fix for PCH-less compilation after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:32:12 +00:00
Vadim Zeitlin
76c66f1953 don't refresh the current cell in SetCellHighlightROPenWidth() if it's invalid (#9523)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:09:03 +00:00
Vadim Zeitlin
eddc468e25 ensure that dialog gripper is always positioned below the other children, even if they're created after it (#9519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:04:16 +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
204fd7058e change another long type to wxBitmapType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 00:53:10 +00:00
Vadim Zeitlin
971d51227f specify the name of the control (#9515)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 00:04:53 +00:00
Vadim Zeitlin
c171812215 use report mode for the wxListbook list control if there are no images (#9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:50:21 +00:00
Vadim Zeitlin
e913be3465 fixed another pointer-to-int-of-lesser-size conversion warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:40:00 +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
9543d01ca1 don't leave current item index invalid after SetItemCount() (ticket #3720)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 22:55:23 +00:00
Vadim Zeitlin
1dbdf191dc remove another unnecessary memcpy() of string contents to wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:24:35 +00:00
Vadim Zeitlin
dac131af1d remove unnecessary memcpy() of string contents to wxStringBufferLength
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:20:22 +00:00
Julian Smart
7ab9d2358b Fixed reading of image type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 15:21:54 +00:00
Václav Slavík
82a4610423 PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 15:05:52 +00:00
Václav Slavík
37146d3352 added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 09:38:37 +00:00
Václav Slavík
7258d99573 Changed wxHTML default font size for printing to be 12pt regardless
of the platform; this font shouldn't depend on toolkit's default
GUI font (introduced in 2.8, now reverting to pre-2.8 correct
behaviour).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 22:34:09 +00:00
Václav Slavík
84e455807e wxDFB: implemented Raise() and Lower() for TLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 21:50:06 +00:00
Julian Smart
9c8e10ad37 Out by one correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 06:14:59 +00:00
Robert Roebling
89edb75e59 Remove old GTK 1.2 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 19:49:06 +00:00
Benjamin Williams
a25484eb13 prevent memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 16:52:59 +00:00
Vadim Zeitlin
345d60d357 fix crash when repositioning tools without labels in DoDeleteTool() (ticket #9530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 12:45:43 +00:00
Robert Roebling
92159e3d76 Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 21:46:29 +00:00
Robin Dunn
f60ca3e24c Add a SetDoubleBuffered method for wxMSW (XP+)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:30:13 +00:00
Robert Roebling
ae8eee38f4 Disable disabling wxWeakRef<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:07:06 +00:00
Vadim Zeitlin
3fb1e0594a use wxHAS_RAW_BITMAP instead of wxHAVE_RAW_BITMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:19:43 +00:00
Paul Cornett
ddb57e4557 fix tool referencing, remove dropdown element in DoDeleteTool, ticket #4102
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:02:49 +00:00
Vadim Zeitlin
cf9f673789 fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:37:26 +00:00
Vadim Zeitlin
77fa3d8243 add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:01:59 +00:00
Vadim Zeitlin
a964d3edf5 corrected bug in wxMBConvStrictUTF8::FromWChar(): it wrote one extra NUL when used with explicit source length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:11:32 +00:00
Vadim Zeitlin
ca8cf4fffb added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:09:25 +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