Vadim Zeitlin
069a4f3c95
include aui and richtext directories
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 12:13:54 +00:00
Vadim Zeitlin
5acec11245
added a generic mechanism for registering global handlers for custom windows messages and use it in wxFindReplaceDialog instead of subclassing the parent window, this solves the problem with having 2 find dialogs with the same parent (replaces patch 1447739)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 12:07:00 +00:00
Václav Slavík
9cea4218b1
wint_t is wchar_t on OS/2 too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 08:04:32 +00:00
Václav Slavík
745817ffbc
(OS/2) compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 07:52:14 +00:00
Robert Roebling
6552c7af6c
Don't create GtkScrolledWindow if neither wxHSCROLL
...
or wxVSCROLL are defined. This prevents wasting
some resources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 22:03:01 +00:00
Chris Elliott
39e00125e5
remove dead pro files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 18:36:35 +00:00
Chris Elliott
42f03e67d1
remove dead pro files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 18:23:35 +00:00
Vadim Zeitlin
cf5d50573f
set string field of wxCommandEvent object generated by spin control when its text changes (part of patch 1312699)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 15:16:35 +00:00
Vadim Zeitlin
6ceb105f1e
added test for EVT_TEXT handler for spin contorl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 15:11:02 +00:00
Vadim Zeitlin
295ebfd081
don't return wxFONTENCODING_DEFAULT from wxFont::GetEncoding(), this results in asserts when its return value is used with wxCSConv (and besides this should never happen anyhow, wxFONTENCODING_DEFAULT makes sense on input only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 15:10:20 +00:00
Vadim Zeitlin
a95a6eb4aa
added gtk.tlw.can-set-transparency system option (replaces patch 1527017)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 14:51:10 +00:00
Vadim Zeitlin
7b377ed9b6
don't remove the old tags of different kinds when setting new style, this removes the need for combining any style being set with the default one (based on patch 1518118)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 14:38:38 +00:00
Paul Cornett
ae4c09a83b
don't clamp scroll position before updating GtkRange,
...
it causes HandleOnScroll to incorrectly do nothing when position is > 0 and
window is resized large enough to no longer need scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 07:08:06 +00:00
Vadim Zeitlin
9005f2edfd
1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
...
2. Added IsUsingPrimarySelection()
3. Fail all clipboard operations when IsUsingPrimarySelection() is true on
non-X11 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 02:57:55 +00:00
Vadim Zeitlin
531030e2d2
added a menu command to switch between clipboard and primary selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 01:59:51 +00:00
Vadim Zeitlin
eddb964405
decouple primary selection handling from clipboard and further simplifications/refactoring in clipboard code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 01:58:05 +00:00
Vadim Zeitlin
06f5d9758f
simplified the code by using new wxClipboardSync class abstracting wait for clipboard results and wxScopeGuard to ensure that the 'waiting' flag is reset in every case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 00:05:19 +00:00
Václav Slavík
834f138686
fixed wxDB compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 21:31:20 +00:00
Vadim Zeitlin
9f6986b3e2
reverted part of patch 1610494 (rev 1.35) which broke handling of ends of lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:54:46 +00:00
Václav Slavík
665e6a8753
added missing public keyword to wxWritableCharTypeBuffer declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:30:34 +00:00
Vadim Zeitlin
a50cf60efe
don't use deprecated wxSizerItem::SetWindow/Sizer/Spacer(), use AssignXXX() equivalents instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:16:11 +00:00
Václav Slavík
ef0f138756
added char_str() and wchar_str() methods to wxString for obtaining char*/wchar_t* pointers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:09:02 +00:00
Vadim Zeitlin
6af350d428
clear m_oldStatusText after restoring it, otherwise we could restore it again the next time instead of restoring the up-to-date status bar text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:06:52 +00:00
Vadim Zeitlin
4dd10327d2
added wxSizerItem::AssignXXX() methods replacing the old SetXXX() but freeing the current item contents (modified patch 1687785)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:57:23 +00:00
Vadim Zeitlin
f4854380c1
don't handle orderly socket shutdown by the peer as an error (patch 1688222)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:02:30 +00:00
Vadim Zeitlin
854386fd92
fixed broken link and use \backslash instead of literal backslash which has special meaning in TeX in wxJoin() documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:56:39 +00:00
Vadim Zeitlin
d6b7a9285c
added more wxART_XXX ids (patch 1687751)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:53:45 +00:00
Vadim Zeitlin
60f8c22b25
added more wxART_XXX ids (patch 1687750)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:50:31 +00:00
Vadim Zeitlin
a6e13ce4f3
added <set-wxlike> tag (patch 1691429)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:48:22 +00:00
Vadim Zeitlin
80dc1dd378
compilation fix for Win64 (patch 1690999)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:34:07 +00:00
Vadim Zeitlin
760fdb6755
added check for index validity to OnTabButton()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:49:42 +00:00
Vadim Zeitlin
849c353a39
added SetSelectionToPage/Window() to simplify code and fix more problems with passing possibly negative indices to SetSelection()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:48:43 +00:00
Vadim Zeitlin
7546ba03f3
don't pass potentially negative index to SetSelection()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:37:31 +00:00
Vadim Zeitlin
8fee630648
added IO errors handling to TGA reading code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:33:12 +00:00
Vadim Zeitlin
853c39d78b
fix error handling in the generic branch of wxCopyFile()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:27:52 +00:00
Vadim Zeitlin
56ba039411
fixed memory leaks when reading invalid GIFs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:22:15 +00:00
Vadim Zeitlin
dda522bf4f
fix memory leak in wxFileTypeImpl::SetCommand() if creating the association fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:13:12 +00:00
Vadim Zeitlin
2f769cb93b
fix memory leak in wxFileTypeImpl::SetDefaultIcon() if creating the association fails
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:10:30 +00:00
Vadim Zeitlin
82c91ef51f
don't dereference potentially NULL m_sock in Disconnect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:08:25 +00:00
Vadim Zeitlin
ecb7235d76
don't use m_stylePopup inside GetRichTextCtrl() before testing whether it's NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 16:05:25 +00:00
Vadim Zeitlin
af4bfc044f
check that we don't use a NULL pointer in XCopyRemote()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:59:11 +00:00
Vadim Zeitlin
fe03e62800
added wxCHECK to ensure that we don't dereference a NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:57:43 +00:00
Vadim Zeitlin
bb5521a9f3
no real changes, just fixed confusing (to both people and coverity) mix of testing for m_parent and GetParent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:53:09 +00:00
Vadim Zeitlin
641ed513f8
check for alpha first, then mask, in BlurHorizontal/Vertical(): not only this makes more sense but it also prevents crashing for images which have both (see coverity CID 172)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:49:08 +00:00
Vadim Zeitlin
16fc7c4524
no real changes, just attempt to work around false coverity report 130
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:46:32 +00:00
Vadim Zeitlin
cbaa866f0a
use wxCHECK instead of wxASSERT to avoid use of NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:39:49 +00:00
Vadim Zeitlin
cd5dea50f8
don't use potentially NULL m_styleListBox (coverity CID 190)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:35:44 +00:00
Vadim Zeitlin
54a8a78e3b
OnTabEndDrag() didn't handle NULL src_tabs case correctly but it seems that this is not supposed to actually happen, so assert that it doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:32:45 +00:00
Vadim Zeitlin
e19a8aea87
removed virtual GetSelectedBitmap() from the base wxDC class, it only makes sense for wxMemoryDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 15:27:08 +00:00
Vadim Zeitlin
ba5787676d
test whether pointer is non-NULL before using it, not after, in wxAnimation::Load() (thanks coverity)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 13:43:31 +00:00