Commit Graph

44423 Commits

Author SHA1 Message Date
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
abbcf16d06 set a global flag on shut down instead calling Delete() on all threads sequentially which could take an eternity if there were many of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 16:54:29 +00:00
Vadim Zeitlin
3a105cbc3c do what we advise, not what we say is unsupported: don't log directly from worker threads to wxTextCtrl but do it from the idle handler of the main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 16:39:08 +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
a96bab36bf present information about key presses better; some code simplification (#9541)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:24:49 +00:00
Vadim Zeitlin
39329d2edd use memcpy() instead of wxTmemcpy() as the latter is defined in wx/wxcrt.h which includes wx/string.h and hence can't be used from here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:12: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
Stefan Neis
faba238f8e Compilation fix for GTK1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 14:26:49 +00:00
Stefan Neis
2d405472c4 Use spaces in configuration names, so they need less space in the table.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 14:07:18 +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
d53b09d870 don't show the normal context menu while editing an item (#9543)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:30:25 +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
d7006f4409 correct phrase broken by the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 01:24:56 +00:00
Vadim Zeitlin
30a56ea8cb call wxSizerFlags::Top/Bottom() or Left/Right() shouldn't change horizontal or vertical alignment (#9534)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 01:22:34 +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
e5795ba9d5 replace another SF link with wxTrac one (#9501)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 00:01:39 +00:00
Vadim Zeitlin
cd8c774660 replace SF links with wxTrac ones (#9500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:58:11 +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
Vadim Zeitlin
062dc5fc22 initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845); add wxString::tchar_buf() to help with the implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:19:23 +00:00
Vadim Zeitlin
1bc8210593 compilation fix for VC6 (and maybe not only): enums defined in containing class are not accessible from the nested classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:06:16 +00:00
Vadim Zeitlin
3d68e52c8f compilation fixes for ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 20:56:16 +00:00
Vadim Zeitlin
44c6d979a8 removed the test which never works: Lower/Upper() don't work with Unicode strings currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 20:55:39 +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
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
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
Vadim Zeitlin
7f5b84c22f compilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed here and was only included indirectly via wx/filesys.h) (ticket #9537)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 13:47:32 +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
Vadim Zeitlin
79478afacd compilation fix for wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 18:46:15 +00:00
Václav Slavík
66b5a37503 glcmn.cpp doesn't belong in OPENGL_SRC_PLATFORM (it is incorrect syntax that was previously silently ignored)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 14:19:18 +00:00
Stefan Neis
b152ff67a7 More compilation fixes for mingw-w64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 10:53:02 +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
c094d747a8 removed deleted wx/gtk/treectrl.h from bakefiles as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 16:14:03 +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
Vadim Zeitlin
c71396b42d suppress warning about casting int to a pointer of greater size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:45:50 +00:00
Robert Roebling
3b3026ca0b Make wxMenuItem::GetLabelText readable again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:45:41 +00:00
Vadim Zeitlin
42124e683d define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:42:23 +00:00